Wp Forms Fatal Error Breaking Site
-
Hello, for some weird reason I am starting to get this error on my site. It is breaking the entire site. I must disable the plugin in order for my site to come back to normal. Can you let me know what I might need to do to get it fixed?
Fatal error: Uncaught TypeError: Return value of WPForms\Admin\Forms\UserTemplates::add_template_states() must be of the type array, null returned in /home/customer/www/betterhomeessentials.com/public_html/wp-content/plugins/wpforms-lite/src/Admin/Forms/UserTemplates.php:116 Stack trace: #0 /home/customer/www/betterhomeessentials.com/public_html/wp-includes/class-wp-hook.php(324): WPForms\Admin\Forms\UserTemplates->add_template_states(NULL, Object(WP_Post)) #1 /home/customer/www/betterhomeessentials.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/betterhomeessentials.com/public_html/wp-admin/includes/template.php(2350): apply_filters(‘display_post_st…’, Array, Object(WP_Post)) #3 /home/customer/www/betterhomeessentials.com/public_html/wp-includes/nav-menu.php(861): get_post_states(Object(WP_Post)) #4 [internal function]: wp_setup_nav_menu_item(Object(WP_Post)) #5 /home/customer/www/betterhomeessentials.com/public_html/wp-includes/nav-menu.php(732): array_map(‘wp_set in /home/customer/www/betterhomeessentials.com/public_html/wp-content/plugins/wpforms-lite/src/Admin/Forms/UserTemplates.php on line 116
There has been a critical error on this website.Learn more about troubleshooting WordPress.
- The topic ‘Wp Forms Fatal Error Breaking Site’ is closed to new replies.