• Resolved Michelle Blanchette

    (@michelleblanchette)


    I was going to submit a PR in the GitHub repo, but it seems the codebase’s current trunk branch differs drastically from the current release.

    The current release is unusable for PHP 7 users and completely crashes the site’s admin area due to the plugin activating with a fatal parse error:

    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 /var/www/html/wp-content/plugins/plugin-check/admin/admin.php on line 56

    The error is caused by the indented HEREDOC closure here: https://github.com/WordPress/plugin-check/blob/3d25aa5a4d1e4f8150516463b85790a0ff1e6141/admin/admin.php#L32

    How soon can a new release come out that resolves this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal PHP Parse Error in PHP 7.2’ is closed to new replies.