gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

My Parent Pages Are Still Missing In Gutenberg

Open Janatomy opened this issue 8 years ago • 56 comments

My parent categories are still not displaying when I am building a page using Gutenberg. When I switch to the Classic Editor, the categories are all there.

I read on a few closed threads that this particular issue would be fixed with the next Gutenberg update (3.0 I believe), which seemed as if that was suppose to be sometime last week. I have deactivated and reinstalled my plug-ins, including Gutenberg, but I am still having the same issue.

When can I expect to see this issue resolved?

Janatomy avatar Aug 29 '18 17:08 Janatomy

Do you have a security plugin on your website? Do you Cloudflare? It can also be a "plugin incompatibility", so you might want to try disabling plugins to find the conflicting one.

Can you check the JavaScript console for potential errors? If you're familiar with the network tab in the dev tools, can you check the response of the request fetching the categories?

youknowriad avatar Aug 29 '18 23:08 youknowriad

Noting there's an example of a plugin conflict with iThemes Security at #8763.

I tested with WordPress 4.9.8 and Gutenberg 5a630c2cf (3.7-beta) just now and I am able to see parent categories in Settings (gear icon) > Document when creating a new post.

designsimply avatar Aug 29 '18 23:08 designsimply

Sorry for the delay in responding.

We do have an anti-spam plugin. I have deactivated each plugin, including Gutenberg. The categories only appear when I am using the Classic Editor. I am not familiar with the network tab, but I guess there's no better time than now to become familiar with it.

Janatomy avatar Sep 04 '18 13:09 Janatomy

screenshot 60

This is what I am seeing when creating a page in Gutenberg

Janatomy avatar Sep 04 '18 13:09 Janatomy

The screenshot is showing the "pages" and not the "posts". I think pages don't support categories by default right?

youknowriad avatar Sep 04 '18 13:09 youknowriad

I guess you're referring to the "parent page" selector.

youknowriad avatar Sep 04 '18 13:09 youknowriad

I've always created pages (with the Classic Editor, of course).

Yes - I am referring to the "Parent Page" selector. I have well over 100 categories that I've used to build pages and I definitely don't want to lose them

Janatomy avatar Sep 04 '18 13:09 Janatomy

I can confirm that I personally see the parent page selector, It would be great if you can look for the API request retrieving the pages in the network tab of your browser's console and see what's wrong (what content it returns).

youknowriad avatar Sep 04 '18 13:09 youknowriad

Okay- I am not that familiar with the network tab. Can you give me a bit more direction, or is there another thread that you know of that can guide me through it?

Janatomy avatar Sep 04 '18 13:09 Janatomy

I just remembered this was mentioned in the above comments: "Gutenberg 5a630c2 (3.7-beta)", I will look through it to see if it will help.

Janatomy avatar Sep 04 '18 13:09 Janatomy

@Janatomy Were you able to sort this out?

danielbachhuber avatar Sep 11 '18 00:09 danielbachhuber

@danielbachhuber - not yet. Actually just getting a chance to sit and look more into it now.

Janatomy avatar Sep 12 '18 17:09 Janatomy

These are the two errors that were flagged. Guidance anyone? I am new to this so any help is appreciated.

screenshot 63

Janatomy avatar Sep 12 '18 18:09 Janatomy

@Janatomy It looks like this is your specific problem:

image

How many pages do you have in total?

Related #6694

danielbachhuber avatar Sep 12 '18 20:09 danielbachhuber

I know for sure it's over 200 pages (that includes both parent and subpages)

Janatomy avatar Sep 12 '18 20:09 Janatomy

@Janatomy Can you provide a specific count? Here's where you can reference it:

image

Also, it would be great if you could switch to the "Network" tab in Chrome Developer tools, find the specific failed API request, and share the full contents of the response. Here's what that looks like on my site:

image

danielbachhuber avatar Sep 12 '18 20:09 danielbachhuber

Sorry...I had already logged out when answering your last question - I have 416 pages total

Janatomy avatar Sep 12 '18 20:09 Janatomy

I have 416 pages total

Ok, thanks for that.

Can you switch to the "Network" tab in Chrome Developer tools, find the specific failed API request, and share the full contents of the response?

danielbachhuber avatar Sep 12 '18 20:09 danielbachhuber

screenshot 67

Janatomy avatar Sep 12 '18 20:09 Janatomy

@Janatomy Thanks. Can you look at your PHP error logs to see if there are any relevant details?

danielbachhuber avatar Sep 12 '18 20:09 danielbachhuber