Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#15052 closed defect (bug) (duplicate)

The screen turns white once I add over 4000 pages.

Reported by: lyncis's profile Lyncis Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Performance Keywords:
Focuses: Cc:


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 (7)

#1 @mikeschinkel
14 years ago

  • Cc mikeschinkel@… added

#2 @scribu
14 years ago

Related: #14777

#4 @hakre
14 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.

#5 @nacin
13 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.

#7 @SergeyBiryukov
11 years ago

  • Keywords reporter-feedback removed
  • Resolution changed from maybelater to duplicate

Duplicate of #15459.

Note: See TracTickets for help on using tickets.