WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error on installation ..includes/post-template.php line 1164 (3 posts)

  1. Norbert McDorbert
    Member
    Posted 3 years ago #

    I just downloaded 3.0.1 and am attempting a fresh install.

    it spits out this error (hidden dir details of non pertinent)

    Parse error: syntax error, unexpected T_IF in ....../public_html/wp-includes/post-template.php on line 1164

    if ( 'form-table'if ( $parent )

    This is 1164.

    To give idea this is 1155 to 1167

    foreach ( $revisions as $revision ) {
    		if ( !current_user_can( 'read_post', $revision->ID ) )
    			continue;
    		if ( 'revision' === $type && wp_is_post_autosave( $revision ) )
    			continue;
    
    		$date = wp_post_revision_title( $revision );
    		$name = get_the_author_meta( 'display_name', $revision->post_author );
    
    		if ( 'form-table'if ( $parent )
    		array_unshift( $revisions, $post );
    
    	$rows = '';
  2. Norbert McDorbert
    Member
    Posted 3 years ago #

    my guessing sense is saying its the if after 'form-table'

    anyone know what its supposed to be?

  3. Norbert McDorbert
    Member
    Posted 3 years ago #

    when in doubt, redownload, and reupload, and viola

    not sure what happened there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.