Discover Centmin Mod today
Register Now

Fatal Error while deploying wordpress

Discussion in 'Install & Upgrades or Pre-Install Questions' started by seraphkz, Jan 10, 2022.

  1. seraphkz

    seraphkz New Member

    2
    0
    1
    Dec 17, 2019
    Ratings:
    +0
    Local Time:
    10:20 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.21.5
    • PHP Version Installed: 8.1.1
    • MariaDB MySQL Version Installed: 10.3.32
    • When was last time updated Centmin Mod code base ? : today

    When I create a wordpress with cache-enabler option, I get the following error:
    Code:
    PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'wp663112924db_31436.8194_options' doesn't exist in /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php:2056
    Stack trace:
    #0 /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php(2056): mysqli_query()
    #1 /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php(1945): wpdb->_do_query()
    #2 /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php(2695): wpdb->query()
    #3 /home/nginx/domains/projectneuron.com/public/wp-includes/option.php(284): wpdb->get_results()
    #4 /home/nginx/domains/projectneuron.com/public/wp-includes/functions.php(1730): wp_load_alloptions()
    #5 /home/nginx/domains/projectneuron.com/public/wp-includes/load.php(752): is_blog_installed()
    #6 /home/nginx/domains/projectneuron.com/public/wp-settings.php(159): wp_not_installed()
    #7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1271): require('...')
    #8 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1192): WP_CLI\Runner->load_wordpress()
    #9 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #10 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
    #11 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #12 phar:///usr/bin/wp/php/boot-phar.php(11): include('...')
    #13 /usr/bin/wp(4): include('...')
    #14 {main}
      thrown in /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php on line 2056
    Fatal error: Uncaught mysqli_sql_exception: Table 'wp663112924db_31436.8194_options' doesn't exist in /home/nginx/domains/projectneuron.com/public/wp-includes/wp-db.php:2056


     
  2. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If you search the forum for the error message, you'll find Wordpress doesn't officially support PHP 8.1 and barely supports PHP 8 right now. You'd want PHP 7.4 to install Wordpress.
     
  3. Jay Chen

    Jay Chen Active Member

    181
    60
    28
    Sep 10, 2017
    Ratings:
    +116
    Local Time:
    10:20 AM
    PHP 7.4 is the best stable version for WP now, but if you want PHP 8.0, you will need to test it thoroughly.

    I migrated my WP sites to a new vps with PHP 8.0 installed. No issue so far.