Error message: Uncaught Error: Undefined constant ‘DB_CHARSET’ in
-
After upgrading to V14, I started getting this error
Fatal error: Uncaught Error: Undefined constant ‘DB_CHARSET’ in /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php:110 Stack trace: #0 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php(52): Yoast\WP\SEO\Initializers\Database_Setup->get_connection_string() #1 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/loader.php(145): Yoast\WP\SEO\Initializers\Database_Setup->initialize() #2 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/loader.php(111): Yoast\WP\SEO\Loader->load_initializers() #3 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/main.php(81): Yoast\WP\SEO\Loader->load() #4 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/functions.php(26): Yoast\WP\SEO\Main->load() #5 /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/wp-seo-main.php(346): YoastSEO in /chroot/home/theprav/abcde.com/html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php on line 110
I was able to login via recovery and disable the plugin.
FYI, on 2 sites where I upgraded. One was successful.
- The topic ‘Error message: Uncaught Error: Undefined constant ‘DB_CHARSET’ in’ is closed to new replies.