Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • As per the warning, GantryWidgetMenu::clearMenuCache() just needs an argument.

    I tried an integer, an undefined variable and NULL. All seem to work to remove the warning.

    So on 130 of ./wp-content/plugins/menu-items-visibility-control/init.php

    change

    GantryWidgetMenu::clearMenuCache();

    to

    GantryWidgetMenu::clearMenuCache(NULL);

    I too am seeing this error with Gantry 4.06 and Menu Item Visibility Control .03

    Would there be something in our setup that is preventing your fix, shazdeh, in v0.3 from fixing the issue?

    Forum: Fixing WordPress
    In reply to: Redirecting Pages

    In ver 2.6.2, I’m using the following php code to perform this redirect:

    // redirect from empty category pages to first child
    if ( is_page( array('page-slug1', 'page-slug2')) ) {
       $pagekids = get_pages("child_of=".$post->ID."&sort_column=menu_order");
       $firstchild = $pagekids[0];
       wp_redirect(get_permalink($firstchild->ID));
    }

    Note that this code block should be placed at the top of your header.php file.

    rsgca

    (@rsgca)

    One more possible solution added to the mix:

    My host suggested that there is a small incompatibility in 2.3.x with PHP 5.

    The suggested solution: In the file wp-includes/taxonomy.php in 2.3.3, on line 11, 12 and 13 “(object)” needed to be removed before the array.

    This edit solved the blank page installation issue for me. Hope this helps someone.

    rsgca

    (@rsgca)

    My host suggested that there is a small incompatibility in 2.3.x with PHP 5.

    The suggested solution: In the file wp-includes/taxonomy.php in 2.3.3, on line 11, 12 and 13 “(object)” needed to be removed before the array.

    This edit solved the blank page installation issue for me.

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