• I’m getting the following error repeating in the error log:

    PHP Parse error: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /xx/xx/public_html/wp-content/plugins/flexible-spacer-block/classes/class-enqueue.php on line 151

    Any ideas on what this could relate to. It doesn’t appear to be having any issues otherwise and the block appears to be acting normally.

    Thanks!

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

    (@wildworks)

    Are you using a PHP version lower than 7.2? This plugin requires PHP 7.4 or higher.

    Thread Starter webedgeandyh

    (@webedgeandyh)

    No, using 7.4.

    Plugin Author Aki Hamano

    (@wildworks)

    A parse error is a PHP syntax error, so if that error is indeed occurring, WordPress itself should stop working. Is the error still occurring?

    You may want to try reinstalling the plugin once.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Parse error: syntax error in class-enqueue.php on line 151’ is closed to new replies.