Support » Plugin: Add Subpage Here » [Plugin: Add Subpage Here] Fatal error: Call-time pass-by-reference

  • opening this URL: http://wac.scripts.mit.edu/wacspace/wp-login.php

    returns this error:

    Fatal error: (wac) Call-time pass-by-reference has been removed in /afs/athena.mit.edu/org/w/wac/web_scripts/wacspace/wp-content/plugins/add-subpage-here/add-subpage.php on line 34

    This is the offending code block:

    if ( version_compare( $wp_version, '3.3', '<' ) ) {
                    $wp_admin_bar->add_node('new-content', &$wp_admin_bar->menu, $args);
            } else {
                    $wp_admin_bar->add_node($args);
            }

    I’d appreciate any suggests to fix this. We can’t log into the site due to this problem.

    Thank you,
    Peter

    http://wordpress.org/extend/plugins/add-subpage-here/

  • The topic ‘[Plugin: Add Subpage Here] Fatal error: Call-time pass-by-reference’ is closed to new replies.