simonseddon
Forum Replies Created
-
Hi Richard,
I’ve having the same JS error. Line 58 seems to be causing it:
if (jQuery.cookie(ACCEPT_COOKIE_NAME) == null) { displayHeader(); }— generates the following error:
Uncaught TypeError: Object function (e,t){return new y.fn.init(e,t,n)} has no method ‘cookie’
Using WP 3.5 / Plugin v1.1.2
Any clues?Forum: Fixing WordPress
In reply to: jQuery error on 3.6 upgrade jquery-1.10.2.min.map 404I sorted this by de-registering jQuery in functions.php:
<?php wp_deregister_script( 'jquery' ); ?>
– really didn’t like having a wp-includes/ directory in my source code.Obviously you need to register a new jquery after doing this if your theme relies upon it, but that’s a good thing. I like to control how, where, and which version gets loaded:
http://codex.ww.wp.xz.cn/Function_Reference/wp_register_script
– not forgetting to enqueue it afterwards, of course.This works fine but seems to affect both the front and back-end. Not a problem, but annoying. I’m sure previous versions of WP didn’t do this but I could be wrong.
This has been marked as resolved.
Can I confirm that the fix is to downgrade? I would consider that more a workaround than a resolution.
(although if the root of the problem is with ACF (is it? do all other ACF add-ons fail?) then I guess there’s not much you can do..)