Custom Fields
Re-Envisioned
Support General Parse error: syntax error, unexpected T_FUNCTION

This topic contains 2 replies, has 2 voices, and was last updated by  Ale 3 days, 23 hours ago.

  • Creator
    Topic
  • #13274
    Resolved
    Ale
    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #13291

    Anh 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

    Ale
    Participant

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

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.