Fatal Error on 5.0.2
-
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]
-
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
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.
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.
Hello Shahjahan, the site is currently running PHP 8.1
Hello Bryan,
Would you please check the error logs and send me info you get any about the source of the error.
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
Thank you for the info. Do you have any backtrace of this error?
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}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.
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!
Thanks for being so helpful. Maybe a database trigger got missed from your manual install.
The topic ‘Fatal Error on 5.0.2’ is closed to new replies.