• Resolved dardeez200

    (@dardeez200)


    Hello Admin,

    I am new here, it might be my mistake or maybe not. I just need to fix it.

    I cannot access Gzip compression, static file header and setting from my WP admin consol
    its showing blank.

    How can I fix this, I need help ?

    *****************************************************************
    An error of type E_ERROR was caused in line 1057 of the file /home/eyel36008369/public_html/wp-content/plugins/wp-optimize/wp-optimize.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /home/eyel36008369/public_html/wp-content/plugins/wp-optimize/wp-optimize.php:1057
    Stack trace:
    #0 /home/eyel36008369/public_html/wp-includes/class-wp-hook.php(287): WP_Optimize->output_cache_gzip_tab(”)
    #1 /home/eyel36008369/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #2 /home/eyel36008369/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /home/eyel36008369/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(864): do_action(‘wp_optimize_adm…’)
    #4 /home/eyel36008369/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(813): WP_Optimize->display_admin_page(‘wpo_cache’)
    #5 /home/eyel36008369/public_html/wp-includes/class-wp-hook.php(287): WP_Optimize->display_admin(”)
    #6 /home/eyel36008369/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #7 /home/eyel36008369/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #8 /home/eyel36008`

Viewing 4 replies - 1 through 4 (of 4 total)
  • Harshad

    (@bornforphp)

    @dardeez200 It looks like some core WP-Optimize files are missing, Can you please try to de-activate/delete the plugin and then upload the plugin files via FTP/SFTP and check if it helps to fix the issue?

    Thread Starter dardeez200

    (@dardeez200)

    You were right, it worked and now its not showing blanck on setting from WP console anymore.

    just for future reference when doing the Gzip compression, do Cache option need to be disable when doing Gzip compression for the first time ?

    I do not have SSL certificate install yet but will soon, upon doing GZIP I seen a red notification saying; cURL error 60: SSL certificate problem: self signed certificate

    what should I do

    Harshad

    (@bornforphp)

    @dardeez200 Its fine even if you have cache enabled, GZip should still work.

    For SSL error, please try to install the SSL to remove the warning from GZIP tab.

    Thread Starter dardeez200

    (@dardeez200)

    GZip is not working after clicking on enable, it load then error: we could not determine if Gzip is enable

    notification still there regarding SSL as I told you before, do I have to install SSL in order for GZip to fully work ?

    option: static header is saying: Browser static file caching headers are currently disabled. Is it because of GZip ?

    Thank you,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gzip compression saying: critical error on this website’ is closed to new replies.