PHP 8.1 Problems
-
I have tested updating a website to PHP 8.1 and the only plugin that breaks is Yoast.
It works fine as it is on php 8 and I have tried updating all plugins and the WP.
The WP admin works but the front end breaks.
There is a php fatal error code in the title tag… (commented out site name)
Fatal error: Uncaught mysqli_sql_exception: Table ‘[db-name-here].yoast_wp_seo_models_indexable’ doesn’t exist in /home/vagrant/sites/[site-name-here]/wp-includes/wp-db.php on line <i>2056</i>
I’ve tried installing the Yoast test Helper plugin and running the “Reset Indexables tables & migrations” command but this ends up with a few fatal errors…
Fatal error: Uncaught mysqli_sql_exception: Table ‘[site-name-here].wp_yoast_prominent_words’ doesn’t exist in /home/vagrant/sites/[site-name-here]/wp-includes/wp-db.php on line 2056
( ! ) mysqli_sql_exception: Table ‘aatcentraltheme.wp_yoast_prominent_words’ doesn’t exist in /home/vagrant/sites/[site-name-here]/wp-includes/wp-db.php on line 2056I’m running the sites locally on Laravel Homestead latest version.
Any help/ideas would be great thanks!
- The topic ‘PHP 8.1 Problems’ is closed to new replies.