Skip to content

Fix for PHP 5.3.7 #4

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

Closed
wants to merge 1 commit into from
Closed

Fix for PHP 5.3.7 #4

wants to merge 1 commit into from

Conversation

ceesvanegmond
Copy link

In PHP 5.3.7 the following errors occurs:

[2013-10-18 11:31:45] log.ERROR: exception
'Symfony\Component\Debug\Exception\FatalErrorException' with message
'Using $this when not in object context' in
/home/azie01/domains/azie.justnotfinished.com/laravel/vendor/hugofirth/m
ailchimp/src/Hugofirth/Mailchimp/MailchimpServiceProvider.php:34
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []

In PHP 5.3.7 the following errors occurs:

[2013-10-18 11:31:45] log.ERROR: exception
'Symfony\Component\Debug\Exception\FatalErrorException' with message
'Using $this when not in object context' in
/home/azie01/domains/azie.justnotfinished.com/laravel/vendor/hugofirth/m
ailchimp/src/Hugofirth/Mailchimp/MailchimpServiceProvider.php:34
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
@hugofirth
Copy link
Owner

This was how I originally had it set up. I received a Pull request #2 to conform with Laravel's official style guide. I will do some research into which is the most acceptable approach before I revert that commit.

In the meantime please use a tagged commit rather than dev-master in order to ensure 5.3.7 compatibility. Thanks

@hugofirth
Copy link
Owner

I have fixed this for the time being - you should now see no issues with PHP 5.3.7

@hugofirth hugofirth closed this Nov 28, 2013
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

Successfully merging this pull request may close these issues.

2 participants