• Resolved starpowerit

    (@starpowerit)


    Hi,

    I’m encounrtering an error when trying to install the latest version – seems it’s not running the CREATE TABLE logic for the necessary tables for the plugin before trying to run the update script.

    Fatal error stacktrace:

    PHP Fatal error: Uncaught mysqli_sql_exception: Table 'wp_mysitelocal.wp_betterdocs_search_keyword' doesn't exist in D:\Work\Server\mywebsite.com.au\wp-includes\class-wpdb.php:2349\nStack trace:\n#0 D:\Work\Server\mywebsite.com.au\wp-includes\class-wpdb.php(2349): mysqli_query(Object(mysqli), 'DESCRIBE wp_bet…')\n#1 D:\Work\Server\mywebsite.com.au\wp-includes\class-wpdb.php(2263): wpdb->_do_query('DESCRIBE wp_bet…')\n#2 D:\Work\Server\mywebsite.com.au\wp-includes\class-wpdb.php(3146): wpdb->query('DESCRIBE wp_bet…')\n#3 D:\Work\Server\mywebsite.com.au\wp-admin\includes\upgrade.php(2864): wpdb->get_results('DESCRIBE wp_bet…')\n#4 D:\Work\Server\mywebsite.com.au\wp-content\plugins\betterdocs\includes\Core\Install.php(185): dbDelta(Array)\n#5 D:\Work\Server\mywebsite.com.au\wp-content\plugins\betterdocs\includes\Core\Install.php(100): WPDeveloper\BetterDocs\Core\Install->check_db_updates()\n#6 D:\Work\Server\mywebsite.com.au\wp-includes\class-wp-hook.php(324): WPDeveloper\BetterDocs\Core\Install->activate(false)\n#7 D:\Work\Server\mywebsite.com.au\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)\n#8 D:\Work\Server\mywebsite.com.au\wp-includes\plugin.php(517): WP_Hook->do_action(Array)\n#9 D:\Work\Server\mywebsite.com.au\wp-admin\includes\plugin.php(693): do_action('activate_better…', false)\n#10 D:\Work\Server\mywebsite.com.au\wp-admin\plugins.php(58): activate_plugin('betterdocs/bett…', 'http://local.my…', false)\n#11 {main}\n thrown in D:\Work\Server\mywebsite.com.au\wp-includes\class-wpdb.php on line 2349, referer: http://local.mywebsite.com.au/wp-admin/plugins.php

    Tried it on my local dev and on a hosted staging site with the same results.

    PHP: 8.2
    WordPress: 6.4.3
    MySQL: 8

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hi @starpowerit 

    I hope you are doing well. I am so sorry for the inconveniences.

    We have also setup same PHP: 8.2, WordPress: 6.4.3, and MySQL: 8 environment and try to install the latest version but didn’t face any issues.

    So would you please reach out to us here? And on that, please share your wp-config.php file. So that we can deeply investigate and resolve the issue as soon as possible.

    Thank you

    Thread Starter starpowerit

    (@starpowerit)

    Submitted via your ticketing system. Referenced this issue’s URL.

    Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hi @starpowerit

    We have got your query. Please cooperate with us so that we can resolve the issue as soon as possible.

    Thank You

    Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hi there

    According to your request, I am closing the topic.

    But no need to worry, when you are available to troubleshoot, you can just create a new topic.

    Thank You

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

The topic ‘Fatal php error trying to install latest version’ is closed to new replies.