You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes in frontend this error: Parse error: syntax error, unexpected '[' in ...\typo3conf\ext\sf_filecollection_gallery\Classes\Service\FileCollectionService.php on line 175
To fix it, you need to assign the return value of the method to a variable, and then you are allowed to access the keys of the array.
I did not check the rest of the extension, but when you perform a search on )[ you should find all spots, which are incompatible with older php versions.
The text was updated successfully, but these errors were encountered:
a-r-m-i-n
changed the title
PHP compatibility issue
PHP 5.3 compatibility issue
Feb 2, 2016
Your extension should be compatible with TYPO3 6.2. This is what you've defined in emconf. But TYPO3 6.2 is compatible with PHP down to version 5.3.7.
Unfortunately your extension is not compatible with that PHP version (5.3.x).
Example:
$this->frontendConfigurationManager->getConfiguration()['settings']['order']
This causes in frontend this error:
Parse error: syntax error, unexpected '[' in ...\typo3conf\ext\sf_filecollection_gallery\Classes\Service\FileCollectionService.php on line 175
To fix it, you need to assign the return value of the method to a variable, and then you are allowed to access the keys of the array.
I did not check the rest of the extension, but when you perform a search on
)[
you should find all spots, which are incompatible with older php versions.The text was updated successfully, but these errors were encountered: