# Focus Item Issues

**URL:** https://forum.mautic.org/t/focus-item-issues/7008
**Category:** Product Support
**Created:** [January 1, 2017, 9:52am UTC](https://forum.mautic.org/t/focus-item-issues/7008 "2017-01-01T09:52:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)
#### Post date: [January 1, 2017, 9:52am UTC](https://forum.mautic.org/t/focus-item-issues/7008/1 "2017-01-01T09:52:24Z")

</div>

This is a fantastic new addition and nearly works well, but not quite.  
  
  
  
I set up a focus item on the blog to show a simple signup form on scroll, which works.  
  
  
  
I have two issues with the functionality when I click submit:

1. Internal Server Error - Fatal Error

Code:

Fatal error: Call to a member function getTag() on null in /home/xxxx/marketing/app/bundles/LeadBundle/Entity/Lead.php on line 1161

  
2) CORS Issue -

Code:

app.js?vc2858016:253 Uncaught DOMException: Blocked a frame with origin "https://marketing.thehrbooth.co.uk" from accessing a cross-origin frame.

- I have setup the CORS domains as

Code:

https://www

and

Code:

https://subdomain

but still get this issue when submitting the form.  
  
Any help would be appreciated.  
  
Thanks  
Derek

---

<div class="post-metadata">

### Author: ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)
#### Post date: [January 1, 2017, 9:52am UTC](https://forum.mautic.org/t/focus-item-issues/7008/2 "2017-01-01T09:52:24Z")

</div>

This is a fantastic new addition and nearly works well, but not quite.

I set up a focus item on the blog to show a simple signup form on scroll, which works.

I have two issues with the functionality when I click submit:

1. Internal Server Error - Fatal Error `Fatal error: Call to a member function getTag() on null in /home/xxxx/marketing/app/bundles/LeadBundle/Entity/Lead.php on line 1161`

2. CORS Issue - `app.js?vc2858016:253 Uncaught DOMException: Blocked a frame with origin "https://marketing.thehrbooth.co.uk" from accessing a cross-origin frame.` - I have setup the CORS domains as `https://www` and `https://subdomain` but still get this issue when submitting the form.

Any help would be appreciated.

Thanks  
Derek

---

<div class="post-metadata">

### Author: ![miike](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@miike](https://forum.mautic.org/u/miike)
#### Post date: [February 9, 2017, 5:49am UTC](https://forum.mautic.org/t/focus-item-issues/7008/3 "2017-02-09T05:49:01Z")

</div>

I get the exact same issue with v2.4

I’ve been able to isolate what causes it, but need a fix I think. May wait until v2.6 is released and upgrade instead.

To replicate the issue:  
I just re-submit an email that already exists as a contact. - The error only comes up for existing contacts, not new contacts.

This also happens using different forms to re-submit the contact. So it’s something to do with the contact some how.

Appreciate if anyone knows how to fix this?

Thanks
