PHP syntax error
-
Hi,
We use wpengine. They have git repos built in as part of their service. When you push to a wpengine repo, it performs a syntax check on all php files being pushed. If any file fails the syntax check, wpengine quits the push process. I get the following errors when pushing the Awesome Support plugin and the Awesome Support: E-Mail Support pluginsPHP Parse error: syntax error, unexpected ‘.’, expecting ‘)’ in – on line 10
remote: – warning: syntax Error Found in wp-content/plugins/awesome-support/vendor/composer/autoload_static.php …PHP Parse error: syntax error, unexpected ‘.’, expecting ‘)’ in – on line 10
remote: – warning: syntax Error Found in wp-content/plugins/awesome-support-email-support/vendor/composer/autoload_static.php …Looks like a problem with the way the magic constant __DIR__ is being used, here is a stackoverflow question about it
This is preventing us from being able to use versioning for our site, any help would be greatly appreciated.
Thanks!
Dan Stevens
The topic ‘PHP syntax error’ is closed to new replies.