WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 14 months ago

#15052 closed defect (bug) (maybelater)

The screen turns white once I add over 4000 pages.

Reported by: Lyncis Owned by:
Priority: normal Milestone:
Component: Performance Version:
Severity: normal Keywords: reporter-feedback
Cc: mikeschinkel@…

Description

Dear Sirs! While attempting to post over 4000 pages using wordpress, a part of admin interface dies instantly (I am talking about the part showing the list of website pages)and also the frontend goes dead. I suspect that the problems is caused by the "wp_list_pages" function, which in turn summons another function, which is "get_pages". In the line 3177 of the "get_pages" functions there is /wp-includes/post.php contains SQL call which draws all the date from the POSTS table:
$query = "SELECT * FROM $wpdb->posts $join WHERE ($where_post_type) $where ";
A part of it is in an unnecessary field, namely post_content – which I see as the cause of wordpress failure once great number of pages is added.

Change History (6)

comment:1 mikeschinkel3 years ago

  • Cc mikeschinkel@… added

comment:2 scribu3 years ago

Related: #14777

comment:4 hakre3 years ago

  • Keywords reporter-feedback added; wp_list_pages get_pages removed

Lyncis can you please enable error logging and WP_DEBUG? Some additional information shuld be kept in the PHP error log then. Please share.

comment:5 nacin2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

We're not ready to push this. You'll want to just bump your memory.

Note: See TracTickets for help on using tickets.