Support » Plugin: Slim Maintenance Mode » Syntax Error on line 107

  • Resolved blonkm


    I get a syntax error on line 107
    PHP Parse error: syntax error, unexpected T_FUNCTION in [..]/wp-content/plugins/slim-maintenance-mode/slim-maintenance-mode.php on line 107

    I can fix it by taking out the anonymous function and place the code in a regular function. I think it might be because of the PHP version. (5.2.17 on bluehost).

Viewing 1 replies (of 1 total)
  • Plugin Author Johannes


    Thank you for your message. 5.2 is obscoloscent since over six years, please consider an upgrade.

Viewing 1 replies (of 1 total)
  • The topic ‘Syntax Error on line 107’ is closed to new replies.