Closed khoanguyen0000 closed 4 years ago
@khoanguyen0000 What PHP version are you running and do you have the PDO module installed?
@khoanguyen0000 What PHP version are you running and do you have the PDO module installed?
PHP version: 7.4.5 No, my website doesn't turn on the PDO module.
I turn on the PDO and my website works again. Thank for the help. ☺
@khoanguyen0000 thanks! Could you share who is your webhost so we could reach out to them for others who encounter this problem?
I just ran into this issue as well. Fixed after enabling php74-pdo. It would be great to advise about this in the release notes.
Please give us a description of what happened.
After I activate Yoast, it crashes my site immediately.
Technical info
This is what Wordpress mailed to me
An error of type E_ERROR was caused in line 301 of the file /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php. Error message: Uncaught Error: Class 'PDO' not found in /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php:301 Stack trace:
0 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php(229): YoastSEO_Vendor\ORM::_setup_db_config('default')
1 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php(52): YoastSEO_Vendor\ORM::configure('mysql:host=loca...')
2 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/src/loader.php(145): Yoast\WP\SEO\Initializers\Database_Setup->initialize()
3 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/src/loader.php(111): Yoast\WP\SEO\Loader->load_initializers()
4 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/src/main.php(81): Yoast\WP\SEO\Loader->load()
5 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/src/functions.php(26): Yoast\WP\SEO\Main->load()
6 /home/khoatnco/public_html/wp-content/plugins/wordpress-seo/wp-
Used versions