I am getting this error in my console which is causing some other JS items not to work
Uncaught TypeError: $(...).find(...).once is not a function
at Object.attach (eval at globalEval (jquery.min.js?v=2.2.3:2), <anonymous>:156:44)
at Object.Drupal.attachBehaviors (drupal.js?v=8.2.5:168)
at insert (ajax.js?v=8.2.5:1084)
at Drupal.AjaxCommands.loadEditorsAjax.commands.insert (quickedit.js?v=8.2.5:523)
at Drupal.Ajax.success (ajax.js?ojj3xe:155)
at Object.success (ajax.js?v=8.2.5:505)
at i (jquery.min.js?v=2.2.3:2)
at Object.fireWith [as resolveWith] (jquery.min.js?v=2.2.3:2)
at z (jquery.min.js?v=2.2.3:4)
at XMLHttpRequest.<anonymous> (jquery.min.js?v=2.2.3:4)
My current Drupal version 8.2.5 is using jquery 2.2.3 so I am not sure what is going on here.
Any ideas? I tried updating jquery to 3.0.0 but that didn't work. Same error.
bootstrap.js
..once()
is not a jQuery core method. There is probably a plugin that creates the.once()
method but jQuery core wouldn't be the issue. From your trace it appears to be an issue with an editor AJAX response.