-
Notifications
You must be signed in to change notification settings - Fork 954
Incompatible with PHP 8.1 release - Table yoast_wp_seo_models_indexable doesn't exist #17772
Description
- I've read and understood the contribution guidelines.
- I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
Wordpress site will not open after upgrade from PHP 8.0 to 8.1. Have to disable Yoast SEO plugin to get around.
Error log below...
2021/12/04 20:33:59 [error] 60#60: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Table 'wp_tablename.yoast_wp_seo_models_indexable' doesn't exist in /app/wp-includes/wp-db.php:2056
Stack trace:
#0 /app/wp-includes/wp-db.php(2056): mysqli_query()
#1 /app/wp-includes/wp-db.php(1945): wpdb->_do_query()
#2 /app/wp-content/plugins/wordpress-seo/lib/orm.php(286): wpdb->query()
#3 /app/wp-content/plugins/wordpress-seo/lib/orm.php(1953): Yoast\WP\Lib\ORM::execute()
#4 /app/wp-content/plugins/wordpress-seo/lib/orm.php(384): Yoast\WP\Lib\ORM->run()
#5 /app/wp-content/plugins/wordpress-seo/src/repositories/indexable-repository.php(335): Yoast\WP\Lib\ORM->find_one()
#6 /app/wp-content/plugins/wordpress-seo/src/repositories/indexable-repository.php(117): Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type()
#7 /app/wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php(96): Yoast\WP\SEO\Repositories\Indexable_Repository->f" while reading response header from upstream, client: 111.111.111.111, server: hostname.com, request: "GET /wpsite/ HTTP/1.1", upstream: "fastcgi://111.111.111.111:1234", host: "hostname.com"
Technical info
- If relevant, which editor is affected (or editors):
- Classic Editor
- Gutenberg
- Classic Editor plugin
- Which browser is affected (or browsers):
- Chrome
- Firefox
- Safari
- Other
Used versions
- WordPress version: 5.8.2
- Yoast SEO version: 17.7.1
- Gutenberg plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
- Tested with theme: