taylordaughtry/craft-brief

Adding this to /craft/plugins breaks site

michaeldavidtodd opened this issue · 3 comments

This had been working fine, but now it's completely breaking our site. Just adding it to the plugins directory, not even installing it, takes down the entire site.

Here's the error I'm receiving:

Parse error: syntax error, unexpected '[' in /home3/michaeldtodd/public_html/_sites/pocketmaps/2015/craft/plugins/brief/BriefPlugin.php on line 60

which is this:
'subject' => base64_decode($this->getSettings()['subject']),

I'm running Craft 2.6.2958

Update: This is only happening on production, not locally. I setup a fresh Craft install at another subdomain and I'm seeing the same error, but only when navigating to the plugins page in the admin site. On my actual site where I was using this, having Brief in the plugins folder causes that error on any page, both client-facing and the admin site.

I think this started happening when I moved my site from a different hosting account, but the web host is the same and both previous and current servers are shared environments. I'm not well versed in server-side things, so I'm not sure what to troubleshoot, but I'm feeling like it has something to do with the production server. I just don't have any idea what it is.

It's working now! I think it just needed a newer version of PHP running. I had 5.6.x running locally, so I tried that on production. I think it was at 5.3.x, before. Going to close this now.