WordPress.org

Ready to get started?Download WordPress

Forums

Acunetix WP Security
"Parse error" in WP Security Scan 3.0.5 (9 posts)

  1. Everfluxx
    Member
    Posted 2 years ago #

    WordPress 3.1.3 says the plugin cannot be activated due to the following:

    Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE or T_CONST in /wp-content/plugins/wp-security-scan/libs/functions.php on line 481

  2. WebsiteDefender
    Member
    Posted 2 years ago #

    Hi,

    Very strange error. Can you please try to redownload the plugin again?

  3. WebsiteDefender
    Member
    Posted 2 years ago #

    If you still have problems I suggest you to post your query on the official plugin forum (http://www.websitedefender.com/forums/wp-security-scan-plugin/) which the developers check directly.

  4. Everfluxx
    Member
    Posted 2 years ago #

    Can you please try to redownload the plugin again?

    That's the first thing I did when I encountered the error: I deleted and re-installed the plugin from scratch, using the latest available version (3.0.5). I will post the error in the official plugin forum, as suggested. Thanks.

  5. Everfluxx
    Member
    Posted 2 years ago #

    Uhm, where should I sign up to post to your forum?

  6. Dion Hulse
    WordPress Dev
    Posted 2 years ago #

    Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE or T_CONST in /wp-content/plugins/wp-security-scan/libs/functions.php on line 481

    Looks like this plugin requires PHP5.1 as it's using Type hinting in the declaration of the function in question. ( http://plugins.trac.wordpress.org/browser/wp-security-scan/trunk/libs/functions.php#L481 )

    You should Really consider getting your host to upgrade to PHP 5.2+, as that'll satify this plugins needs, many other plugins needs, and WordPress 3.2+ compatibility.

  7. vegasrenie
    Member
    Posted 2 years ago #

    I installed, then got this immediately after activation:

    Parse error: syntax error, unexpected '<' in /home/vegaswi5/public_html/wp-content/themes/wp-clear/index.php on line 3

    I deactivated and uninstalled. I rebuilt the .htaccess file. Nothin'. I still have full access to my admin area, but the site itself cannot be seen.

    http://www.vegaswineaux.com

    Irene

  8. vegasrenie
    Member
    Posted 2 years ago #

    In addition - I also changed themes and deactivated all plugins. No change.

  9. vegasrenie
    Member
    Posted 2 years ago #

    Update: I reinstalled the theme and that seemed to clear it up.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic