# Email Critical Errors

**URL:** https://forum.mautic.org/t/email-critical-errors/6307
**Category:** Product Support
**Created:** [October 21, 2016, 3:41pm UTC](https://forum.mautic.org/t/email-critical-errors/6307 "2016-10-21T15:41:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![trops](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/trops/32/3998_2.png) [@trops](https://forum.mautic.org/u/trops)
#### Post date: [October 21, 2016, 3:41pm UTC](https://forum.mautic.org/t/email-critical-errors/6307/1 "2016-10-21T15:41:48Z")

</div>

Hi All,  
  
  
  
I created a segment email, and tried to send it to a segment.  
  
  
  
The email bar is hung on 100 (of 1200 emails to send) so I checked the logs and got the following:

Code:

.WARNING: PHP Warning: rawurlencode() expects parameter 1 to be string, array given - in file /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthAbstractServerService.php - at line 317 [] [] [2016-10-21 06:01:32] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: "signature\_invalid" at /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 244 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature\_invalid at /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:244)"} [] [2016-10-21 12:25:56] mautic.ERROR: PHP Error: Call to undefined method setApiKey - in file /opt/bitnami/apache2/htdocs/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php - at line 291 [] [] [2016-10-21 12:27:41] mautic.NOTICE: PHP Notice: Array to string conversion - in file /opt/bitnami/apache2/htdocs/mautic/app/bundles/CoreBundle/Views/FormTheme/Custom/widget\_attributes.html.php - at line 16 [] [] [2016-10-21 16:28:41] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} [] [2016-10-21 16:33:47] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} [] [2016-10-21 12:33:48] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} []

---

<div class="post-metadata">

### Author: ![trops](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/trops/32/3998_2.png) [@trops](https://forum.mautic.org/u/trops)
#### Post date: [October 21, 2016, 3:41pm UTC](https://forum.mautic.org/t/email-critical-errors/6307/2 "2016-10-21T15:41:48Z")

</div>

Hi All,

I created a segment email, and tried to send it to a segment.

The email bar is hung on 100 (of 1200 emails to send) so I checked the logs and got the following:

`.WARNING: PHP Warning: rawurlencode() expects parameter 1 to be string, array given - in file /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthAbstractServerService.php - at line 317 [] []
[2016-10-21 06:01:32] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: "signature_invalid" at /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 244 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature_invalid at /opt/bitnami/apache2/htdocs/mautic/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:244)"} []
[2016-10-21 12:25:56] mautic.ERROR: PHP Error: Call to undefined method setApiKey - in file /opt/bitnami/apache2/htdocs/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php - at line 291 [] []
[2016-10-21 12:27:41] mautic.NOTICE: PHP Notice: Array to string conversion - in file /opt/bitnami/apache2/htdocs/mautic/app/bundles/CoreBundle/Views/FormTheme/Custom/widget_attributes.html.php - at line 16 [] []
[2016-10-21 16:28:41] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} []
[2016-10-21 16:33:47] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} []
[2016-10-21 12:33:48] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalThrowableError: "Call to a member function getId() on null" at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php line 29 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getId() on null at /opt/bitnami/apache2/htdocs/mautic/app/bundles/EmailBundle/Helper/PointEventHelper.php:29)"} []`
