[wp-trac] [WordPress Trac] #60766: i have faching this error how can i fix this

WordPress Trac noreply at wordpress.org
Wed Mar 13 16:08:17 UTC 2024


#60766: i have faching this error how can i fix this
-------------------------------+------------------------------
 Reporter:  rajgt1             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.4.3
 Severity:  major              |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => close 2nd-opinion


Old description:

> Warning: require(C:\xampp\htdocs\Nieuprawny/wp-
> includes/sodium_compat/autoload.php): Failed to open stream: No such file
> or directory in C:\xampp\htdocs\Nieuprawny\wp-includes\compat.php on line
> 338
>
> Fatal error: Uncaught Error: Failed opening required
> 'C:\xampp\htdocs\Nieuprawny/wp-includes/sodium_compat/autoload.php'
> (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Nieuprawny\wp-
> includes\compat.php:338 Stack trace: #0 C:\xampp\htdocs\Nieuprawny\wp-
> settings.php(34): require() #1 C:\xampp\htdocs\Nieuprawny\wp-
> config.php(96): require_once('C:\\xampp\\htdocs...') #2
> C:\xampp\htdocs\Nieuprawny\wp-load.php(50):
> require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\Nieuprawny\wp-
> blog-header.php(13): require_once('C:\\xampp\\htdocs...') #4
> C:\xampp\htdocs\Nieuprawny\index.php(17): require('C:\\xampp\\htdocs...')
> #5 {main} thrown in C:\xampp\htdocs\Nieuprawny\wp-includes\compat.php on
> line 338

New description:

 `Warning: require(C:\xampp\htdocs\Nieuprawny/wp-
 includes/sodium_compat/autoload.php): Failed to open stream: No such file
 or directory in C:\xampp\htdocs\Nieuprawny\wp-includes\compat.php on line
 338`

 `Fatal error: Uncaught Error: Failed opening required
 'C:\xampp\htdocs\Nieuprawny/wp-includes/sodium_compat/autoload.php'
 (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Nieuprawny\wp-
 includes\compat.php:338 Stack trace: #0 C:\xampp\htdocs\Nieuprawny\wp-
 settings.php(34): require() #1 C:\xampp\htdocs\Nieuprawny\wp-
 config.php(96): require_once('C:\\xampp\\htdocs...') #2
 C:\xampp\htdocs\Nieuprawny\wp-load.php(50):
 require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\Nieuprawny\wp-
 blog-header.php(13): require_once('C:\\xampp\\htdocs...') #4
 C:\xampp\htdocs\Nieuprawny\index.php(17): require('C:\\xampp\\htdocs...')
 #5 {main} thrown in C:\xampp\htdocs\Nieuprawny\wp-includes\compat.php on
 line 338`

--

Comment:

 Hi and welcome to WordPress Core Trac!

 This probably belongs in the support forums, and the Localhost Installs
 forum already has a topic about the error.
 https://wordpress.org/support/topic/wordpress-fatal-error-uncaught-error-
 failed-opening-required-failed-to-open/

 The topic recommends upgrading PHP to get the native `sodium_crypto_box()`
 function. Another topic recommended [https://wordpress.org/support/topic
 /fatal-error-uncaught-error-failed-opening-required/#post-16634239 trying
 a manual update] to correct a different 'No such file' error, and that
 could be good to make sure you have all the files.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60766#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list