Hi all,
I’m having a little trouble getting an extension working with my Opencart 2 store.
I’m getting the following parse error:
Parse error: syntax error, unexpected ‘[’ in /home/mysite/public_html/system/modification/catalog/controller/common/footer.php on line 46
The line in question is:
[php]$data[‘about_desc’] = html_entity_decode($this->config->get(‘config_about_description’)[$this->config->get(‘config_language_id’)], ENT_QUOTES, ‘UTF-8’);[/php]
After a little digging I discovered that this code is not compatible with the version of PHP on my hosting account, which is version 5.3.28.
Could someone please rewrite this statement to work with PHP 5.3.28
Many thanks!