Closed alexjcollins closed 5 years ago
Getting a parse error when trying to use the plugin on an environment running php 7.0
ParseError syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) Caused by: ParseError syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in site/vendor/ssplugin/ss-twitter-feed/src/SsTwitterFeed.php at line 67
public and private const are only available in php 7.1. https://www.php.net/manual/en/language.oop5.constants.php
public
private
const
Is it possible to add support for 7.0?
@alexjcollins We have fixed php version compatibility, Now you have to update or reinstall the plugin. Thanks.
@ssplugin Thanks!
Getting a parse error when trying to use the plugin on an environment running php 7.0
public
andprivate
const
are only available in php 7.1. https://www.php.net/manual/en/language.oop5.constants.phpIs it possible to add support for 7.0?