Mautic Community Forums

After updating mautic to 1.2.3 configuration error

Hi,



We have have tried to update mautic to new release 1.2.3 but after successful update we are not able to access configuration part



these are errors in server logs



[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 1 passed to MauticCoreBundleFormTypeConfigType::__construct() must implement interface SymfonyComponentTranslationTranslatorInterface, instance of MauticCoreBundleFactoryMauticFactory given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 75 [] []

[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 2 passed to MauticCoreBundleFormTypeConfigType::__construct() must be an instance of MauticCoreBundleHelperLanguageHelper, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 76 [] []

[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 3 passed to MauticCoreBundleFormTypeConfigType::__construct() must be an instance of MauticCoreBundleFactoryIpLookupFactory, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 77 [] []

[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 4 passed to MauticCoreBundleFormTypeConfigType::__construct() must be of the type array, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 78 [] []

[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 5 passed to MauticCoreBundleFormTypeConfigType::__construct() must be of the type array, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 79 [] []

[2015-12-28 08:49:48] mautic.WARNING: PHP Warning: Invalid argument supplied for foreach() - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 89 [] []

[2015-12-28 08:49:48] mautic.ERROR: Fatal: Call to undefined method MauticCoreBundleFactoryMauticFactory::trans() - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 133 [] []



any solution for this?

Hi,

We have have tried to update mautic to new release 1.2.3 but after successful update we are not able to access configuration part

these are errors in server logs

[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 1 passed to MauticCoreBundleFormTypeConfigType::__construct() must implement interface SymfonyComponentTranslationTranslatorInterface, instance of MauticCoreBundleFactoryMauticFactory given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 75 [] []
[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 2 passed to MauticCoreBundleFormTypeConfigType::__construct() must be an instance of MauticCoreBundleHelperLanguageHelper, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 76 [] []
[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 3 passed to MauticCoreBundleFormTypeConfigType::__construct() must be an instance of MauticCoreBundleFactoryIpLookupFactory, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 77 [] []
[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 4 passed to MauticCoreBundleFormTypeConfigType::__construct() must be of the type array, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 78 [] []
[2015-12-28 08:49:48] mautic.ERROR: PHP Error: Argument 5 passed to MauticCoreBundleFormTypeConfigType::__construct() must be of the type array, none given, called in /home/omnidea/ftp/app/cache/prod/appProdProjectContainer.php on line 1597 and defined - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 79 [] []
[2015-12-28 08:49:48] mautic.WARNING: PHP Warning: Invalid argument supplied for foreach() - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 89 [] []
[2015-12-28 08:49:48] mautic.ERROR: Fatal: Call to undefined method MauticCoreBundleFactoryMauticFactory::trans() - in file /home/omnidea/ftp/app/bundles/CoreBundle/Form/Type/ConfigType.php - at line 133 [] []

any solution for this?

Hi,

Can you try to delete the folder app/cache/prod then refresh the page to see if the error persists?

Hello Admin ,

I have upload new latest version on dreamHost and i am getting following error.

I tried to change file name to classloader.php and removed the app/cache/prod folder but error is not going and got stuck.

Warning: include(): Failed opening ‘/home/savsha4/techattribute.com/mail/app/bundles/InstallBundle/Configurator/Step/CheckStep.php’ for inclusion (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/savsha4/techattribute.com/mail/vendor/composer/ClassLoader.php on line 412

Fatal error: Class ‘MauticInstallBundleConfiguratorStepCheckStep’ not found in /home/savsha4/techattribute.com/mail/app/cache/prod/appProdProjectContainer.php on line 6817

Fatal error: Uncaught exception ‘SymfonyComponentDebugExceptionClassNotFoundException’ with message ‘Attempted to load class “CheckStep” from namespace “MauticInstallBundleConfiguratorStep”. Did you forget a “use” statement for another namespace?’ in /home/savsha4/techattribute.com/mail/app/cache/prod/appProdProjectContainer.php:6817 Stack trace: #0 {main} Next exception ‘RuntimeException’ with message ‘Failed to start the session because headers have already been sent by “/home/savsha4/techattribute.com/mail/vendor/composer/ClassLoader.php” at line 412.’ in /home/savsha4/techattribute.com/mail/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:140 Stack trace: #0 /home/savsha4/techattribute.com/mail/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(278): SymfonyComponentHttpFoundationSessionStorageNativeSessionStorage->start() #1 /home/savsha4/techattribute.com/mail/vendor/symfony/http-foundation/Session/Session.php(237): SymfonyComponentHttpFoundationSessionSto in /home/savsha4/techattribute.com/mail/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 140

Please help