![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: Cookie Consent, DSGVO, GDPR, iOS, safari
-
AuthorPosts
-
October 4, 2019 at 3:14 pm #1144992
Hi there,
since updating to version 4.6.3.1 neither the cookie consent bar nor the cookie badge work on any Safari browsers (neither desktop nor mobile variants).
We also noticed an error on line 629 in “avia-snipped-cookieconsent.js” (!undefined is not an Object (evaluating “msTrackingProtectionEnabled”), which might cause the issue.
Also, when you enable “AUTO RELOAD PAGE” setting in the backend and change your cookie settings in the frontend (like e.g. “accept all”) a “”>” sign appears in the footer, as if a class doesn’t get properly closed.
It’s very important for us to get the issue sorted as quickly as possible as our customers in Germany rely on a working cookie consent solution.
-
This topic was modified 4 years, 11 months ago by
linus303.
October 5, 2019 at 5:13 am #1145208Hey linus303,
Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 5, 2019 at 5:50 pm #1145331Hi, i have the same problem.
Could you share the solution that I will be able to fix it on my wp?October 6, 2019 at 12:41 pm #1145443Hi mambochic,
Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.
Best regards,
RikardOctober 7, 2019 at 9:59 am #1145696Hi there,
have a look at the login credentials. It affects *every* Enfold installation, by the way. It’s not specific to our case.
-
This reply was modified 4 years, 11 months ago by
linus303.
October 7, 2019 at 6:05 pm #1145865Hi,
Could you please replace /enfold/js/avia-snippet-cookieconsent.js file with this one – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_6_3/avia-snippet-cookieconsent.js?
Theme Editor is missing under Appearance tab, therefore i could not update the file. I tested on my local installation and it works. Please make sure to flush cache.Cheers!
YigitOctober 7, 2019 at 6:38 pm #1145873For me works, now i can see the cookie bar.
But in Console now i see this error:Failed to load resource: the server responded with a status of 404 (Not Found)
https://www.mydomain.com/undefinedOctober 7, 2019 at 6:44 pm #1145875Hi,
I cleared cache however i am still seeing the error you mentioned in your initial post in console. 404 error is not present in my localhost.
Could you please post FTP logins here privately so we can look into it?
Edit: I checked @linus303 website. @mambochic could you please start a new thread under Enfold sub forum and share FTP and WP admin logins so we can look into it? :)Best regards,
Yigit-
This reply was modified 4 years, 11 months ago by
Yigit.
October 8, 2019 at 10:52 am #1146096Hi there,
thank your for a quick solution, Safari browsers work now.
However, there is still a bug regarding the “av-cookie-auto-reload-container” class that doesn’t get closed properly and causes a “<” sign to be shown in the footer after you declined or accepted the cookie message bar.
I attached a screenshot, have a look!
EDIT: It’s the /includes/helper-privacy.php file
EDIT: I fixed it on my own with a temp fix – you should still release an updated version of that file, as everybody else will run into that issue.-
This reply was modified 4 years, 11 months ago by
linus303.
October 8, 2019 at 12:02 pm #1146123Hi,
Thanks and sorry for that.
The fix is in this file: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_6_3/helper-privacy.php
Replace /includes/helper-privacy.php.
Alternate you can replace in code:
Around line 1522:
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . $reload . '"></a>';
replace with:
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . esc_attr( $reload ) . '"></a>';
Will be part of the next update.
Best regards,
GünterOctober 9, 2019 at 10:37 am #1146455Could you please replace /enfold/js/avia-snippet-cookieconsent.js file with this one – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_6_3/avia-snippet-cookieconsent.js?
I had the same problem in Safari (mobile and desktop) and this fix resolved my issue. Thank you!
-
This reply was modified 4 years, 11 months ago by
crowdlauf.
October 14, 2019 at 10:27 am #1147783Will this be fixed in the next update? When is the next update coming up?
October 15, 2019 at 11:12 am #1148027Hi,
@spitsdesign yes, it will be included in upcoming version. We do not have ETA yet as there are still some fixes and improvements that we are working on.Best regards,
YigitOctober 16, 2019 at 2:07 pm #1148466Hello,
copied the new code as specified – but it still doesn’t work in Safari – neither mobile nor desktop.
Alexander
October 16, 2019 at 6:20 pm #1148565For me the fix with avia-snippet-cookieconsent.js works for one site, I’ve tried on another site that also don’t display Google Maps but is not working.. We must replace both files helper-privacy.php and avia-snippet-cookieconsent.js ?
I’ve replaced both files with no results..
October 17, 2019 at 10:27 am #1148856Hi,
You are using enfold script merging.
Please try to disable it in theme options, save theme options, clear server and browser cache and check frontend.
Then enable it again,save theme options, clear server and browser cache again and check frontend.Best regards,
GünterOctober 17, 2019 at 10:42 am #1148864Ok Günter, It works..
ThanksOctober 17, 2019 at 3:35 pm #1148947Hallo Günter, Danke hat nun funktioniert!
October 18, 2019 at 1:19 pm #1149250 -
This topic was modified 4 years, 11 months ago by
-
AuthorPosts
- The topic ‘Cookie Consent Bar’ is closed to new replies.