• Resolved Wildwolf

    (@jovanovdino)


    Hello, i have a problem with the plugin it doesnt show the following tabs:
    static file headers, Minify, help, premium upgrade and settings.

    It also shows the following error under the Gzip compression tab

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array
    in /home/mia/public_html/wp-content/plugins/wp-optimize/wp-optimize.php on line 1064

    Call stack:

    WP_Optimize::output_cache_gzip_tab()
    wp-includes/class-wp-hook.php:303
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:327
    WP_Hook::do_action()
    wp-includes/plugin.php:470
    do_action()
    wp-content/plugins/wp-optimize/wp-optimize.php:871
    WP_Optimize::display_admin_page()
    wp-content/plugins/wp-optimize/wp-optimize.php:820
    WP_Optimize::display_admin()
    wp-includes/class-wp-hook.php:303
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:327
    WP_Hook::do_action()
    wp-includes/plugin.php:470
    do_action()
    wp-admin/admin.php:259

    Hope you can tell me how to fix this!

    • This topic was modified 4 years, 11 months ago by Wildwolf.
Viewing 1 replies (of 1 total)
  • @jovanovdino It looks like some core WP-Optimize files are missing, could you please try to 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?

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught Error: Cannot use object of type WP_Error as array’ is closed to new replies.