-
AuthorPosts
-
April 20, 2016 at 1:15 pm #618274
And I bought many Enfold licenses, I manage many web sites with Enfold and I bought a new licence for each !
So I hope you will solve the problem quickly : any upgrade to WordPress 4.5 fails with the following error , using today Enfold 3.5.2 version and version just before
Error: Syntax error, unrecognized expression: .main_menu .menu li > a[href*=#] t</fa.error() jquery.js:2 t</fa.tokenize() jquery.js:2 fa() jquery.js:2 .find() jquery.js:2 a.fn.find() jquery-migrate.min.js:2 AviaScrollSpy() avia.js:139 $.fn.avia_scrollspy/<() avia.js:260 .each() jquery.js:2 n.prototype.each() jquery.js:2 $.fn.avia_scrollspy() avia.js:256 $.avia_utilities.avia_ajax_call() avia.js:81 <anonyme> avia.js:58 n.Callbacks/i() jquery.js:2 n.Callbacks/j.fireWith() jquery.js:2 .ready() jquery.js:2 K() jquery.js:2
I’ve tested laready add_action(‘init’, ‘modify_jquery’); in my functions.php, or commenting the 2 lines in avia.js, nothing helps ..
Is that a jqeury pb or Enfold pb ?Thanks, urgent ! I cannot upgrade to WP 4.5
April 22, 2016 at 5:29 am #619495Hey Luc,
Please try adding the following to the bottom of your functions.php file:
function modify_jquery() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js'); wp_enqueue_script('jquery'); } } add_action('init', 'modify_jquery');
Thanks,
RikardApril 22, 2016 at 10:24 am #619698Well I don’t understand what’s happening now.
After unsuccessful WP 4.5 upgrade 2 days ago, I had then restored the site previous version to go on update it.Then 10 mn ago I just upgrade it again to test your solution in functions.php, and now it works without changing anything !
Console browser don’t display any error now.Then I decide to upgrade another website to WP 4.5, and I have the problem on that one : in that case your update seems to solve the problem.
So does it mean that the last jquery is bugged or Enfold is bugged ?
April 22, 2016 at 10:39 am #619720Because is WP 4.5 is bugged, I won’t upgrade. And if Enfold is bugged, I will upgrade !
Please answer quickly, I have many Enfold web sites to manage.Thanks.
April 22, 2016 at 1:23 pm #619888Hi!
It is WordPress update related. You can refer to this post to resolve compatibility issues – https://kriesi.at/support/topic/having-problems-after-updating-to-wordpress-4-5-please-read-this-first/
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.