Varnish
-
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 .
- This topic was modified 4 years, 7 months ago by .
- This topic was modified 4 years, 7 months ago by .
- This topic was modified 4 years, 7 months ago by .
- This topic was modified 4 years, 7 months ago by .
- This topic was modified 4 years, 7 months ago by .
- The topic ‘Varnish’ is closed to new replies.