-
AuthorPosts
-
January 5, 2019 at 10:45 pm #1050418
Hi,
I have wordpress 5.0.2 and the plugin “disable gutenberg” active.
Now I have noticed, that I cannot insert any image or gallery with the button above the standard editor.
It does not insert any gallery (shortcode) and the images do not appear.In JS Console the following error is shown (note, that it seems that the right shortcode is generated in the first line):
jquery.js?ver=1.12.4:2 Uncaught Error: Syntax error, unrecognized expression: [gallery ids="13023,13022"] at Function.fa.error (jquery.js?ver=1.12.4:2) at fa.tokenize (jquery.js?ver=1.12.4:2) at fa.select (jquery.js?ver=1.12.4:2) at Function.fa (jquery.js?ver=1.12.4:2) at Function.jQuery.find (jquery-migrate.js?ver=1.4.1:290) at n.fn.init.find (jquery.js?ver=1.12.4:2) at n.fn.init.jQuery.fn.find (jquery-migrate.js?ver=1.4.1:677) at jQuery.fn.init.n.fn.init (jquery.js?ver=1.12.4:2) at new jQuery.fn.init (jquery-migrate.js?ver=1.4.1:241) at jQuery.fn.init.n [as constructor] (jquery.js?ver=1.12.4:2)
I cannot find any solution in the internet for that problem.
I have also tried to disable all plugins and also to re-install the lates wordpress version again. Same issue.I have also tried to run the code from your forum to disable Gutenberg:
// disable for posts add_filter('use_block_editor_for_post', '__return_false', 10); // disable for post types add_filter('use_block_editor_for_post_type', '__return_false', 10);
instead of the plugin disable gutenberg or the alternate plugin Classic Editor.
Same error all the time!Hopefully you can help me!
Best Regards,
MichaelJanuary 5, 2019 at 11:03 pm #1050421I have found the problem within the Plugin
Profile Picture
which JS code breaks the pic insert functionality
So this case is solved!
Thank you,
Best Regards,
MichaelJanuary 6, 2019 at 8:26 am #1050524 -
AuthorPosts
- You must be logged in to reply to this topic.