• Resolved ronny84

    (@ronny84)


    Hey there,

    I updated several Blogs yesterday to new version 3.2.13 and WordPress 6.2. There are different themes for them. For example neve, astra pro. Since I updated I become errors showing.

    At the admin panel I have white screens at: Minification, Options. Additionell I cant go there to the submenues.

    While going to Cache -> Gzip I get an critical error including Email from wordpress:

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 64 der Datei /wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php verursacht. Fehlermeldung: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WpOrg\Requests\Utility\CaseInsensitiveDictionary given in /wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php:64
    Stack trace:
    #0 /wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php(120): WP_Optimize_Gzip_Compression->get_headers_information()
    #1 /wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(357): WP_Optimize_Gzip_Compression->is_gzip_compression_enabled(true)
    #2 /wp-includes/class-wp-hook.php(308): WP_Optimize_Admin->output_cache_gzip_tab(”)
    #3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(159): do_action(‘wp_optimize_adm…’)
    #6 /wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(108): WP_Optimize_Admin->display_admin_page(‘wpo_cache’)
    #7 /wp-includes/class-wp-hook.php(308): WP_Optimize_Admin->display_admin(”)
    #8 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #9 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /wp-admin/admin.php(259): do_action(‘wp-optimize_pag…’)
    #11 {main}
    ? thrown

    Cache Creating still works. Frontend seems to be okay.

    I got the errors on several websites with different settings and plugins in use.

    Could you please check this?

    kind regards

Viewing 13 replies - 1 through 13 (of 13 total)
  • I have the same issue.
    Only reverting to PHP7.4 fixes it.
    They use an option in the command that is no longer supported since PHP8.x

    2023-03-30T07:00:58+00:00 CRITICAL Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WpOrg\Requests\Utility\CaseInsensitiveDictionary given in /xxx/xxx/xxx/xxx/xxx/web/wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php:64

    This is really nasty with about 100 sites to revert to PHP7.4 for this plugin

    Thread Starter ronny84

    (@ronny84)

    I tested it now on an other blog.

    Also Neve Theme installed and nearly the same plugins. But I didnt go to wordpress 6.2. There all is fine with PHP 8.

    I think its not a problem with version of PHP, instead with version of wordpess, @hyperfocus2012 .

    Support Team could you check the compatibility with wordpress 6.2? Something causes problems there.

    kind regards

    I have the same issue since updating to WordPress 6.2 this morning - 
    
    WordPress version 6.2
    Active theme: Twenty Twenty-Three (version 1.1)
    Current plugin: WP-Optimize - Clean, Compress, Cache (version 3.2.13)
    PHP version 8.1.17
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 64 of the file /homepages/27/d79947732/htdocs/TEST/wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WpOrg\Requests\Utility\CaseInsensitiveDictionary given in /homepages/27/d79947732/htdocs/TEST/wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php:64
    Stack trace:
    #0 .../wp-content/plugins/wp-optimize/includes/class-wp-optimize-gzip-compression.php(120): WP_Optimize_Gzip_Compression->get_headers_information()
    #1 .../wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(357): WP_Optimize_Gzip_Compression->is_gzip_compression_enabled()
    #2 .../wp-includes/class-wp-hook.php(308): WP_Optimize_Admin->output_cache_gzip_tab()
    #3 .../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #4 .../wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 .../wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(159): do_action()
    #6 .../wp-content/plugins/wp-optimize/includes/class-wp-optimize-admin.php(108): WP_Optimize_Admin->display_admin_page()
    #7 .../wp-includes/class-wp-hook.php(308): WP_Optimize_Admin->display_admin()
    #8 ...wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #9 ...wp-includes/plugin.php(517): WP_Hook->do_action()
    #10 ...wp-admin/admin.php(259): do_action()
    #11 {main}
    thrown
    • This reply was modified 1 year, 8 months ago by keithjd.
    Thread Starter ronny84

    (@ronny84)

    @keithjd thank you. Perhaps someone of the coder could work with that.

    Notice: You should not send your hosting data in the internet. ?? Your Account Name is in the code you posted.

    @ronny84 Still reverting to PHP7.4 is a temporary workaround for me, even though it may be caused in combination with WP6.2

    It also happens on a different Theme, since updating this morning:
    WordPress version 6.2
    Active theme: OceanWP (version 3.4.2)
    Current plugin: WP-Optimize – Clean, Compress, Cache (version 3.2.13)
    PHP version 8.2.4

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Thanks for this report. A fix is in progress and should be released in the next hour or two.

    David

    Thread Starter ronny84

    (@ronny84)

    @davidanderson thank you very much!

    Plugin Author David Anderson

    (@davidanderson)

    This has now been released.

    Thread Starter ronny84

    (@ronny84)

    Hi, I checked several blogs. All seems to be fine now. Thank you!

    @davidanderson Problem solved, thanks!

    @davidandersonThanks for the quick turnaround!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘White Screen and critical error since update 3.2.13’ is closed to new replies.