Coder Social home page Coder Social logo

Comments (3)

michaeldavidtodd avatar michaeldavidtodd commented on August 27, 2024

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

from craft-brief.

michaeldavidtodd avatar michaeldavidtodd commented on August 27, 2024

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.

from craft-brief.

michaeldavidtodd avatar michaeldavidtodd commented on August 27, 2024

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.

from craft-brief.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.