• Resolved paullheinrich

    (@paullheinrich)


    Hello,

    My staging site stopped loading with the WP “There has been a critical error on this site.” message. I edited wp-config.php on the staging site to enable WP_DEBUG and create the debug.log file. Here are the results.. I’m using Windows Server 2019, IIS 10 and php

    [21-Aug-2026 17:07:44 UTC] PHP Deprecated: Non-canonical cast (double) is deprecated, use the (float) cast instead in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-content\plugins\wordfence\lib\wfConfig.php on line 2096
    [21-Aug-2026 17:07:45 UTC] PHP Deprecated: Non-canonical cast (binary) is deprecated, use the (string) cast instead in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-content\plugins\wordfence\lib\wfMD5BloomFilter.php on line 79
    [21-Aug-2026 17:07:58 UTC] PHP Deprecated: Creation of dynamic property ThemeWhizzie::$plugin_path is deprecated in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-content\themes\university-institute-pro\theme-wizard\whizzie.php on line 118
    [21-Aug-2026 17:07:58 UTC] PHP Deprecated: Creation of dynamic property ThemeWhizzie::$parent_slug is deprecated in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-content\themes\university-institute-pro\theme-wizard\whizzie.php on line 125
    [21-Aug-2026 17:08:01 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “_wp_register_default_icon_collections” not found or invalid function name in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-includes\class-wp-hook.php:353
    Stack trace: 0 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-includes\class-wp-hook.php(377): WP_Hook->apply_filters() 1 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-includes\plugin.php(522): WP_Hook->do_action() 2 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-settings.php(771): do_action() 3 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-config.php(232): require_once(‘…’) 4 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-load.php(50): require_once(‘…’) 5 C:\inetpub\wwwroot\cawl_wp\stargazer\wp-blog-header.php(13): require_once(‘…’) 6 C:\inetpub\wwwroot\cawl_wp\stargazer\index.php(17): require(‘…’) 7 {main}

    thrown in C:\inetpub\wwwroot\cawl_wp\stargazer\wp-includes\class-wp-hook.php on line 353

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter paullheinrich

    (@paullheinrich)

    FYI dropping back to php 7.4.19 fixed this error.

    Plugin Support Tapan Kumer Das

    (@voboghure)

    Hello @paullheinrich

    Hope you are having a great day! Thanks for reaching out.

    From the debug log, we can see that the fatal error was thrown from the class-wp-hook.php file, which is a core WP file.

    We are glad that you already figured out that it’s a PHP issue and were able to fix it.

    If anything else comes up, don’t hesitate to contact us.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.