8 Comments
  1. do you get this same error after you rename the plugins folder (via FTP or SSH)?

    usually, an error like this is either caused by a plugin or the theme. so renaming the plugin folder will let you test if it’s plugin related

  2. This is why it’s a good idea to test PHP updates on a copy of your site rather than on the live site.

    First, I suggest you go back to PHP 7.3 for now so as to fix your site. Then make a copy of your site and investigate further on that copy.

  3. You will have to wait until all the developers update their code to be v8 compatible. PHP has deprecated many functions and changed parameter types so that’s why you are getting all the errors and warnings. There isn’t much you can do at the moment.

  4. At this point most plugins and themes are PHP 8 compatible. 8.1 has a few issues I find. 8.0 is a fine IMO

  5. This specific error has nothing to do with your theme or plugins. Your php setup is missing some required extensions. You can find the list here:

  6. You need to install / enable mysql_connect in your php 8 Most likely it came with PDO or mysqli_connect.

  7. Go back to php7, update your WordPress core, then go back to php8. It looks like you’re using an outdated version of the WP core.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer