• Resolved Bryan Hoffman

    (@spigot)


    Updating to 5.0.2 – from 4.3.25 – causes a fatal error:

    PHP Fatal error: Uncaught Exception: Table wp_fluentform_submissions’ doesn’t exist in /www/sites/example.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/WPDBConnection.php:127

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Lukman Nakib

    (@pyrobd)

    Hello Bryan,

    Sorry for the inconvenience, we will help you to resolve the issue. However We could not recreate the issue, are you using multisite, can you let us know? Please try deactivating and activating the plugin again. If the issue is not resolved please let us know.

    Thanks

    Thread Starter Bryan Hoffman

    (@spigot)

    Hello @pyrobd thanks for the reply. No, not using multisite. I’ll try testing in a staging environment. We can’t deactivate / reactivate the plugin because of the fatal error, but see if I can find where that missing item in the stack trace is located or why its missing.

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Hello Bryan,

    Would you please check if you are using PHP version 7.0 or not. The new version is not compatible with PHP 7.0. We recommend using atleast 7.3

    I am looking forward to hear from you and find out the exact issue. Also You may check the error log to see from where the error got triggered.

    Thread Starter Bryan Hoffman

    (@spigot)

    Hello Shahjahan, the site is currently running PHP 8.1

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Hello Bryan,

    Would you please check the error logs and send me info you get any about the source of the error.

    Thread Starter Bryan Hoffman

    (@spigot)

    Hi Shahjahan, I included the error in the original request:

    PHP Fatal error: Uncaught Exception: Table wp_fluentform_submissions’ doesn’t exist in /www/sites/example.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/WPDBConnection.php:127

    There are no other fatal errors to report that I can locate

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Thank you for the info. Do you have any backtrace of this error?

    Thread Starter Bryan Hoffman

    (@spigot)

    Yes:

    Stack trace:
    #0 /www/sites/redacted.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/Builder.php(1627): FluentForm\Framework\Database\Query\WPDBConnection->select('select count(*)...', Array, true)
    #1 /www/sites/redacted.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/Builder.php(1613): FluentForm\Framework\Database\Query\Builder->runSelect()
    #2 /www/sites/redacted.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/Builder.php(2020): FluentForm\Framework\Database\Query\Builder->get(Array)
    #3 /www/sites/redacted.com/html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/Builder.php(1942): FluentForm\Framework\Database\Query\Builder->aggregate('count', Array)
    #4 /www/sites/redacted.com/html/wp-content/plugins/fluentform/app/Modules/Registerer/AdminBar.php(112): FluentForm\Framework\Database\Query\Builder->count()
    #5 /www/sites/redacted.com/html/wp-content/plugins/fluentform/app/Modules/Registerer/AdminBar.php(26): FluentForm\App\Modules\Registerer\AdminBar->getMenuItems()
    #6 /www/sites/redacted.com/html/wp-includes/class-wp-hook.php(308): FluentForm\App\Modules\Registerer\AdminBar->addMenuBar(Object(WP_Admin_Bar))
    #7 /www/sites/redacted.com/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #8 /www/sites/redacted.com/html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #9 /www/sites/redacted.com/html/wp-includes/admin-bar.php(95): do_action_ref_array('admin_bar_menu', Array)
    #10 /www/sites/redacted.com/html/wp-includes/class-wp-hook.php(308): wp_admin_bar_render('')
    #11 /www/sites/redacted.com/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #12 /www/sites/redacted.com/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #13 /www/sites/redacted.com/html/wp-admin/admin-header.php(267): do_action('in_admin_header')
    #14 /www/sites/redacted.com/html/wp-admin/index.php(137): require_once('/www/sites/cath...')
    #15 {main}
    Plugin Author Shahjahan Jewel

    (@techjewel)

    On plugin activation the tables should be migrated and it should not throw the error. Would you please try again and see you are still getting the error. Please try to deactivate and activate the plugin.

    Thread Starter Bryan Hoffman

    (@spigot)

    I deactivated, updated, and reactivated and am no longer getting the fatal error. Thanks for the help.

    Just an FYI on how this happened – we use an external system to update plugins. I’m not sure if that process missed some trigger to migrate the tables or not.

    Thanks again for the quick reply and help!

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Thanks for being so helpful. Maybe a database trigger got missed from your manual install.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal Error on 5.0.2’ is closed to new replies.