• Resolved outcats85

    (@outcats85)


    Since the new update I’m no longer able to edit the posts.
    I keep getting an error related to Yaost:

    ReferenceError: YoastSEO is not defined
        at i (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:2331)
        at t.default (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:2169)
        at t.value (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:51133)
        at re (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:95:261)
        at Vg (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:95:54)
        at ph (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:217:70)
        at lh (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:126:409)
        at O (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:121:71)
        at ze (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:118:14)
        at https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:53:49

    Looking online it turns out that this kind of error is actually related to caching. Before the update I had the same error but was able to fix it by purging the Varnish cache. Now if I try to purge the cache I only get an error:

    cURL error 7: Failed to connect to localhost port 6081: Connection refused

    This is from the log:
    [2020-07-31 02:01:35] [varnish::purge_single_url_cache] Send purging request to https://localhost:6081/*
    [2020-07-31 02:01:35] [varnish::purge_single_url_cache] Error: cURL error 7: Failed to connect to localhost port 6081: Connection refused – Retry using https://
    [2020-07-31 02:01:35] [varnish::purge_single_url_cache] Send purging request to https://localhost:6081/*

    I tried with the 8080 port as well but nothing changes. Seems like a firewall erorr or something like that but I didn’t change any settings in Cloudflare.

    I’m basically stuck and I can’t do anything until somehow I can make that Varnish purge button work.

    I’m on Siteground hosting

    Even if I disable the plugin nothing changes. The only solution that I found, the other day, was to actually purge the Varnish. The option worked just fine and allowed me to fix the issue. Now it doesn’t work anymore, no matter the settings.

    I need help asap.

    • This topic was modified 4 years, 7 months ago by outcats85.
    • This topic was modified 4 years, 7 months ago by outcats85.
    • This topic was modified 4 years, 7 months ago by outcats85.
    • This topic was modified 4 years, 7 months ago by outcats85.
    • This topic was modified 4 years, 7 months ago by outcats85.
    • This topic was modified 4 years, 7 months ago by outcats85.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @outcats85,
    This seems like a firewall issue but not Cloudflare firewall. Maybe siteground firewall is blocking the script to connect and purge the cache? Have you shown this error log to siteground and asked them if they have any sorts of firewall in place to ensure no script can connect to the Varnish port?

    Also please don’t post your question twice. We will reply to you as soon as we get some free time to look at the support thread. Hope you will understand. ??

    Thread Starter outcats85

    (@outcats85)

    I posted the question twice because the post disappeared.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @outcats85,

    I posted the question twice because the post disappeared.

    The post disappeared because you made multiple edits to your post back to back. Mainly the post went to a moderation stage where a WordPress forum moderator has the power approve to delete the post.

    Let me know if your issue got resolved or if the previous answer helped you to figure out what’s causing the issue.

    Thread Starter outcats85

    (@outcats85)

    Good thanks for the clarification

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Varnish’ is closed to new replies.