Title: Memory error when using shortcode with list=&#8221;true&#8221;
Last modified: September 20, 2026

---

# Memory error when using shortcode with list=”true”

 *  [immewnity](https://wordpress.org/support/users/immewnity/)
 * (@immewnity)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/memory-error-when-using-shortcode-with-listtrue/)
 * At some point over the past couple months, using the child_pages shortcode with
   list=”true” started causing a fatal error on any page that has it. Looking into
   the Apache error log, I’m seeing that the issue is a PHP error about memory exhaustion,
   referencing line 2324 of class-wpdb.php. There’s no issue if I use the grid view,
   just list view.
 * Running WordPress 7.1.1 and plugin version 2.1.2

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmemory-error-when-using-shortcode-with-listtrue%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cc-child-pages/assets/icon-256x256.png?rev=3451096)
 * [CC Child Pages](https://wordpress.org/plugins/cc-child-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cc-child-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cc-child-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/cc-child-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cc-child-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cc-child-pages/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [immewnity](https://wordpress.org/support/users/immewnity/)
 * Last activity: [1 week, 4 days ago](https://wordpress.org/support/topic/memory-error-when-using-shortcode-with-listtrue/)
 * Status: not resolved