-
AuthorPosts
-
October 21, 2013 at 3:53 pm #178458
Hi,
I’m using this plugin for the Cookie Law: http://goo.gl/LRRIsL
When clicking on “More Info”, the browser jumps to the bottom of the page, which isn’t supposed to happen. When checking the Debug in WP backend I see the following line: NOTICE: wp-content/plugins/CookieInfo/inc/class.settings-api.php:94 – Undefined index: descI’ve contacted the author of that plugin, but he claims it’s a conflict from within the Enfold theme. So here I am, asking Enfold support to see if there’s a fix for it.
Sometimes I get 502 errors in both frontend and backend of my site, maybe this is the culprit.
October 23, 2013 at 7:05 am #179511Hi DavyE!
The easiest and probably best route would be to switch to a different plugin. There are quite a few available for the same functionality and if there is a conflict this basic its most likely going to cause others with additional plugins.
Cheers!
DevinOctober 23, 2013 at 9:13 am #179541It’s really a shame to hear as it basically means I’ve wasted money.
But you are totally right. I’ve tried many plugins in combination with Enfold, many way more complex than this Cookie plugin. If those complex plugins can run without conflicts, this one should too. I’ll contact the author again to see if he is willing to correct it. If not, then I guess someone is getting a lower rating on Envato. :(Thanks for the info, Devin.
October 23, 2013 at 9:58 am #179549Hey!
I wonder how the Enfold theme can conflict with this plugin. Especially because the php notice (NOTICE: wp-content/plugins/CookieInfo/inc/class.settings-api.php:94 – Undefined index: desc) indicates that the plugin tries to access an array value which is not defined and this error as nothing to do with the theme. You can try some free plugins from here: http://wordpress.org/plugins/search.php?q=cookie if the plugin author can’t help you.
Best regards,
PeterOctober 23, 2013 at 10:03 am #179552I was wondering the same thing when the author explained that to me, but I’m no expert in these things so I can’t find out myself. This is what the author explained:
The theme that you are using is using a smooth scroll plugin which animated the scrolling of anchor links within your page. This is causing the conflict with cookieinfo’s more info link since it has is a anchor link and since the code for cookieinfo is added to the bottom of the html document, it is scrolling down to that position. The debugger error has nothing to do with the scrolling issue.
I know there are free plugins, but the whole reason I buy premium items is that I could ensure premium quality. What if a free plugin stops being updated when WP updates? Premium files on Envato usually are of premium quality and make sure they stay compatible. How disappointing and frustrating this is.
October 23, 2013 at 10:05 am #179553Anyway, I don’t want to bother you guys with this stupid issue any longer. It’s up to the author to fix it or I’m looking for a new one.
Thank you very much for taking the effort to give me your feedback on this.
October 23, 2013 at 5:27 pm #179814Hi!
I’m not familiar with the cookie plugin code but basically you can avoid the smooth scroll effect by calling the preventDefault method. If this is not possible ask the author if you can add
class="no-scroll"
to the links. The class will deactivate the scroll function.
Cheers!
Peter -
AuthorPosts
- The topic ‘Conflict with Cookie Law Compliance WP plugin’ is closed to new replies.