• Im trying to access mysite.com/wp-admin/install.php so that i can start building the blog. Unfortunately, im getting this error:

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/31/d236567340/htdocs/SurplusNYC/wp-includes/option.php on line 225

    below is the line i guess they are referring to.

    222 wp_protect_special_option( $option );
    223
    224 if ( is_object($newvalue) )
    225 $newvalue = clone $newvalue;

    can someone please help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Make sure that your site is using php5, not php4. If your hosts offers both versions, you must use php5. They can instruct you on how to add the php5 handler to your site if that turns out to be the issue.

    I have the same issue:

    Parse error: syntax error, unexpected T_VARIABLE in /XXX/XXX/XXX/XXX/wp-includes/option.php on line 225

    Using php 5.2.13
    and MySQL 5.1.60

    Any ideas?

    @marcobarreto: It is impolite to interrupt another poster’s ongoing thread with a question of your own and it causes significant problems for the forum’s volunteers. Please post your own topic.

    It is exactly the same issue and i am just adding the info of php5. This indicates, that the answere by Clayton can not solve the problem. So i think, it helps yourboysha too. Am i wrong?

    This is a known issue and Clayton is correct. Are you using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster?

    No? Then post a new topic.

    Ok, just wanted to help. So delete this, if you like.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parse Error’ is closed to new replies.