Skip to:
Content
Pages
Categories
Search
Top
Bottom

PHP Fatal error

  • @didier59450

    Participant

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robin-w

    Moderator

    If this is easily repeatable, I’d suggest (as a test) deactivating wp-optimize and see if it still occurs

    @didier59450

    Participant

    Hi,

    WP-optimize suggets BBPress could be concerned.
    So I change page with BBPress shortcode into a comment and I’ve desactivated BBPress. Today at same time I can read this in php-errors.log:

    [28-Feb-2026 13:08:58 UTC] PHP Deprecated: La fonction seems_utf8 est obsolète depuis la version 6.9.0 ! Utilisez wp_is_valid_utf8() à la place. in /xxx/wordpress/wp-includes/functions.php on line 6131
    [28-Feb-2026 13:09:50 UTC] PHP Warning: Undefined array key “edit-page” in /xxx/wordpress/wp-content/plugins/ionos-essentials/ionos-essentials/inc/dashboard/blocks/next-best-actions/class-nba.php on line 110
    [28-Feb-2026 15:46:51 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
    [28-Feb-2026 15:46:51 UTC] PHP Notice: Function is_404 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 /homepages/22/d4298730425/htdocs/wordpress/wp-includes/functions.php on line 6131
    [28-Feb-2026 15:46:51 UTC] PHP Notice: Function is_feed 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 /homepages/22/d4298730425/htdocs/wordpress/wp-includes/functions.php on line 6131
    [28-Feb-2026 15:46:51 UTC] Erreur d’événement de déplanification de tâche pour le crochet extendify_fetch_partner_data. Code d’erreur : could_not_set. Message d’erreur : La liste des évènements planifiés n’a pas pu être sauvegardée.. Données : {“schedule”:false,”args”:[]}

    No fatal error with BBPress desactivated.
    A surprise with cron task extendify not listed in cron task.
    The only paused one is userfeedback_usage_tracking_cron, but no userfeedback plugin install, maybe linked jetpack (desinstalled) or MonsterInsights.
    Or linked with Ionos Hosting as he is mentionned in first warning with Ionos-essentials.

    @robin-w

    Moderator

    so how long each day do you see this, and is it a set time?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar