Title: Page menu error
Last modified: August 18, 2016

---

# Page menu error

 *  [thepope](https://wordpress.org/support/users/thepope/)
 * (@thepope)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/)
 * Hello and Thank you greatly,
 * my site: [http://www.the-new-pope.com/](http://www.the-new-pope.com/)
 * I am having problems with my menu structure.
    First thing when you click on a
   sub page in the Papacy Pages section you get an error:
 * Warning: Invalid argument supplied for foreach() in /home/^%$#@$/public_html/
   wp-includes/template-functions-post.php on line 369
 * this is line 369: ??
 *  foreach($page_tree[$parent][‘children’] as $page_id) {
    $cur_page = $page_tree[
   $page_id]; $title = $cur_page[‘title’];
 * Any Ideas?
 * Another question have is:
    When that menu does work the page list doesn’t show
   up is there any way to have the pages show up site wide?
 * Thanks a bunch

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-180972)
 * check out this thread
    [http://wordpress.org/support/topic.php?id=26092](http://wordpress.org/support/topic.php?id=26092)
 *  Thread Starter [thepope](https://wordpress.org/support/users/thepope/)
 * (@thepope)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-180979)
 * Nope my pages are not empty, I tried everything in those 2 posts and no success??
 * Do you reccomend I just make these pages static???
 * I am stumped..
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-180983)
 * I am not sure we are reading the same thread 🙂
    (there is no word about empty
   pages)
 * Edit. Are we talking about Pages or posts? You started here with Pages…
 *  Thread Starter [thepope](https://wordpress.org/support/users/thepope/)
 * (@thepope)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-180995)
 * I am talking about pages,
 * One of the links off the page you posted talks about an empty page menu problem.
 * My install is new so it shouldn’t be a patch to fix.
    I have tried commenting
   out this:
 *  if (!isset($cache_pages) || empty($cache_pages)) {
 * I have tried everything??
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-181000)
 * Your install even if it’s new is the last stable Wp 1.5 – released on Febr.15.
   Check the patch’s date 🙂
    The patches and bug fixes are NOT in the 1.5 version,
   they will be all in 1.5.1. You either have to wait until v1.5.1 or work with 
   the bug fixes…
 * I don’t know, I hate commenting/hacking the core files; usually I download the
   updated files if they exist. On my testblog I run a 1.5.1-alpha, but that’s not
   recommended for live sites.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Page menu error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/page-menu-error/#post-181000)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
