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)"} []
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)"} []
@chris0928
My friend, are you having that mistake there too?
Hey @Carlos BR - I haven’t had an problems with focus items. How far did you get / when did you get the error?
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 ???
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.