• Resolved coobakai

    (@coobakai)


    Hi,

    I’m trying to install WordPress, but when I navigate to wp-admin/install.php I’m getting this error message:

    Parse error: syntax error, unexpected T_STRING in /home/matthew/public_html/wp-admin/includes/plugin.php on line 540

    I thought it might be a corrupted file, so I downloaded a second copy of WP and uploaded that version, but I’m still getting the same message.

    If anyone can help it would be greatly appreciated!

    Here’s the code… Line 540 is the closing curly brackets:

    function _wp_call_all_hook($args) {
    global $wp_filter;

    reset( $wp_filter[‘all’] );
    do {
    foreach( (array) current($wp_filter[‘all’]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], $args);

    } while ( next($wp_filter[‘all’]) !== false );
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.