Fatal error: Uncaught Error: Call to a member function get_field() on bool
-
Hello! I just installed your plugin and it’s awesome. It lets me do exactly what I want.
But… Now I’m getting a fatal error in my dashboard. When I am looking at posts (or custom post types) and I try to filter the posts, I get this error (scrubbed of personal info)
Notice: Array to string conversion in /home/my_user/mywebsite.org/wp-admin/edit.php on line 319
Warning: Cannot modify header information – headers already sent by (output started at /home/my_user/mywebsite.org/wp-admin/edit.php:319) in /home/my_user/mywebsite.org/wp-admin/admin-header.php on line 9
Fatal error: Uncaught Error: Call to a member function get_field() on bool in /home/my_user/mywebsite.org/wp-content/plugins/forminator/library/model/class-base-form-model.php:377 Stack trace: #0 /home/my_user/mywebsite.org/wp-content/plugins/forminator/admin/classes/class-admin.php(224): Forminator_Base_Form_Model->get_models_by_field_and_version(‘stripe-1’, ‘1.9-alpha.1’) #1 /home/my_user/mywebsite.org/wp-content/plugins/forminator/admin/classes/class-admin.php(320): Forminator_Admin->has_old_stripe_forms() #2 /home/my_user/mywebsite.org/wp-includes/class-wp-hook.php(287): Forminator_Admin->show_stripe_updated_notice(”) #3 /home/my_user/mywebsite.org/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/my_user/mywebsite.org/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/my_user/mywebsite.org/wp-admin/admin-header.php(281): do_action(‘admin_notices’) #6 /home/my_user/mywebsite.org/wp-admin/edit.ph in /home/my_user/mywebsite.org/wp-content/plugins/forminator/library/model/class-base-form-model.php on line 377
There has been a critical error on your website. Please check your site admin email inbox for instructions.
I still get this error when all other plugins are disabled. I get the first two errors even without Forminator, but they don’t seem to have been causing a problem before.
It’s strange because filtering posts on the dashboard doesn’t have anything to do with Forminator, right? And everything else on the site seems to work fine.
I have tested on php 7.4 and 7.3.
I am running wordpress 5.4.2
Forminator Version 1.13.3Please let me know if you need other information.
Thanks for the great plugin.
- The topic ‘Fatal error: Uncaught Error: Call to a member function get_field() on bool’ is closed to new replies.