Sitelet https://github.com/jobbyphp/jobby/pull/101
Skip to content

fix swiftmailer 6 code, as newInstance is no longer a function - #101

Merged
hellogerard merged 1 commit into
jobbyphp:masterfrom
jamesmbowler:swiftmailer
Jun 1, 2018
Merged

hellogerard merged 1 commit into
jobbyphp:masterfrom
jamesmbowler:swiftmailer

Conversation

@jamesmbowler

Copy link
Copy Markdown
Contributor

I was getting this error:

PHP Fatal error: Uncaught Error: Call to undefined method Swift_Mailer::newInstance() in /var/www/dragoman/protected/vendor/hellogerard/jobby/src/Helper.php:92

so I fixed to just use constructor.

@hellogerard
hellogerard merged commit c2d25d9 into jobbyphp:master Jun 1, 2018
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