• Resolved steveclv

    (@steveclv)


    Repeatable error – any ideas?

    Fatal error: Uncaught mysqli_sql_exception: Table ‘ukshopdb.wp_acfw_store_credits’ doesn’t exist in /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/wp-db.php:2056
    Stack trace:
    #0 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/wp-db.php(2056): mysqli_query()
    #1 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/wp-db.php(1945): wpdb->_do_query()
    #2 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/wp-db.php(2695): wpdb->query()
    #3 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-admin/includes/upgrade.php(2795): wpdb->get_results()
    #4 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Store_Credits/Admin.php(144): dbDelta()
    #5 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Store_Credits/Admin.php(372): ACFWF\Models\Store_Credits\Admin->_create_db_table()
    #6 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Bootstrap.php(286): ACFWF\Models\Store_Credits\Admin->activate()
    #7 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Bootstrap.php(194): ACFWF\Models\Bootstrap->_activate_plugin()
    #8 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/class-wp-hook.php(292): ACFWF\Models\Bootstrap->activate_plugin()
    #9 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #10 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/plugin.php(484): WP_Hook->do_action()
    #11 /home/moplasieyyk2/ukhomeshoppingonline.com/wp-admin/plugins.php(193): do_action()
    #12 {main}
    thrown in <b>/home/moplasieyyk2/ukhomeshoppingonline.com/wp-includes/wp-db.php</b> on line <b>2056

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hey @steveclv, thanks for the message.

    Looks like the table for store credits isn’t being created.

    Are you able to check in the DB for the table wp_acfw_store_credits?

    Is there anything particular about this installation we need to know, like an alternate DB prefix being used or anything like that?

    Looking fwd to getting to the bottom of it for you.

    Thread Starter steveclv

    (@steveclv)

    Thanks Josh
    I can get access to phpMyAdmin and that table does not exist.
    The only thing that might impact the DB is a plugin called
    Index WP MySQL For Speed v 1.4.11 which converts the tables to innoDB I believe and adds some additional indexes.

    Everything else is as standard as far as I know – it’s a project I inherited.

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @steveclv sounds like you’re a dev which makes my job easier ??

    Would you be able to check on the wp_options table for the option named ‘acfw_store_credits_db_created’

    If this is set to ‘yes’, can you delete it?

    Then deactivate the plugin and re-activate it, this should force the plugin to create the table.

    Might be best to try on staging first.

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi Steve,

    Just closing this thread off. I hope it solved the issue, if not please write back and I’ll assist further ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Crashes during Activation – Fatal Error’ is closed to new replies.