Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires PHP >=5.4 #62

Open
RitterKnightCreative opened this issue Jan 20, 2016 · 0 comments
Open

Requires PHP >=5.4 #62

RitterKnightCreative opened this issue Jan 20, 2016 · 0 comments

Comments

@RitterKnightCreative
Copy link

Just a heads up, PHP 5.3 doesn't support the function dereferencing done in a few places:

I ended up patching this myself in the relevant spots, eg:

$writeEmailToFilePath =  craft()->config->get(Formerly_ConfigSettings::SettingsGroupName)[Formerly_ConfigSettings::writeEmailBodyToFilePath];

should be:

$writeEmailToFilePathSettings = craft()->config->get(Formerly_ConfigSettings::SettingsGroupName);
$writeEmailToFilePath = $writeEmailToFilePathSettings[Formerly_ConfigSettings::writeEmailBodyToFilePath];

Was running a newer PHP version locally so I didn't catch it until I pushed to production. Oops. A heads-up in the README would have been helpful! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant