Yoast SEO conflict
-
My web host tells me that he believes there is a conflict between WP Optimize and Yoast SEO. He told me that the following code was modified and caused Yoast to fail:
[28-Apr-2020 07:35:14 UTC] PHP Fatal error: Uncaught Error: Undefined constant 'DB_CHARSET' in /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php:110 Stack trace: #0 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php(52): Yoast\WP\SEO\Initializers\Database_Setup->get_connection_string() #1 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/loader.php(145): Yoast\WP\SEO\Initializers\Database_Setup->initialize() #2 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/loader.php(111): Yoast\WP\SEO\Loader->load_initializers() #3 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/main.php(81): Yoast\WP\SEO\Loader->load() #4 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/functions.php(26): Yoast\WP\SEO\Main->load() #5 /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(346): Y in /var/www/richardsilverstein.com/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php on line 110 I checked your wp-config.php, did you edit it or plugin changed it? these two lines were commented, I uncommented, I put yoast seo plugin back, can you activate it and check again? define('DB_CHARSET', 'utf8'); define('DB_COLLATE', 'utf8_unicode_ci');
That rendered my entire installation inaccessible to me. I had to use recovery mode to deactivate Yoast.
But after I did this I found that the character sets were corrupted and we had to revert the installation. Now I have both plugins active and there are currently no problems. But I am leery of continuing to use WP-Optimize if it might cause a similar future conflict.
Can you review this and tell me if you can figure out what might have happened?
The page I need help with: [log in to see the link]
- The topic ‘Yoast SEO conflict’ is closed to new replies.