• Hello!
    After update plugin ver 1.2.3 to 1.2.5 displayed error:
    Parse error: syntax error, unexpected ‘[‘ in site.ru/wp-content/plugins/bp-user-reviews/bp-user-reviews.php on line 304

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi, there!

    Please check if string number 304 in that file looks like that:
    $valid = Akismet::http_post( Akismet::build_query( $review ), 'comment-check' )[1];

    Do you have Akismet enabled?
    Can you try to reinstall plugin, I think files can be corrupted.
    Which PHP version do you using?

    Thanks

    Thread Starter achilles21

    (@achilles21)

    yes
    akismet deactivated,I tried to activate it,but didn’t help
    PHP Version 5.3.29
    but plugin on a local server with PHP Version 5.6.24 all good works

    Plugin Author wordplus

    (@wordplus)

    Strange thing, I will check it tomorrow!
    Looks like php incompatibility with that string or your files is corrupted.

    Thanks for reporting!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse error: syntax error, unexpected ‘[‘ bp-user-reviews.php on line 304’ is closed to new replies.