dannybo
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok 2!Hola.
As previously said (since the beginning speaking with my host), hosting team advise me today about a probably “time out” of the varnish cache in my case. Being on some shared hosting with different websites, time out can be adjusted (varnish configuration) but they need to check and change things for all the server and all the websites involved. This operation needs some study, inside the host, before being applied to everyone. So they suggest me to disable the varnish before any woocommerce update and then restore it. Until futher notice. They also tell me woocommerce updates regularly in background despite the warning message of the varnish.
Daniele
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok 2!@babylon1999 I know. Already deactivated the plugin. The preload seems to create problems. Once unchecked the “preload of the entire website”, logs for woocommerce become ok. But i changed with W3 TOTAL CACHE (My host suggested this one). But the problem with varnish still persist.
THIS TIME… the error (with W3 TOTAL CACHE) is a little bit different… <!DOCTYPE html> 503 Backend fetch failed Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 16036571 Varnish cache server
Asked for support to my hosting they’re still investigating… :-/ Of course woocommerce (when refreshed the plugin page) is correctly updated, status is OK.
So… trying to investigate … i’m asking myself if the plugin LOGINIZER could have problems with varnish communications. When i activated the varnish cache Loginizer advise me to change REMOTE_ADDR into HTTP_X_FORWARDED_FOR to avoid my IP to coincides with that of the SERVER.
BUT, not satisfied, in all my browsers I disabled “Use DNS-over-HTTPS instead of system DNS settings” (cloudfare was then selected). Maybe I’ll be stupid, but I suspect that “may” also affect the situation…
Of course now (with after done the last two passages i wrote) i need to wait for another woocommerce update to check. In the meantime my host routed my help request to a more specific team. (after 10 unuseful messages :-/)
That’ all.
Daniele
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok 2!I think the VarnishWPFC not found has been resolved unchecking the “automatic preload of the entire site” by WP Fastest Cache. Since then, no more woocommerce-errors-logs.
Now, I’m still need to resolve the very first question… the varnish 503 error during woocommerce update. I personally think that it has something to do with some kind of “time limit” in varnish cache configuration by the hosting.
Hope to get back with good news soon…
Daniele
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok 2!this is the most recent one:
2023-08-09T00:14:36+00:00 CRITICAL Uncaught Error: Class "VarnishWPFC" not found in /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/inc/preload.php:563 Stack trace: #0 /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/inc/preload.php(758): PreloadWPFC::create_preload_cache_default() #1 /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php(1877): PreloadWPFC::create_preload_cache() #2 /home/sf3bkg2y/public_html/wp-includes/class-wp-hook.php(308): WpFastestCache->create_preload_cache() #3 /home/sf3bkg2y/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/sf3bkg2y/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #5 /home/sf3bkg2y/public_html/wp-cron.php(188): do_action_ref_array() #6 {main} thrown in /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/inc/preload.php alla riga 563
Daniele
- This reply was modified 1 year, 3 months ago by Kathryn Presner.
- This reply was modified 1 year, 3 months ago by Kathryn Presner. Reason: put error in code block
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok 2!ok just saw these message (errors – always the same) inside woocommerce logs…. maybe can help me resolve the situation?
2023-07-10T00:06:40+00:00 CRITICAL Uncaught Error: Class "VarnishWPFC" not found in /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/inc/preload.php:522 Stack trace: #0 /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php(1874): PreloadWPFC::create_preload_cache() #1 /home/sf3bkg2y/public_html/wp-includes/class-wp-hook.php(308): WpFastestCache->create_preload_cache() #2 /home/sf3bkg2y/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /home/sf3bkg2y/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #4 /home/sf3bkg2y/public_html/wp-cron.php(188): do_action_ref_array() #5 {main} thrown in /home/sf3bkg2y/public_html/wp-content/plugins/wp-fastest-cache/inc/preload.php alla riga 522
Thank you
Daniele
- This reply was modified 1 year, 3 months ago by Kathryn Presner.
- This reply was modified 1 year, 3 months ago by Kathryn Presner. Reason: put error in code block
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok.Ok @babylon1999 , now I also added these exclusions pages from WP Fastest Cache:
Exclude from Varnish these WooCommerce pages
- cart
- my-account
- checkout
- addons
- \?add-to-cart=
- add-to-cart
Hoping this will avoid the varnish error message updating woocommerce. I’ll wait to check inside this first website (during the next woo update), if works, then I’ll do the same with a few other sites of mine.
Daniele
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok.In one of my websites now i’ve escluded (inside WP fastest Cache) these cookies… ( _items_in_cart was already present inside a menu to add to be honest)
Exclude from Varnish these WooCommerce cookies
- woocommerce_cart_hash
- woocommerce_items_in_cart
- wp_woocommerce_session_
- woocommerce_recently_viewed
this is the first think I made.
then i need to do these steps:
Exclude from Varnish these WooCommerce pages
- cart
- my-account
- checkout
- addons
- \?add-to-cart=
- add-to-cart
Hoping to do it right…
Daniele
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok.Thank you for your reply @babylon1999.
I’m using WP Fastest Cache free plugin and about “exclusion” i didn’t touch nothing at the moment.
But my question is woocommerce seems to work ok. It’s a little bit difficult because i’m italian and things inside the plugin are all in english. I’m partially understanding what the links (you show me) means, but it’s better to stop varnish cache if i can’t handle the situation?
Everything always worked great. I’m just worried about updating woocommerce.
Thank you
Daniele
Ps. If i cancel the cache just before updating woocommerce can help?
Forum: Plugins
In reply to: [WooCommerce] woocommerce update failed but then it’s ok.UPDATE: The server said to me they emptied the cache and also the varnish one. But at the moment I can’t understand. Varnish cache needs to be stopped/emptied/paused before upgrading plugins? They said to me to check now… so i need to wait for a plugin upgrade to see what’s happen. :-/
Daniele
Anyone have an idea?