Any insight into this would be great, anyone else having this problem?
You’d need to explain a bit more what you mean by “installing”. That doesn’t really make sense that that error would trigger when installing or running on php 5.5.
However:
https://github.com/composer/composer/issues/5316
In short, if you’re seeing that error when linting that file, you have options:
a. ignore that in linting
b. upgrade to 5.6 and lint for 5.6
c. remove it
Sorry, should have clarified what I meant by ‘installing.’
Yes, it was my web host linting the file upon pushing it up via GIT. They won’t allow any code to be pushed that has syntax errors.
In the meantime the issue was resolved. I deleted the file from the plugin and it seemed to function just fine without it (which in itself is strange…)
Thanks for the reply Jon Brown.
Tengo este problema ayuda por favor
Parse error: syntax error, unexpected T_FUNCTION in /home/u171019/domains/lapolilla.com.mx/public_html/wp-content/plugins/fb-instant-articles/facebook-instant-articles.php on line 18
Para solucionar el problema elimino el archivo wp-content/plugins/fb-instant-articles/vendor/composer/autoload_static.php
Thank you,
I already deleted the file, but still the problem persists
Borré el archivo pero aun aparece esta falla Ayuda por favor
Parse error: syntax error, unexpected ‘[‘ in /home/u171019/domains/lapolilla.com.mx/public_html/wp-content/plugins/wp-instantarticles/wp-instantarticles.php on line 152
lo siento por el retraso. Cuestión separada. Abrir nueva edición ayuda.
que debo hacer entonces ? Ayuda por favor
It seems that plugin is not really compatible with WP 4.6.1.
If you open the file mentioned on error, you could see on line 18 a function to show an error message. Are you using PHP under version 5.4? You should use a more recent version of PHP 5…Instant Articles for WP requires PHP 5.4 to function properly. By Oscar