I run Silverstripe 3.1.1 for a site with multiple themes. I use the code here: http://chillburn.com.au/blog/silverstripe-theme-changer/ to provide a tab to allow administrators to apply different themes to different areas of the site. It was all running well until this morning when cache files were removed from /tmp. Now when someone visits the site they get a blank page and I get the following error in the site log files:
mod_fcgid: stderr: PHP Fatal error: Cannot use string offset as an array in /var/www/clients/client1/web2/web/framework/core/manifest/TemplateManifest.php on line 171
I have no idea why this has started happening though obviously something necessary was cached. Can anyone provide any clues?