BulletProof Security
[resolved] Parse error: syntax error, unexpected T_VARIABLE (3 posts)

  1. luisqp66
    Posted 3 years ago #

    Hi AIT pro.

    I installed BPS correctly.
    Then, I created magic bouttons both: default and secure.

    1) I activate Website wp-admin Folder in bullet proof mode. installed OK! I refresh browser and YES it works.
    2) Then I activate Website Root Folder in bullet proof mode. BPS says it is all ok. I refresh browser and it is NOT working. I have this terrific message:
    Parse error: syntax error, unexpected T_VARIABLE in /homezXXX/chXXXo/eolienne-pour-particuliers.fr/wp-includes/option.php on line 225

    When I refresh WP admin I have kind of same message.

    I spent few hours trying to solve this and looking for post but I cannot find any help.

    Please could you show me the light on that one...?


  2. AITpro
    Plugin Author

    Posted 3 years ago #

    This type of error usually indicates that you have a coding mistake. The code line that is indicated is 225 in a the wp-includes/option.php file, which is a WP Core file. But the real problem is that most likely you have a using an older version of PHP on your Server/website. BPS requires PHP5. You may need to either change this in your web host control panel or by using a PHP handler in your root .htaccess file.

    See this thread post >>> http://wordpress.org/support/topic/getting-parse-error-syntax-error-unexpected-t_variable?replies=19

    To run WordPress your host just needs a couple of things:
    PHP version 5.2.4 or greater
    MySQL version 5.0 or greater

  3. luisqp66
    Posted 3 years ago #

    Thanks for your quick answer!


    I just add this line :

    SetEnv PHP_VER 5

    at the end of secure.htaccess file

    For information my hosting is OVH mutualisé PRO.

    Thanks again!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic