• Hello,

    I’m doing a clean install of wp after wiping all my files off the root directory. I downloaded the newest wp, unzipped, replaced the wpconfig file with up to date mysql database info (and new salt passwords). After uploading, I try to run the install, and this is the error I get: Parse error: syntax error, unexpected T_VARIABLE in /homepages/12/d302756246/htdocs/XXmydomainnamexxx/wp-includes/option.php on line 225. I have downloaded and replaced the files three times…what gives?

Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks like the line 255:

    $newvalue = clone $newvalue;

    is trying to assign new option, cloning the object (OOP terms), but it does not exist. See if wp-config.php has any errors by running

    php -l wp-config.php

    from the command line.

    Thread Starter kevinguthrie

    (@kevinguthrie)

    I finally figured out that my server was running PHP4,and I changed it to PHP5…that fixed it 🙂

    Glad everything worked out! Sometimes we just forget to check the basic requirements out 🙂

    Good Evening. I am having the same problem…

    I have been trying to install now for over 4 hours and I am at a point of throwing myself out of the window!

    Every time I do a fresh install, change the wpconfig and everything else I get the same error message over and over again.

    I even changed my server (www.1and1.co.uk) from PHP4 to PHP5 and still the same problem.

    Can ANYONE help with this?

    How come everyone says the install is simple when I follow the instructions 100% and get the same error?

    Regards
    Matt

    @mattpowelluk

    Yes, the installation is simple. Never had problem with it. What is the exact error message you are seeing? You might wanna verify your site to see what PHP version it is running:

    http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F#gs

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parse Error . . . wp-includes/option.php on line 225’ is closed to new replies.