[wp-trac] [WordPress Trac] #31268: WP_Query die without notice on large result
WordPress Trac
noreply at wordpress.org
Sun Feb 8 22:52:27 UTC 2015
#31268: WP_Query die without notice on large result
-----------------------------+-----------------------------
Reporter: alimuzzamanalim | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.1
Severity: normal | Keywords:
Focuses: performance |
-----------------------------+-----------------------------
My theme is trying to get all of the post in custom post type by WP_Query.
There are about 1400 post. But wp die without showing any error or notice.
I have found nothing in error log. I spent a lots of time where is the
problem. After applying a lots of trick I have found the theme is trying
to get all post. Maybe wp can't handle the query. My post table is 17.7
MiB (33,332 rows) and postmeta table is 157.3 MiB (220,930 rows).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31268>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list