• Resolved AnimeSubways

    (@animesubways)


    Hi there, I get these errors over the days…what’s wrong?

    Uncaught Error: Using $this when not in object context in /home/customer/www/my-test-site.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/File_Cacher.php:548

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Plamen M

    (@plamenm)

    Hello @animesubways ,

    Can you explain the particular issue which you faced? Please, help us recreate the issue , so that we can check it further. For this, please provide instructions in the format: click here, type this, click there.

    We look forward to your reply.

    Regards,
    Plamen.M
    tech support team
    SiteGround.com

    Thread Starter AnimeSubways

    (@animesubways)

    Hi there,

    I don’t know what is causing the error.
    Maybe the stack trace helps there:

    Stack Trace
    1.
    SiteGround_Optimizer\File_Cacher\File_Cacher::purge_everything()
    /home/customer/www/mytestsite.com/public_html/wp-content/plugins/sg-cachepress/core/Front_End_Optimization/Front_End_Optimization.php:482
    2.
    SiteGround_Optimizer\Front_End_Optimization\Front_End_Optimization->check_assets_dir()
    /home/customer/www/mytestsite.com/public_html/wp-includes/class-wp-hook.php:307
    3.
    WP_Hook->apply_filters(”, Array)
    /home/customer/www/mytestsite.com/public_html/wp-includes/class-wp-hook.php:331
    4.
    WP_Hook->do_action(Array)
    /home/customer/www/mytestsite.com/public_html/wp-includes/plugin.php:522
    5.
    do_action_ref_array(‘siteground_opti…’, Array)
    /home/customer/www/mytestsite.com/public_html/wp-cron.php:138
    6.
    {main}
    thrown in /home/customer/www/mytestsite.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/File_Cacher.php on line 548

    • This reply was modified 2 years, 9 months ago by AnimeSubways.
    Plugin Support Gergana Petrova

    (@gpetrova)

    Hello @animesubways,

    The provided information is not sufficient for us to check the issue at hand. Please specify the domain name where the error is present and steps on how to recreate it.

    If you’re not comfortable with providing your domain here and if you’re a SiteGround customer – please open a new Support Ticket from within your account, supplying the thread here as a reference, so our team can look into this on your behalf.

    Best Regards,
    Gergana Petrova

    Plugin Support Gergana Petrova

    (@gpetrova)

    Hello @animesubways,

    Since we haven’t heard from you in the past couple of days we will be marking the topic as Resolved.

    You will still be able to post new replies if needed.

    Best Regards,
    Gergana Petrova

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught Error: Using $this when not in object context in File_cacher.php’ is closed to new replies.