# Problems with Focus

**URL:** <https://forum.mautic.org/t/problems-with-focus/7145>\
**Category:** Product Support\
**Created:** [January 12, 2017, 8:21pm UTC](https://forum.mautic.org/t/problems-with-focus/7145 "2017-01-12T20:21:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_BR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlos_br/32/1228_2.png) [@Carlos\_BR](https://forum.mautic.org/u/Carlos_BR)\
**Post date:** [January 12, 2017, 8:21pm UTC](https://forum.mautic.org/t/problems-with-focus/7145/1 "2017-01-12T20:21:27Z")

</div>

Gentlemen, can anyone help me with these mistakes?  
  
I tried to create an item in Focus in version 2.5.1 but it will not …  
  
Here is the log error …  
  
  
  
[2017-01-12 18:08:48] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
  
[2017-01-12 18:08:48] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
  
[2017-01-12 18:08:48] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
  
[2017-01-12 18:12:20] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
  
[2017-01-12 18:12:20] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
  
[2017-01-12 18:12:20] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
  
[2017-01-12 18:15:14] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
  
[2017-01-12 18:15:14] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
  
[2017-01-12 18:15:14] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
  
[2017-01-12 20:17:08] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
  
[2017-01-12 20:17:08] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
  
[2017-01-12 20:17:08] mautic.ERROR: Deprecation: The SymfonyComponentTranslationTranslator::getMessages method is deprecated since version 2.8 and will be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead. - in file /var/www/curso.mauticparaempreendedores.com/htdocs/vendor/symfony/translation/Translator.php - at line 275 [] []  
  
[2017-01-12 20:18:17] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
  
[2017-01-12 20:18:17] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []

---

<div class="post-metadata">

**Author:** ![Carlos\_BR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlos_br/32/1228_2.png) [@Carlos\_BR](https://forum.mautic.org/u/Carlos_BR)\
**Post date:** [January 12, 2017, 8:21pm UTC](https://forum.mautic.org/t/problems-with-focus/7145/2 "2017-01-12T20:21:27Z")

</div>

Gentlemen, can anyone help me with these mistakes?  
I tried to create an item in Focus in version 2.5.1 but it will not …  
Here is the log error …

[2017-01-12 18:08:48] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
[2017-01-12 18:08:48] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
[2017-01-12 18:08:48] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
[2017-01-12 18:12:20] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
[2017-01-12 18:12:20] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
[2017-01-12 18:12:20] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
[2017-01-12 18:15:14] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
[2017-01-12 18:15:14] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
[2017-01-12 18:15:14] mautic.ERROR: Error: Call to a member function getRedirect() on null - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 99 [] []  
[2017-01-12 20:17:08] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
[2017-01-12 20:17:08] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []  
[2017-01-12 20:17:08] mautic.ERROR: Deprecation: The SymfonyComponentTranslationTranslator::getMessages method is deprecated since version 2.8 and will be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead. - in file /var/www/curso.mauticparaempreendedores.com/htdocs/vendor/symfony/translation/Translator.php - at line 275 [] []  
[2017-01-12 20:18:17] mautic.ERROR: PHP Error: Argument 1 passed to MauticPageBundleModelTrackableModel::generateTrackableUrl() must be an instance of MauticPageBundleEntityTrackable, null given, called in /var/www/curso.mauticparaempreendedores.com/htdocs/plugins/MauticFocusBundle/Model/FocusModel.php on line 212 and defined - in file /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php - at line 93 [] []  
[2017-01-12 20:18:17] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDebugExceptionFatalErrorException: “Error: Call to a member function getRedirect() on null” at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php line 99 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Error: Call to a member function getRedirect() on null at /var/www/curso.mauticparaempreendedores.com/htdocs/app/bundles/PageBundle/Model/TrackableModel.php:99)"} []

---

<div class="post-metadata">

**Author:** ![Carlos\_BR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlos_br/32/1228_2.png) [@Carlos\_BR](https://forum.mautic.org/u/Carlos_BR)\
**Post date:** [January 13, 2017, 3:19am UTC](https://forum.mautic.org/t/problems-with-focus/7145/3 "2017-01-13T03:19:29Z")

</div>

@chris0928  
My friend, are you having that mistake there too?

---

<div class="post-metadata">

**Author:** ![chris0928](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris0928/32/118_2.png) [@chris0928](https://forum.mautic.org/u/chris0928)\
**Post date:** [January 13, 2017, 1:53pm UTC](https://forum.mautic.org/t/problems-with-focus/7145/4 "2017-01-13T13:53:46Z")

</div>

Hey @Carlos BR - I haven’t had an problems with focus items. How far did you get / when did you get the error?

---

<div class="post-metadata">

**Author:** ![Carlos\_BR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carlos_br/32/1228_2.png) [@Carlos\_BR](https://forum.mautic.org/u/Carlos_BR)\
**Post date:** [January 13, 2017, 4:06pm UTC](https://forum.mautic.org/t/problems-with-focus/7145/5 "2017-01-13T16:06:11Z")

</div>

Oops @chris0928 sorry for the delay … was here fighting with the mistake …

Well, it started these days about two days ago …  
Now it apparently came back to work … it’s still bad …  
It creates the item, but not saved … that black message does not appear in the upper right corner stating that the file was created …  
And when I enter the script on the site, it is duplicating the data … if there was a visit, it shows in the graph being two … any suggestions ???

---

<div class="post-metadata">

**Author:** ![chris0928](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris0928/32/118_2.png) [@chris0928](https://forum.mautic.org/u/chris0928)\
**Post date:** [January 13, 2017, 6:02pm UTC](https://forum.mautic.org/t/problems-with-focus/7145/6 "2017-01-13T18:02:22Z")

</div>

I wish I could help, but it’s a bit over my head in terms of technical knowledge 😕 Maybe someone else here will be able to provide some advice.
