[wp-trac] [WordPress Trac] #60753: Fatal error: Uncaught Error: Class "wpdb" not found in load.php
WordPress Trac
noreply at wordpress.org
Thu Jun 20 02:54:12 UTC 2024
#60753: Fatal error: Uncaught Error: Class "wpdb" not found in load.php
-----------------------------+------------------------------
Reporter: danlelbachhuber | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by hamza051):
Hello,
After updating the PHP version on my WordPress site, I encountered a fatal
error that prevents me from accessing the admin login page. The error
message is as follows:
{{{
Fatal error: Uncaught Error: Class "wpdb" not found in
/home/mhd-01/www.xxxxxxxx.it/htdocs/wp-includes/load.php:428
Stack trace:
#0 /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-settings.php(120):
require_wp_db()
#1 /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-config.php(98):
require_once('...')
#2 /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-load.php(37):
require_once('...')
#3 /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-admin/admin.php(34):
require_once('...')
#4 /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-admin/index.php(10):
require_once('...')
#5 {main} thrown in /home/mhd-01/www.xxxxxxxx.it/htdocs/wp-
includes/load.php on line 428
}}}
I have tried the following steps to resolve the issue, but none have
worked so far:
1. Reverting back to the previous PHP version.
2. Deactivating all plugins by renaming the plugins folder.
3. Replacing the `wp-includes` and `wp-admin` folders with fresh copies
from the latest WordPress download.
Is there anyone who has experienced a similar issue or knows how to
resolve this? Any help would be greatly appreciated. Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60753#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list