Fatal Error after Updte
-
After update 3.0.0, we get a fatal error on the site (error below). The whole site crashes with this error, but it does not occur if we don’t activate the plugin “Contact Form 7 – PayPal & Stripe Add-on Pro”. However, even if no other plugins are activated and the theme is set to default, we still get failure messages after searching.
We have rolled back to 2.5.3 for Better Search and everything works again.
Error Message:
Fatal error: Uncaught Error: Call to a member function get() on null in /home/njopig/public_html/wp-includes/query.php:28 Stack trace: #0 /home/njopig/public_html/wp-includes/general-template.php(4013): get_query_var('s') #1 /home/njopig/public_html/wp-content/plugins/better-search/includes/main-functions.php(26): get_search_query(true) #2 /home/njopig/public_html/wp-content/plugins/better-search/includes/class-better-search.php(325): get_bsearch_query() #3 /home/njopig/public_html/wp-content/plugins/better-search/includes/class-better-search.php(180): Better_Search->set_class_variables('') #4 /home/njopig/public_html/wp-content/plugins/better-search/includes/class-better-search.php(111): Better_Search->prepare_query_args(Array) #5 /home/njopig/public_html/wp-content/plugins/better-search/includes/class-better-search.php(1078): Better_Search->__construct() #6 /home/njopig/public_html/wp-includes/class-wp-hook.php(303): bsearch_load_plugin(Object(WP_Query)) #7 /home/njopig/public_html/wp-includes/class-wp-hook.php(327): WP in /home/njopig/public_html/wp-includes/query.php on line 28 Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/njopig/public_html/wp-includes/functions.php on line 5663 Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/njopig/public_html/wp-includes/functions.php on line 5663
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal Error after Updte’ is closed to new replies.