[wp-trac] [WordPress Trac] #14134: WP3 - Menus item are limited to 16 item and will not save more than that
WordPress Trac
wp-trac at lists.automattic.com
Sun May 29 20:12:57 UTC 2011
#14134: WP3 - Menus item are limited to 16 item and will not save more than that
-------------------------+-----------------------------
Reporter: jaanfx | Owner: filosofo
Type: enhancement | Status: reviewing
Priority: high | Milestone: Future Release
Component: Menus | Version: 3.0
Severity: major | Resolution:
Keywords: 2nd-opinion |
-------------------------+-----------------------------
Comment (by vdhamer):
I have a WordPress menu with 90 nodes (and will ultimately need maybe
150).
Saving any menu takes a while, but saving this menu now fails after about
40 seconds. I get a blank screen and the following PHP error message:
{{{
May 28 21:45:38 <hostname> apache2: PHP Fatal error: Maximum execution
time of 30 seconds exceeded in <path>/wp-includes/wp-db.php on line 1005
}}}
It was indeed due to the PHP execution timeout.
Solving this is IMO urgent because:
1. it sometimes occurs for very modest-sized menus
2. many self-hosted users are not in a position to analyze this far
3. I suspect these timeout may leave orphaned records in the database:
{{{
SELECT `ID` , `post_date` , `post_modified` , `post_parent` ,
`post_content` , `post_name` , `post_status` , `menu_order`
FROM `test1_posts`
WHERE `post_type` = 'nav_menu_item' AND `post_status` = 'draft'
ORDER BY `test1_posts`.`post_parent` DESC
}}}
shows a few orphaned records in my database that were created during the
timeouts and that have ‘menu_order’=1. I can't manually analyze the entire
menu structure for 'post_status'='publish' because the menus are large and
I happen to have multiple menus (argggh) for multiple languages (running
the WPML plugin).
I incidentally understand that solving this is non-trivial.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14134#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list