• Hello and Thank you greatly,

    my site: https://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)
  • Thread Starter thepope

    (@thepope)

    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..

    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

    (@thepope)

    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??

    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.