• Resolved jdnn

    (@habannah)


    When I navigate to All Posts, certain functionality breaks if my Screen Options are set to display too many posts. I’m unable to click on Screen Options or Quick Edit (all that happens is that a hashtag gets added the URL).

    When I discovered this yesterday, I tried loading just the Drafts (there are only 6), but still all that functionality wouldn’t work. Here is the troubleshooting I did:

    -I use Firefox (latest version always) but also tested this on Chrome and IE (also both at the latest version). Same thing everywhere.

    -I loaded the All Pages screen and everything works fine there (49 pages total). Same with CPTs, no problem.

    -I signed out of the website, cleared the browser cache, and flushed the cache of my caching plugin. No effect.

    -I deactivated the plugins I thought could be affecting the post list screen, Easy Filter and Admin Columns. No change (and much uglier).

    -I also deactivated Better WP Minify, since I thought perhaps it was affecting the necessary scripts. Still no change!!!

    -I checked the scripts I’ve added manually as well as those I’ve deregistered myself, and everything looks good to me. (NB: I’m using a custom theme based on Underscores.)

    -I turned on debug in the wp-config file and checked the Error Console in the browser — it didn’t display any errors. I reloaded the page again with the Error Console on, and still no errors…

    -I tried, as per some older threads, to turn off javascript concatenation in wp-config, but still no change.

    -I installed Query Monitor to see if it could help, but unfortunately, it seems to rely on the same functionality to work on admin screens, so I wasn’t able to find out much, but it did indicate that the page was timing out.

    -I tried to figure out if there was a way to change the number of posts per page without going through Screen Options, took a look at the Options Table, Googled it, but wasn’t able to find anything useful.

    After spending most of yesterday on this, I decided to put it aside for the time being. Now today, for no reason at all that I can tell, it works when I visit Drafts!

    So, I was able to change the number of posts listed in Screen Options. My setting was 160 posts per page. I changed it to 125 but things still didn’t work in All Posts. I returned to the Drafts to change the Screen Options, next trying 100 posts per page, but it still didn’t work. I then tried 50 posts per page, which works.

    To make sure that everything actually does work as expected, I reactivated Admin Columns, Easy Filter, and Better WP Minify, double-checked all the settings, then visited the All Posts screen again. Everything still worked. I also checked Chrome and IE to make sure, and it’s all good.

    So great, the problem is sort of fixed — so long as I don’t increase the number of posts displayed per page. But I’m sure this is a bug of some kind since it is clearly related to the timeout issue. That seemed strange to me since I have define('WP_MEMORY_LIMIT', '400M'); in my wp-config file…

    I’m not sure if this is the right place to report this issue — but I’m also hoping to find out if there’s a way to increase the number of posts displayed per page on the All Posts screen without affecting the Quick Edit and Screen Options functionality. Many thanks in advance for suggestions!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Looks like you have tried many troubleshooting steps.

    Have tried:

    With all plugins off, switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter jdnn

    (@habannah)

    Thanks for getting back to me, @tara, and sorry for taking so long to reply. The issue has reoccurred today, and I had to visit the Drafts view to decrease the posts per page to 25 in order to get Screen Options and Quick Edit to work on the All Posts view.

    I again tried fiddling with deactivating Admin Columns and with experimenting with various Admin Columns and Easy Filter settings, but that really doesn’t seem to be it. So then, I’m hoping you can tell me which theme functions to look at. I haven’t added or removed anything in my theme that should be affecting the posts list screen, but perhaps there’s a conflict of some sort. Can you point me towards which areas of the theme I should be checking?

    Thanks again!

    Thread Starter jdnn

    (@habannah)

    Hi again @tara, one of the plugins I use, WP Category Permalink, has just updated because of a bug identified in the thread Infinite user meta. After the update, just to see, I increased the posts per page to 50 and it works again. So, I’m wondering if the “infinite user meta” could be the cause of this issue… Thanks for your input!

    Thread Starter jdnn

    (@habannah)

    Just a note that I went back again and tried increasing the posts per page to 100, and nope that didn’t work. I had to go into the Drafts view and decrease it to 50. When I went back to All Posts, it worked again. So, this makes me think it has to do with the amount of data being loaded…

    Moderator t-p

    (@t-p)

    I use, WP Category Permalink, has just updated because of a bug identified in the thread Infinite user meta.

    I recommend asking in this plugin’s dedicated support sub-forum for better results so its developers and users can help you with this:
    http://wordpress.org/support/plugin/wp-category-permalink

    Moderator t-p

    (@t-p)

    I just noticed you have a thread marked “resolved” at this plugin’s dedicated forum.

    Please continue here: https://wordpress.org/support/topic/infinite-user-meta?replies=5

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘JS (?) Breaks When Loading Many Posts on List Screen’ is closed to new replies.