• Resolved ttoaster

    (@ttoaster)


    Hi,

    Getting this error when opening the Admin page:

    Your Site is Experiencing a Technical Issue

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP-Optimize – Clean, Compress, Cache.

    First, visit your website (https://<mysite>/) and check for any visible issues. Next, visit the page where the error was caught (https://<mysite>/wp-admin/admin.php?page=WP-Optimize) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.8.1
    Current theme: Vogue (version 10.8.8)
    Current plugin: WP-Optimize – Clean, Compress, Cache (version 3.1.12)
    PHP version 7.4.24

    Error Details
    =============
    An error of type E_ERROR was caused in line 1064 of the file /var/www/<mysite>/wp-content/plugins/wp-optimize/wp-optimize.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/<mysite>/wp-content/plugins/wp-optimize/wp-optimize.php:1064
    Stack trace:
    #0 /var/www/<mysite>/wp-includes/class-wp-hook.php(303): WP_Optimize->output_cache_gzip_tab()
    #1 /var/www/<mysite>/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #2 /var/www/<mysite>/wp-includes/plugin.php(470): WP_Hook->do_action()
    #3 /var/www/<mysite>/wp-content/plugins/wp-optimize/wp-optimize.php(871): do_action()
    #4 /var/www/<mysite>/wp-content/plugins/wp-optimize/wp-optimize.php(820): WP_Optimize->display_admin_page()
    #5 /var/www/<mysite>/wp-includes/class-wp-hook.php(303): WP_Optimize->display_admin()
    #6 /var/www/<mysite>/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #7 /var/www/<mysite>/wp-includes/plugin.php(470): WP_Hook->do_action()
    #8 /var/www/<mysite>/wp-admin/admin.php(259): do_action()
    #9 {main}
    thrown

    Please note I have sanitised the output above and replaced my actual server name and relevant part of the file path with <mysite>

    Regards,
    Martin

Viewing 5 replies - 1 through 5 (of 5 total)
  • @ttoaster It looks like some core WP-Optimize files are missing, could you please upload the plugin files via FTP/SFTP instead?

    To do this:
    1. Unzip the WP-Optimize ZIP on your local machine, using a zip utility such as 7-zip.
    2. Access your WordPress installation via FTP or your host’s filemanager.
    3. Navigate to wp-content/plugins. Upload the WP-Optimize folder here.
    4. Go to the Plugins page on your WordPress dashboard. You should see WP-Optimize in the list of plugins.

    Let us know if above steps helps to fix the issue?

    Thread Starter ttoaster

    (@ttoaster)

    Hi,

    Thanks for the reply, I simply deleted the plugin and re-installed it again, and all seems to be fine now; most odd!

    @ttoaster Glad to hear its working fine now, If you have any more questions, please feel free to write back to us.

    Have a nice day!

    Hello,

    I would like to answer here because I have exactly the same mistake.

    I also uninstalled and reinstalled the module and also added the files directly on the FTP.

    All other modules are up to date.
    Do you have another clue?

    Thanks in advance and have a nice day
    Carole

    @klol Please try to upload the plugin files via FTP and check if it works?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Causing an Error to be Thrown!’ is closed to new replies.