PHP Error on Woocommerce cart page when Geolocate enabled
-
Hello. I have found an issue with WooCommcerce and Hummingbird working together with the default customer location set to “Geolocate (with page caching support).
This setting in WooCommcece puts a unique url param at the end of each page for gelocation purposes (eg ?v=3a1ed7090bfa). However I noticed that when you add to cart in woocommerce and use the view cart link you get when you add a product to cart that it doesnt include that url. If you view cart page without this URL in there you get the following error:
Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 66 in /home/mydomain/public_html/wp-content/plugins/hummingbird-performance/core/modules/class-page-cache.php on line 631.
Eg you go to mydomain/cart/ you see the error in the page.
You go to mydomain/cart/?v=3a1ed7090bfa no error.Also do you have a guide for best woocommerce settings with caching and other options?
- The topic ‘PHP Error on Woocommerce cart page when Geolocate enabled’ is closed to new replies.