# E-mail tracking

**URL:** https://forum.mautic.org/t/e-mail-tracking/7906
**Category:** Product Support
**Created:** [March 13, 2017, 10:51am UTC](https://forum.mautic.org/t/e-mail-tracking/7906 "2017-03-13T10:51:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SRiemeijer](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@SRiemeijer](https://forum.mautic.org/u/SRiemeijer)
#### Post date: [March 13, 2017, 10:51am UTC](https://forum.mautic.org/t/e-mail-tracking/7906/1 "2017-03-13T10:51:41Z")

</div>

Hi,  
  
  
  
I have a problem with e-mail tracking, in the logs I get the following error:  
  
  
  
mautic.ERROR: SymfonyComponentDebugExceptionFatalThrowableError: Call to a member function setSource() on null - in file /domains/…/DEFAULT/mautic/app/bundles/EmailBundle/Controller/PublicController.php - at line 591 [] []  
  
  
  
I have checked the url of the tracking pixel and it writes an extra / (/mautic//plugin/Outlook/tracking.gif)  
  
The site URL in the configuration is good.  
  
  
  
Any idea how to correct this?

---

<div class="post-metadata">

### Author: ![SRiemeijer](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@SRiemeijer](https://forum.mautic.org/u/SRiemeijer)
#### Post date: [March 13, 2017, 10:51am UTC](https://forum.mautic.org/t/e-mail-tracking/7906/2 "2017-03-13T10:51:41Z")

</div>

Hi,

I have a problem with e-mail tracking, in the logs I get the following error:

mautic.ERROR: SymfonyComponentDebugExceptionFatalThrowableError: Call to a member function setSource() on null - in file /domains/…/DEFAULT/mautic/app/bundles/EmailBundle/Controller/PublicController.php - at line 591 [] []

I have checked the url of the tracking pixel and it writes an extra / (/mautic//plugin/Outlook/tracking.gif)  
The site URL in the configuration is good.

Any idea how to correct this?

---

<div class="post-metadata">

### Author: ![rjhouwen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rjhouwen/32/172_2.png) [@rjhouwen](https://forum.mautic.org/u/rjhouwen)
#### Post date: [March 25, 2017, 11:57am UTC](https://forum.mautic.org/t/e-mail-tracking/7906/3 "2017-03-25T11:57:19Z")

</div>

Same problem here, anyone??

---

<div class="post-metadata">

### Author: ![rjhouwen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rjhouwen/32/172_2.png) [@rjhouwen](https://forum.mautic.org/u/rjhouwen)
#### Post date: [March 25, 2017, 1:33pm UTC](https://forum.mautic.org/t/e-mail-tracking/7906/4 "2017-03-25T13:33:26Z")

</div>

I resolved my issue by removing

```auto
$stat->setSource('email.client');
```

on line 591 in app/bundles/EmailBundle/Controller/PublicController.php

is this a bug? email.client is null and that is not possible for the SetSource function…

I had this problem with gmail tracking pixel.
