Parse error: syntax error, unexpected T_FUNCTION

Support General Parse error: syntax error, unexpected T_FUNCTIONResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13274
    AleAle
    Participant

    Hello,

    I'm getting this error when I have activated metabox version 4.16.3 Parse error: syntax error, unexpected T_FUNCTION .../public_html/wp-content/plugins/meta-box/inc/fields/file.php on line 463

    Issue dissapears once I switch back to 4.15.9

    #13291
    Anh TranAnh Tran
    Keymaster

    Hi Ale,

    This is not an error, the new feature (upload to custom folder) requires PHP >= 5.3. I guess you're using PHP 5.2. Please upgrade your PHP (it's best to upgrade to PHP >= 7.2).

    #13303
    AleAle
    Participant

    Thanks Anh Tran, as you guessed and after updating to PHP 7.0, the error has stopped showing.

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