Gutenberg Issue: Parent Selector Not Working
-
I’ve been getting our site ready for Gutenberg and noticed that the Parent Page drop down box under Page Attributes fails to load in the editor.
If I use the inspector and go to the network tab I noticed that there is a json error when WordPress is trying to populate the Parent Page drop down box. WordPress initiates this process via the following file:
/wp-includes/js/dist/api-fetch.min.js
The file loads 100 pages at a time and fails on page 16.
/wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=33571&parent_exclude%5B0%5D=33571&orderby=menu_order&order=asc&context=edit&_locale=user&page=16
Our website has a lot of pages (3,148) so populating this drop down box takes time.
I was able to trace the error back to the Photonic plugin. When disabled the theme and all plugins the Parent Page loads in the editor. I then turned the theme back on and plugins one by one to test where the issue was. Photonic plugin causes this process in the new Gutenberg editor to fail if there are a lot of pages.
Is there a way I can stop your plugin from loading anything in the editor? I don’t use the wizard in the editor, I merely hand code a shortcode in my page if I want to add a gallery. If I can keep the plugin from loading in the editor I can still use your excellent plugin, but have the very important Parent Page selector functioning.
Thank you for any advice you can give me!
- The topic ‘Gutenberg Issue: Parent Selector Not Working’ is closed to new replies.