I'm getting a fatal error when i try to use swiftmailer. Take a look:
Fatal error: Call to a member function clearAll() on a non-object in /home/diegoholiveira/projects/brasilrepublicas/vendor/swiftmailer/lib/class es/Swift/Mime/SimpleMimeEntity.php on line 822
Does anyone know what's happening? Or how I can solve this issue?
On Tue, May 31, 2011 at 1:18 PM, Carl <carl.par...@gmail.com> wrote: > Which version of Swiftmailer are you using?
> -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com
> You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en
> I'm getting a fatal error when i try to use swiftmailer. Take a look:
> Fatal error: Call to a member function clearAll() on a non-object in
> /home/diegoholiveira/projects/brasilrepublicas/vendor/swiftmailer/lib/class es/Swift/Mime/SimpleMimeEntity.php > on line 822
> Does anyone know what's happening? Or how I can solve this issue?
> Thanks
> Diego
> -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com
> You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en
*Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program Files (x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php * on line *822
Here is the code: * $message = \Swift_Message::newInstance()->setSubject( 'Contact Email' ) ->setFrom( 's...@example.com' ) ->setTo( 'recipi...@example.com' ) ->setBody( 'Hi There' ); $this->get( 'mailer' )->send( $message );
> *Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program
> Files
> (x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php
> * on line *822
> I was also having this issue, updating to sf2 master cleared it up for
> me.
> On Jun 2, 10:35 am, keymaster <ad...@optionosophy.com> wrote:
> > Getting the identical error, also on Sf2 Beta3.
> > *Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program
> > Files
> > (x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php
> > * on line *822
> On Jun 3, 9:27 am, Kevin<kevinb...@gmail.com> wrote: >> I was also having this issue, updating to sf2 master cleared it up for >> me.
>> On Jun 2, 10:35 am, keymaster<ad...@optionosophy.com> wrote:
>>> Getting the identical error, also on Sf2 Beta3.
>>> *Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program >>> Files >>> (x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php >>> * on line *822
*Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program Files (x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php * on line *822*
Hely Suarez Marin Miembro del Semillero de Investigación y Desarrollo de Software Libre UFPS No a la Piratería de Software !Sea Legal con Colombia! Usa Software Libre... Cúcuta