Title: PHP 8.1 Problems
Last modified: November 29, 2021

---

# PHP 8.1 Problems

 *  Resolved [jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * (@jimleeder123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/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 2056
 * I’m running the sites locally on Laravel Homestead latest version.
 * Any help/ideas would be great thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * (@jimleeder123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15114303)
 * I have tried installing a blank version of WordPress on my local machine as it
   is on the WordPress website. It failed to do anything with the database during
   the installation process on php 8.1 but worked on php 8.0.
 * So once installed I switched it back to 8.1 and it works fine. Then I try installing
   Yoast from the plugin menu and the same fatal error as described earlier appears.
 * Any help would be great, thanks.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15116038)
 * Hi [@jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * We understand there are some errors related to the Yoast SEO plugin appearing
   on your website that is using PHP 8.1.
 * We do know that the Yoast SEO plugin should work with a minimum version of PHP
   5.6.20 and we do recommend PHP 7.3 or greater – [https://yoast.com/help/plugin-requirements/#php](https://yoast.com/help/plugin-requirements/#php)
 * It looks like [PHP 8.1](https://www.php.net/releases/8.1/en.php) also just recently
   released last November 25, 2021. We’re not sure of the compatibility of PHP 8.1
   and WordPress (in general) and the major plugins and themes as of yet.
 * With regards to this error you are encountering with PHP 8.1, (but working fine
   with PHP 8.0), if this occurs with a site with a default WP theme (such as TwentyTwenty)
   and only Yoast SEO v17.6 as the plugin activated, we invite you to please log
   a bug report on GitHub by following the steps in this article – [https://yoast.com/help/how-to-write-a-good-bug-report/](https://yoast.com/help/how-to-write-a-good-bug-report/)
 * Thank you!
    -  This reply was modified 4 years, 6 months ago by [Michael Tiña](https://wordpress.org/support/users/mikes41720/).
 *  Thread Starter [jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * (@jimleeder123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15122067)
 * Hi,
 * Yes this is happening with the latest WP default theme on PHP 8.1. I will submit
   a bug.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15127704)
 * Hi,
 * Thanks for confirming that this still occurs with a default WP theme and only
   the Yoast SEO v17.7.1 plugin enabled on PHP 8.1.
 * Please do log the bug report and our developers will get back to you and provide
   further feedback. Thanks!
 *  Thread Starter [jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * (@jimleeder123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15135633)
 * It looks like it’s already been reported and your team are aware. Posting the
   link below for anyone else who comes across this.
 * [https://github.com/Yoast/wordpress-seo/issues/17772](https://github.com/Yoast/wordpress-seo/issues/17772)
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15138118)
 * Hi [@jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * Thanks for letting us know. Based on the reply from our developers in [this issue](https://github.com/Yoast/wordpress-seo/issues/17772),
   a fix is already in the works. Please do subscribe to the issue for any updates
   and as to when the issue would eventually be addressed and closed.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15158557)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘PHP 8.1 Problems’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [update](https://wordpress.org/support/topic-tag/update/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 7 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-1-problems/#post-15158557)
 * Status: resolved