# Mandrill is not working on the new version

**URL:** https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996
**Category:** Product Support
**Created:** [June 22, 2015, 6:10pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996 "2015-06-22T18:10:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 22, 2015, 6:10pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/1 "2015-06-22T18:10:28Z")

</div>

Hello,  
  
  
  
Mandrill is not working on the new version. I get the following error: [22-Jun-2015 14:48:09 America/Sao\_Paulo] PHP Fatal error: Call to a member function getTranslator() on a non-object in /home/public\_html/inboundmarketing/app/bundles/CoreBundle/Swiftmailer/Transport/MandrillTransport.php on line 74  
  
  
  
What can I do to correct it?  
  
  
  
Thanks

---

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 22, 2015, 6:10pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/2 "2015-06-22T18:10:28Z")

</div>

Hello,

Mandrill is not working on the new version. I get the following error: [22-Jun-2015 14:48:09 America/Sao\_Paulo] PHP Fatal error: Call to a member function getTranslator() on a non-object in /home/public\_html/inboundmarketing/app/bundles/CoreBundle/Swiftmailer/Transport/MandrillTransport.php on line 74

What can I do to correct it?

Thanks

---

<div class="post-metadata">

### Author: ![Blinky](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@Blinky](https://forum.mautic.org/u/Blinky)
#### Post date: [July 9, 2015, 8:15pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/3 "2015-07-09T20:15:58Z")

</div>

Any word on this? I’m getting the same error using a new install (latest stable) and queued send.

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [July 10, 2015, 6:15am UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/4 "2015-07-10T06:15:36Z")

</div>

Hi, I configured Mautic to use Mandrill API for email sending, but the email is sent for me without any error in the logs. Could you specify what you mean by “the new version”? Is it 1.1.2 or 1.1.3-dev? Could you describe steps to recreate the issue?

---

<div class="post-metadata">

### Author: ![seti](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/seti/32/6477_2.png) [@seti](https://forum.mautic.org/u/seti)
#### Post date: [July 12, 2015, 6:11pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/5 "2015-07-12T18:11:26Z")

</div>

Hi @escopecz

I’m experiencing the same problem sending with Mandrill using version 1.1.2

I can perform a successful “Test connection” so it is configured properly, but when I try to “Send test email” the email is not sent and I see this error in the server’s error\_log:

```auto
mod_fcgid: stderr: PHP Fatal error: Call to a member function getTranslator() on a non-object in /var/www/vhosts/mydomain.com/httpdocs/mautic/app/bundles/CoreBundle/Swiftmailer/Transport/MandrillTransport.php on line 74, referer: http://mydomain.com/mautic/s/config/edit
```

---

<div class="post-metadata">

### Author: ![sfahrenkrog](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sfahrenkrog](https://forum.mautic.org/u/sfahrenkrog)
#### Post date: [July 12, 2015, 8:20pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/6 "2015-07-12T20:20:37Z")

</div>

Good evening

@intelligenzia and @escopecz:

Got the same problem and reported it here (last comment):

[https://github.com/mautic/mautic/issues/570](https://github.com/mautic/mautic/issues/570)

Fixed it locally with adding

```
    $factory = $container->get('mautic.factory');
    if (method_exists($transport, 'setMauticFactory')) {
                    $transport->setMauticFactory($factory);
    } 

```

to app/bundles/CoreBundle/Command/ProcessEmailQueueCommand.php

Happens in v1.2.1 Queue Mailed sending with Mandrill when you call the command app/console mautic:email:process --env=prod

@seti:

this bug was fixed in this issue [https://github.com/mautic/mautic/issues/570](https://github.com/mautic/mautic/issues/570) and is part of mautic version 1.1.3 (not official released yet. see [https://github.com/mautic/mautic/releases](https://github.com/mautic/mautic/releases) ). Also waiting for the release.

Think they are 10 open bugs to close before they release? [https://github.com/mautic/mautic/milestones/1.1.3](https://github.com/mautic/mautic/milestones/1.1.3)

Greetings  
Sebastian

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/mandrill-is-not-working-on-the-new-version/1996/7 "2020-02-02T22:59:24Z")

</div>


