New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My Parent Pages Are Still Missing In Gutenberg #9441
Comments
Do you have a security plugin on your website? Do you Cloudflare? 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? |
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. |
The screenshot is showing the "pages" and not the "posts". I think pages don't support categories by default right? |
I guess you're referring to the "parent page" selector. |
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 |
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). |
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? |
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 Were you able to sort this out? |
@danielbachhuber - not yet. Actually just getting a chance to sit and look more into it now. |
I know for sure it's over 200 pages (that includes both parent and subpages) |
@Janatomy Can you provide a specific count? Here's where you can reference it: 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: |
Sorry...I had already logged out when answering your last question - 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? |
@Janatomy Thanks. Can you look at your PHP error logs to see if there are any relevant details? |
I am just now getting back to looking into this. I clicked on the link next to the error message that was noted as being the problem above and this is what it says: {"code":"rest_forbidden_per_page","message":"Sorry, you are not allowed make unbounded queries.","data":{"status":401}} |
I am having the same issues with not seeing my categories and my tags are not sticking. I am NOT a fan of Gutenberg. I do not have security settings that I know of. Also, I do not have plugins, as I am on wordpress.com, not .org |
I tested with the following steps using WordPress 4.9.8 and Gutenberg 4.5.1:
Result: I can see the option for Parent Page in the document settings sidebar for a site running Gutenberg 4.5.1 with no other plugins.
@Janatomy are you able to update to the latest version of Gutenberg (currently 4.5.1) and test again?
Pages are not allowed to have categories in WordPress by default. Are you saying categories when you mean parent page or are you perhaps using a theme which has made some modifications to allow categories? To confirm, the problem persists for you if you deactivate all other plugins except Gutenberg? May I ask what theme you are using for reference? |
@amoree97 I'm really sorry to hear about your troubles! Because Gutenberg on WordPress.com has received some recent updates, may I ask you to try testing categories and tags again and report it to WordPress.com support if you're still having problems? I tested adding categories and tags to a new post on a WordPress.com site just now and was able to do so without any problems. I also made sure I was able to set parent categories for posts and parent pages for pages. I tested using a free site without any plan. To contact WordPress support, first log in at https://wordpress.com/ and then go to https://wordpress.com/help/contact — it will help them to know some steps you're taking right before you see the problem, the full URL of the page where you're testing, and any other relevant details you can think of such as if you've more than several hundred categories or tags saved on your site. |
When I closed the program and restarted my computer everything was back to
normal. So far it is working, but I am still a long way from being a
Gutenberg fan. It is just not as user-friendly as Wordpress used to be.
Nothing is readily accessible. You have to click to get to things that I
use often and that irritates me to no end.
What was wrong with the old program? I am not sure why people believe that
change for the sake of change is a good thing. (See image) I want to always
see the Document info, and that is not the case. Not a big deal if I only
had to click it once, but I am continually having to reopen that and it is
quite irritating.
[image: Screen Shot 2018-11-30 at 6.11.50 PM.png]
There are things that I use in every book review post (the section for Book
Details) and I have them saved on a page. I have to copy all the sections
one by one to get them to the new page to use them. UGH...the frustration
of that! If I copy and paste from my Notes app, I get a gobbled-dy goop of
junk that I have to clean off to be able to use it. This used to be a very
simple task of fewer than 5 seconds that now takes minutes to complete.
Also, when I add these, instead of just hitting the enter key to add more
text, I have to choose to add a block. Extremely frustrating. Why can we
not just hit the enter key like before and start typing? This is NOT a
change for the better. Any time you add a step to things it is not better,
it is more time consuming and more discouraging and this is making me
really consider looking for a new platform.
[image: Screen Shot 2018-11-30 at 6.25.45 PM.png]
There are also 2 pages (Reviews by Author
<https://propensitytodiscuss.wordpress.com/reviews/reviews-by-author/>
and Reviews
by Title <https://propensitytodiscuss.wordpress.com/book-reviews-list/>)
that I add to with each book review I post. Now it asks if I want to
unpublish these pages to be able to edit them. I do NOT want to unpublish
them and republish because I do not want to send unnecessary notices to my
readers. I just want to add to them and update so that it gets done, but no
one is notified. Not only for the extra notices, but also because sometimes
I add links that are not yet live (scheduled to post later), and I do not
really want to call attention to that.
So, even though the reason that I wrote seems to be fixed, there are other
issues that need to be fixed, or at the very least reverted to what they
were before. Or at least give users a choice as to which platform they
would like to use.
*Alicia Moree*
*Propensity to Discuss <http://propensitytodiscuss.wordpress.com>*
…On Thu, Nov 29, 2018 at 6:06 PM Sheri Bigelow ***@***.***> wrote:
@amoree97 <https://github.com/amoree97> I'm really sorry to hear about
your troubles! Because Gutenberg on WordPress.com has received some recent
updates, may I ask you to try testing categories and tags again and report
it to WordPress.com support if you're still having problems? I tested
adding categories and tags to a new post on a WordPress.com site just now
and was able to do so without any problems. I also made sure I was able to
set parent categories for posts and parent pages for pages. I tested using
a free site without any plan. To contact WordPress support, first log in at
https://wordpress.com/ and then go to https://wordpress.com/help/contact
— it will help them to know some steps you're taking right before you see
the problem, the full URL of the page where you're testing, and any other
relevant details you can think of such as if you've more than several
hundred categories or tags saved on your site.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9441 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aqjpw6JRavcxs4QzBMg6T6DKIxYF1Kg-ks5u0Gh6gaJpZM4WR9-3>
.
|
I spent a bit more time with this and figured it out. The site I'm working with has 2400+ pages and I was looking too quickly. It appears that Gutenberg makes multiple requests to the API until all of the pages are returned, limiting each call to 100 items. After the 25th API request to the Theory: The page selector is actually working, but for sites with a high number of pages (and/or a site where the API is returning relatively slow), it takes so long to render it feels broken. In my use case, the first thing I wanted to do when starting a new page was set the parent before I forgot. For the API, it took about 2500ms for each response and at 25 responses, that was over a minute before all of the items were returned and the selector was rendered. Suggestion: If verified, what about some type of loading indicator if nothing else? |
The parent page dropdown still isn't appearing, using the latest versions... why hasn't this been fixed yet? |
@leecollings it is not happening for all sites and that is one reason why something might be lower in priority over something else. Issues that appear to only apply to some sites or that are difficult to reproduce can take longer than others. It also depends a lot on what else is ahead of it in the queue. For cases like this, it's helpful to note the details of your case when you add a reply. For example, noting the total number of pages on a site you are working with where you can see the problem happen. |
I'm wondering if loading in all the pages is really the way to go here, or if loading in the X most recent ones and adding a typeahead like search would be a better experience? |
The problem is the way the request is being performed. See #13618.
Quick edit and the Classic editor have absolutely no problems in listing the pages. |
Hello, |
When we have a large number of pages, we can use an accessible autocomplete component to enable search/selecting. See #7385 where work is ongoing to solve a similar issue with the post author selector for sites with many users. |
It's almost one year ago since this issue is opened but it's still there! Our website has more than 300+ pages and not all pages are listed (even after waiting times). What makes this worse is if we updated a child page with a parent page, the URL will be changed and the value of |
I started work on implementing an accessible-autocomplete for sites with a large number of pages in #16666. |
I have this problem on my WordPress site, which is a University website with thousands of pages. I get a 500 error after around 3 minutes and 50+ pages of calls to the REST API. I can see that the full post data (including content) is being returned, which seems very inefficient. |
I had this problem too, in french and and the accents "ê, é, è etc..." seems to be the reason why my page did not show up in the attribute >> parent Hope it helps |
I also have this problem but luckily it works using quick modification.
Thank you for your work to resolve this bug. |
I was having the same issue seeing the parent selector. I installed this plugin (Disable Gutenberg) and it fixed it. |
The original message was received at Tue, 26 May 2020 16:23:49 +0200
from vsmtp17.inforoutes.fr [46.18.231.70]
…----- The following addresses had permanent fatal errors -----
<jferreira@alia8.inforoutes.fr>
(reason: 550 Host unknown)
----- Transcript of session follows -----
550 5.1.2 <jferreira@alia8.inforoutes.fr>... Host unknown (Name server: alia8.inforoutes.fr: host not found)
|
@pnrma - that would be a great solution, not requiring all Pages to be queried on page load, but still allowing editors to search for and find any Page they need to select. @maowebsolutions - hopefully that may help others, but disabling the Block Editor isn't a solution for me. I'm taking advantage of a number of blocks and finding it frustrating that Classic Editor functionality has been lost rather than added to in this case. |
The original message was received at Tue, 26 May 2020 16:56:06 +0200
from vsmtp17.inforoutes.fr [46.18.231.70]
…----- The following addresses had permanent fatal errors -----
<jferreira@alia8.inforoutes.fr>
(reason: 550 Host unknown)
----- Transcript of session follows -----
550 5.1.2 <jferreira@alia8.inforoutes.fr>... Host unknown (Name server: alia8.inforoutes.fr: host not found)
|
For others who may find this issue, a temporary fix is to apply a filter that forces the REST API to pull more Pages: https://wordpress.org/support/topic/how-to-filter-parent-page-posts_per_page-value-in-gutenberg-editor/#post-12871582 |
The original message was received at Tue, 26 May 2020 16:56:54 +0200
from vsmtp17.inforoutes.fr [46.18.231.70]
…----- The following addresses had permanent fatal errors -----
<jferreira@alia8.inforoutes.fr>
(reason: 550 Host unknown)
----- Transcript of session follows -----
550 5.1.2 <jferreira@alia8.inforoutes.fr>... Host unknown (Name server: alia8.inforoutes.fr: host not found)
|
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?
The text was updated successfully, but these errors were encountered: