isarisar
Forum Replies Created
-
Hi @jarnovos,
I’ve sent a message via your site’s form.
Ugh, I’m able to answer my own question: It was spurious operation. Now it’s back to erroring out again.
Hi @jarnovos,
I just installed Complianz 5.2.2 (over 5.1.0) and right now the integration seems to work properly (unfortunately I forgot to check again before updating).
Did you already push related fixes or is it maybe another case of spurious operation?
In any case, thank you for the support!
Not that I know of, really. Plugin and content updates, but nothing that ought to have changed the basic structure.
Hello @aahulsebos,
apologies for now forgetting to reply myself.
Unfortunately I still see the same error. Tested with a new Chrome profile, too.
My Chrome is 93.0.4542.2 (dev).
Which browser are you using?
Same bug with Firefox 89.0.1:
Uncaught TypeError: window.pys is undefined Pinterest https://isartau.de/ line 2 > injectedScript:1 <anonymous> https://isartau.de/ line 2 > injectedScript:22 <anonymous> https://isartau.de/ line 2 > injectedScript:22 jQuery 11 cmplzEnableMarketing https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 jQuery 2 cmplzEnableMarketing https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 cmplzFireCategories https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 cmplzAcceptAllCookies https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 <anonymous> https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 jQuery 2 line 2 > injectedScript:1:56 Pinterest https://isartau.de/ line 2 > injectedScript:1 <anonymous> https://isartau.de/ line 2 > injectedScript:22 <anonymous> https://isartau.de/ line 2 > injectedScript:22 jQuery 11 cmplzEnableMarketing https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 jQuery 2 cmplzEnableMarketing https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 cmplzFireCategories https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 cmplzAcceptAllCookies https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 <anonymous> https://isartau.de/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=5.1.0:1 jQuery 2
- This reply was modified 3 years, 9 months ago by isarisar.
Hi @aahulsebos,
done. All sections for manual additions are now empty in the script center; WP Rocket cache was again cleared afterwards.
Listed as detected plugins are:
- Variation Swatches for WooCommerce
- PixelYourSite Pro
- PixelYourSite Pinterest (3.1.2 now)
- WP Rocket
Though I’ve only just installed it into out internal testing environment (overwriting 5.0.3’s folder), and it bugs out with
jquery.min.js?ver=3.5.1:2 Uncaught TypeError: Cannot read property 'initialise' of undefined at cmplz_cookie_warning (complianz.min.js?ver=5.1.0:1) at conditionally_show_warning (complianz.min.js?ver=5.1.0:1) at HTMLDocument.<anonymous> (complianz.min.js?ver=5.1.0:1) at e (jquery.min.js?ver=3.5.1:2) at t (jquery.min.js?ver=3.5.1:2) cmplz_cookie_warning @ complianz.min.js?ver=5.1.0:1 conditionally_show_warning @ complianz.min.js?ver=5.1.0:1 (anonymous) @ complianz.min.js?ver=5.1.0:1 e @ jquery.min.js?ver=3.5.1:2 t @ jquery.min.js?ver=3.5.1:2 setTimeout (async) S.readyException @ jquery.min.js?ver=3.5.1:2 (anonymous) @ jquery.min.js?ver=3.5.1:2 e @ jquery.min.js?ver=3.5.1:2 t @ jquery.min.js?ver=3.5.1:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.5.1:2 c @ jquery.min.js?ver=3.5.1:2 fireWith @ jquery.min.js?ver=3.5.1:2 fire @ jquery.min.js?ver=3.5.1:2 c @ jquery.min.js?ver=3.5.1:2 fireWith @ jquery.min.js?ver=3.5.1:2 t @ jquery.min.js?ver=3.5.1:2
edit: Ugh, never mind, after rolling back to 5.0.3 that issue is still there. Not in production though, fortunately.
- This reply was modified 3 years, 10 months ago by isarisar.
Oh, I’m sorry I forgot to enable the test yesterday.
Alright, I’ll inform you once the plugin is rolled out via the regular channel.
Oh, you meant install on our production site (the trace is from my local dev copy).
Not too happy about enabling a known bug on prod, but I’ll do it on the next workday here (upcoming Tuesday).
Still no change, unfortunately.
VM3049:7 Uncaught TypeError: Cannot read property 'Utils' of undefined at <anonymous>:7:32 at <anonymous>:279:6 at <anonymous>:284:2 at b (jquery.min.js?ver=3.5.1:2) at Function.globalEval (jquery.min.js?ver=3.5.1:2) at text script (jquery.min.js?ver=3.5.1:2) at jquery.min.js?ver=3.5.1:2 at l (jquery.min.js?ver=3.5.1:2) at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.5.1:2)
Actually: Looking at it again, it doesn’t appear to be misplaced anymore. The order seems the same with or without Complianz – but only with Complianz enabled does the error appear.
[Only with pixelyoursite-pinterest/dist as a URL in the script center does the relevant line get recognized / marked by “class=”cmplz-script cmplz-activated”“. But without effect as far as the error is concerned.]
Hi, I’ve tried again now to enable pixelyoursite-pinterest with Complianz 5.0.3, and unfortunately it continues to fail just the same as before (that is: it’s still pushed before the main plugin, so remains failing trying to access that one’s Utils).
The problem seems to be the unconditional
position: absolute
@ line 2076 (dropdown_with_flags
section) in gtranslate.php (v2.8.62).You can test this by setting the Widget look to “Flags”. Different style, but should be placed within the menu.
If this confirms that that’s the cause for you too, to fix either ① add
#gtranslate_wrapper {position: relative !important}
to the Additional CSS in your Customizer, or ② (not recommended) remove the offendingstyle="position:absolute;"
via the Plugin Editor.To use “Nice dropdown with flags” properly you’ll need two more changes – otherwise it’ll ① be placed misaligned, ② move the entire menu bar when dropping down, and ③ (if applicable to your theme) be wrongly padded in the mobile menu:
Either, in the plugin’s “Widget code (for advanced users)”…
- in
.switcher
, remove theoverflow:hidden;
and add (for centering in the mobile menu)margin: auto;
- at
.switcher .option
, changeposition:relative;
toposition:fixed;
- add
#mobile_menu #gtranslate_wrapper > div.switcher.notranslate > div.selected > a {padding:5px}
… or, again in the Customizer, further add
#gtranslate_wrapper > div.switcher.notranslate {overflow: initial;margin:auto;} #gtranslate_wrapper > div.switcher.notranslate > div.option {position:fixed;} #mobile_menu #gtranslate_wrapper > div.switcher.notranslate > div.selected > a {padding:5px}
(BTW, question for dev & mod: Why is the access to “browse the code” & the development log banned with a 403 Forbidden?)
Unfortunately, while PYS Pro now seems to work out of the box, its addon plugins (like the Pinterest one) still do not, continuing to fail as they’re not delayed (they try to run even before consent is given) until the main plugin has initialized:
Uncaught TypeError: Cannot read property ‘Utils’ of undefined
(some unrelated suggestions:
- “Do you compile statistics of this website?” question could use a “Yes, with another plugin” as answer
- “Does your website use cookies for advertising?” could use an explanation how it’s different from “Are any of your advertising cookies used to show personalized ads?”
)