# 500 error when I try to fetch website for focus item

**URL:** <https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470>\
**Category:** Product Support\
**Created:** [October 6, 2020, 7:26pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470 "2020-10-06T19:26:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 6, 2020, 7:26pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/1 "2020-10-06T19:26:03Z")

</div>

**Your software**  
My Mautic version is:2.6  
My PHP version is:7.2

**Your problem**  
My problem is:

I get the error 500 when I try to fetch the website where I want to put focus item…it happens every time…

What to do?

---

<div class="post-metadata">

**Author:** ![ericgr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ericgr/32/5505_2.png) [@ericgr](https://forum.mautic.org/u/ericgr)\
**Post date:** [October 7, 2020, 8:28pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/2 "2020-10-07T20:28:16Z")

</div>

I have the same issue. My “solution”: don’t use the ‘fetch’ 🙂

You can still create the focus items and it still shows the focus item preview. It just doesn’t pull the website into the frame.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 10:48pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/3 "2020-10-07T22:48:02Z")

</div>

yep same here, i should not fetch it

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [October 8, 2020, 8:15am UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/4 "2020-10-08T08:15:20Z")

</div>

wrote a previous post on this. this is fixed in 3.0.1

---

<div class="post-metadata">

**Author:** ![aplanells](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aplanells/32/6755_2.png) [@aplanells](https://forum.mautic.org/u/aplanells)\
**Post date:** [October 22, 2022, 8:18pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/5 "2022-10-22T20:18:54Z")

</div>

I have the same error, my mautic version is V 4.4.3. When I try to fetch the website [https://focopanama.com](https://focopanama.com) it sends a **500** Internal Server Error

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [October 24, 2022, 7:08am UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/6 "2022-10-24T07:08:31Z")

</div>

Hi,  
Not sure if this is the same error, but you are trying to access cookies between a .net domain installed Mautic and a .com installed website. Chrome does now approve of that.

Plus: One of your plugins is generating a bunch of js errors due to cross domain policy restrictions.

---

<div class="post-metadata">

**Author:** ![semel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/semel/32/6861_2.png) [@semel](https://forum.mautic.org/u/semel)\
**Post date:** [November 11, 2022, 11:18am UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/7 "2022-11-11T11:18:53Z")

</div>

I’m getting the same error.

# PHP Version 7.4.30

Mautic version 4.4.4

Logs show this error:  
mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Argument 1 passed to MauticPlugin\MauticFocusBundle\Helper\IframeAvailabilityChecker::check() must be of the type string, null given, called in /var/www/mautic/plugins/MauticFocusBundle/Controller/AjaxController.php on line 24” at /var/www/mautic/plugins/MauticFocusBundle/Helper/IframeAvailabilityChecker.php line 27 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to MauticPlugin\MauticFocusBundle\Helper\IframeAvailabilityChecker::check() must be of the type string, null given, called in /var/www/mautic/plugins/MauticFocusBundle/Controller/AjaxController.php on line 24 at /var/www/mautic/plugins/MauticFocusBundle/Helper/IframeAvailabilityChecker.php:27)”}

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 11, 2022, 11:24am UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/8 "2022-11-11T11:24:09Z")

</div>

Are you also hosting Mautic on a different domain as the website you are tracking?

---

<div class="post-metadata">

**Author:** ![semel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/semel/32/6861_2.png) [@semel](https://forum.mautic.org/u/semel)\
**Post date:** [November 16, 2022, 7:15pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/9 "2022-11-16T19:15:42Z")

</div>

Yes, anyways it looks like there is an error in the code, the issue was already reported.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 14, 2023, 6:38pm UTC](https://forum.mautic.org/t/500-error-when-i-try-to-fetch-website-for-focus-item/16470/10 "2023-06-14T18:38:48Z")

</div>

very strange, I am using 4.4.4 on many installations and everything is working fine. Spun up an image today and all of a sudden ran into this on 4.4.4 with same error.

Anyone had any luck resolving this?
