smecnarowski
Forum Replies Created
-
Hi,
I had this same problem. I don’t know what is the reason this happens but resolved it by temporary disabling get_transient for wc_attribute_taxonomies in
plugins/woocommerce/includes/wc-attribute-functions.php
by changing line in function wc_get_attribute_taxonomies from$raw_attribute_taxonomies = get_transient( 'wc_attribute_taxonomies' );
to$raw_attribute_taxonomies = false;
and refreshed backend attributes list. Everything backs to normal thanks towp_cache_set( $cache_key, $attribute_taxonomies, 'woocommerce-attributes' );
I know that I can clear cookies by myself, but unfortunately, all users have to do the same. As I suggested there were two different paths in cookie keys / and /pl/ (locale). The reason for this was probably caused by the localization plugin which adds locale to the URL subpath. Maybe the previous value was set with the language path.
Already solved it by removing cookie entry using javascript.What helped me. Pay attention to path/
jQuery(document).ready(function($){ var ca = document.cookie.split(';'); if (ca.indexOf(' complianz_policy_id=12') !== -1 || ca.indexOf('complianz_policy_id=12') !== -1 ) { document.cookie = 'complianz_policy_id=; Path=/pl/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } });
As I found there is an issue with the cookie key “complianz_policy_id”. After today’s update, I had two with values 12 and 13. After removing entry with value 12 it works as it should. With both entries “complianz_consent_status”, “cmplz_stats”, “cmplz_marketing” are not persistent.
As I saw also there was a difference for both entries in PATH. complianz_policy_id with value 12 had a path /pl (polish locale) and the second one with value 13 had a path /
- This reply was modified 3 years, 9 months ago by smecnarowski.
- This reply was modified 3 years, 9 months ago by smecnarowski.