Parse error: syntax error, unexpected ‘:’, expecting ‘;’

Home Forums BulletProof Security Pro Parse error: syntax error, unexpected ‘:’, expecting ‘;’

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41546
    paulpp
    Participant

    Parse error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘/xxxxxxxx.com/wp-content/plugins/bulletproof-security/includes/class.php on line 76

    #41547
    AITpro Admin
    Keymaster

    This php error is caused by using a very old PHP 5.6.40 version  > https://forum.ait-pro.com/forums/topic/fatal-syntax-error-when-trying-to-activate-bps/#post-41409

    Login to your web host control panel and switch/upgrade your PHP version to at least 7.0.

    PHP 7 is 100% faster than PHP 5.6 – twice as fast and much more secure.
    PHP 8 is 18.4% faster than PHP 7.4.
    PHP 8.1 is 3% faster than PHP 8.
    PHP 8.1 is 33% faster than PHP 7.1.

    #41548
    paulpp
    Participant

    Great thanks, will try this

    #41549
    paulpp
    Participant

    works, much appreciated!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.