There are some posts about this error for Drupal 7, but I’m using Drupal 8.1 and those solutions don’t work for D8.
I tried this patch (coded for D7) and doesn’t work.
The effect of the error is that QuickEdit doesn’t work: sometimes the quick edit link doesn’t appears, sometimes it appears but when edit some fields I get error.
Can anybody help?
UPDATE for neograph: I haven’t changed anything about the loading of the javascript. The only thing I did is edit the my_theme.libraries.yml
for adding JS plugins:
global-css: css: theme: #css/style.css: { } dist/css/style.css: { } global-js: js: #js/script.js: { } bower_components/slick-carousel/slick/slick.min.js: { } bower_components/slicknav/dist/jquery.slicknav.min.js: { } bower_components/superfish/dist/js/superfish.min.js: { } dist/js/script.js: { } dependencies: - core/jquery