PHP Fatal error
-
Hi,
Every day at same time, I can read PHP fatal error, concerned with 2 plugins:
BBPress for a forum with very few articles and comments,
WP-Optimize, for page cache and image compression.
No idea where it comes from. No cron at that time….
Every thing is up to date: WP6.9.1 PHP 8.3.30, all plugins with automatic update.
Thank in advance for helping
Didier
[26-Feb-2026 15:46:52 UTC] PHP Notice: Function 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 /xxx/wordpress/wp-includes/functions.php on line 6131
[26-Feb-2026 15:46:52 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /xxx/wordpress/wp-includes/query.php:29
Stack trace:0 /xxx/wordpress/wp-content/plugins/bbpress/includes/common/template.php(2204): get_query_var()
1 /xxx/wordpress/wp-content/plugins/bbpress/includes/common/template.php(2193): bbp_get_query_name()
2 /xxx/wordpress/wp-content/plugins/bbpress/includes/common/template.php(891): bbp_is_query_name()
3 /xxx/wordpress/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php(376): bbp_is_search()
4 /xxx/wordpress/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php(1003): wpo_restricted_cache_page_type()
5 /xxx/wordpress/wp-content/plugins/wp-optimize/cache/class-wpo-page-cache.php(206): wpo_can_serve_from_cache()
6 /xxx/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-page-optimizer.php(54): WPO_Page_Cache->should_cache_page()
7 /xxx/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-page-optimizer.php(39): WPO_Page_Optimizer->maybe_cache_page()
8 [internal function]: WPO_Page_Optimizer->optimize()
9 /xxx/wordpress/wp-includes/functions.php(5481): ob_end_flush()
10 /xxx/wordpress/wp-includes/class-wp-hook.php(341): wp_ob_end_flush_all()
11 /xxx/wordpress/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
12 /xxx/wordpress/wp-includes/plugin.php(522): WP_Hook->do_action()
13 /xxx/wordpress/wp-includes/load.php(1308): do_action()
14 [internal function]: shutdown_action_hook()
15 {main}
thrown in /xxx/wordpress/wp-includes/query.php on line 29
- You must be logged in to reply to this topic.