• chaaampy

    (@chaaampy)


    Hi,

    Since a couple of days, I have this 500 error code on my website :

    Deprecated: File wp-db.php is deprecated since version 6.1.0! Use wp-includes/class-wpdb.php instead. in /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/functions.php on line 5595
    
    Warning: require_once(/srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/blocks/comments.php): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16
    
    Fatal error: require_once(): Failed opening required '/srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/blocks/comments.php' (include_path='.:/usr/share/php:/srv/data/web/includes') in /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16
    
    Fatal error: Uncaught Error: Call to a member function set() on null in /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/l10n.php:784 Stack trace: #0 /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/l10n.php(872): load_textdomain() #1 /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /srv/data/web/vhosts/www.mywebsite.com/htdocs/wp-includes/l10n.php on line 784

    I tried deactivating all the plugins but it didnt worked.
    The version.php file is telling me that my WP is a 6.0.3, but I downloaded a 6.0.3 package and a 6.1 one, and it appears that the files mentionned in the error message (comments.php) are not in the 6.0.3, while they are on the 6.1

    Can anyone provide some help ?

    Cheers,

    • This topic was modified 2 years ago by chaaampy.
Viewing 4 replies - 1 through 4 (of 4 total)
  • jphase

    (@jphase)

    Hi @chaaampy,

    Can you please try deactivating your current theme and switching to the default Twenty Twenty-Two theme and see if the problem is resolved?

    There were a few major security vulnerabilities discovered in 6.0.3 and patches were made in future releases that involved some changes to the directory structure and naming convention of the files referenced in your error.

    I’m assuming your theme is trying to require, include, or reference these files explicitly rather than using the utility functions they provide.

    Thread Starter chaaampy

    (@chaaampy)

    Hi @jphase and thanks for you answer.

    I just deactiated it and the issue is still there unfortunately.

    Thread Starter chaaampy

    (@chaaampy)

    Hi @jphase

    Any updates on this issue ?

    Cheers,

    jphase

    (@jphase)

    Just to confirm, you have deactivated all plugins and you are on a default (and updated) twenty* theme?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error on fronted and /wp-admin’ is closed to new replies.