• Resolved jej12

    (@jej12)


    I’m using version 7.2.0 with a multisite network, and I continue to see this error in my php error log. Any suggestions on how to fix this?

    PHP Fatal error:  Uncaught Error: Using $this when not in object context in /plugins/sg-cachepress/core/File_Cacher/File_Cacher.php:553
    Stack trace:
    #0 /plugins/sg-cachepress/core/Front_End_Optimization/Front_End_Optimization.php(482): SiteGround_Optimizer\File_Cacher\File_Cacher::purge_everything()
    #1 /wp-includes/class-wp-hook.php(307): SiteGround_Optimizer\Front_End_Optimization\Front_End_Optimization->check_assets_dir()
    #2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /wp-includes/plugin.php(524): WP_Hook->do_action(Array)
    #4 /wp-cron.php(138): do_action_ref_array('siteground_opti...', Array)
    #5 {main}
      thrown in /plugins/sg-cachepress/core/File_Cacher/File_Cacher.php on line 553
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitar Petrov

    (@demiro)

    Hello @jej12,

    Would you please confirm that your SiteGround Optimizer plugin is the latest version? I have tried to replicate the issue but to no avail. The $this reference mentioned in the error is used in a Class(object) context.

    If your website is hosted on SiteGround servers, please open a new ticket on our end so we can investigate the case further. If not, update this thread with the version of the WordPress application, SiteGround Optimizer plugin, and how you trigger the error so we can reproduce the issue.

    Best Regards,
    Dimitar Petrov

    Thread Starter jej12

    (@jej12)

    Thank you for the reply Dimitar. I’m using SiteGround Optimizer version 7.2.0, on a SiteGround hosted site. I’ll submit a ticket there.

    Thanks Again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.