I designed a Symfony2-based website which I deployed successfully online on GoDaddy server and everything was working fine.
After I edited my website and uploaded everything on server I noticed an error saying something relating to a syntax error due to the occurrence of '[' in line 47 of MappingDriverChain.php file (please check out the attached image).
The consequence was the absence of the background styling all the routes, for instance http://yplushy.com/diapers. I was able to resolve the issue in /mothers_space by replacing
private $drivers = [];
with
private $drivers = array();
And clearing the cache. I had to repeat this in
webroot / yplushy / vendor / doctrine / common / lib / Doctrine / Common / Persistence / Mapping / Driver / SymfonyFileLocator.php
But as you can see I still have this issue with /diapers, and the problem is I don't know where in my code there is still the occurrence of "[]" instead of "array()".
Please note that in my local environment I don't have this issue.
Any suggestions, please?