• Resolved daimonx

    (@daimonx)


    I was trying to move my wordpress site to a new domain and server. everything went wrong. Tried to fix it went worse. Now my base site doesn’t work. Saying :

    Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in D:\www\territorium.eu\www\wp-includes\functions.php on line 2175

    this is what’s there:

    $uploads = apply_filters( 'upload_dir', array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, 'basedir' => $bdir, 'baseurl' => $burl, 'error' => false ) );
    
    	// Make sure we have an uploads dir
    	if ( ! wp_mkdir_p( $uploads['path'] ) ) {
    		$message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' ), $uploads['path'] );
    		return array( 'error' => $message );
    	}
    
    	return $uploads;
    }

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