Area code not set: Area code must be set before starting a session. While doing upgrade to 2.2












0















I am upgrading my Magento 2.1.9 to 2.2.7 using these following commands



composer require magento/product-community-edition 2.2.7 --no-update
composer update


Then when i'm doing php bin/magento setup:upgrade, i am getting this



Updating modules:
Area code not set: Area code must be set before starting a session.


[MagentoFrameworkExceptionSessionException]
Area code not set: Area code must be set before starting a session.


Exception trace:
() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:175
MagentoFrameworkSessionSessionManager->start() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:50
MagentoFrameworkSessionGenericInterceptor->start() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:130
MagentoFrameworkSessionSessionManager->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:14
MagentoFrameworkSessionGenericInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:84
MagentoFrameworkSessionGenericProxy->_getSubject() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:207
MagentoFrameworkSessionGenericProxy->getSessionIdForHost() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:981
MagentoFrameworkUrl->_prepareSessionUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:949
MagentoFrameworkUrl->createUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:876
MagentoFrameworkUrl->getUrl() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Argument/Parser/Url.php:52
MagentoUiConfigArgumentParserUrl->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:147
MagentoUiConfigReaderDefinitionData->evaluateComponentArguments() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:102
MagentoUiConfigReaderDefinitionData->initData() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:81
MagentoUiConfigReaderDefinitionData->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/View/LayoutFactory.php:50
MagentoFrameworkViewLayoutFactory->create() at /home/don/Web/fabelio22/vendor/magento/module-payment/Helper/Data.php:79
MagentoPaymentHelperData->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Payment/Helper/Data/Interceptor.php:14
MagentoPaymentHelperDataInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:135
MagentoFrameworkConsoleCli->getApplicationCommands() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:116
MagentoFrameworkConsoleCli->getDefaultCommands() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:1140
SymfonyComponentConsoleApplication->init() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:495
SymfonyComponentConsoleApplication->find() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:182
SymfonyComponentConsoleApplication->doRun() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:102
MagentoFrameworkConsoleCli->doRun() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:117
SymfonyComponentConsoleApplication->run() at /home/don/Web/fabelio22/bin/magento:23


can someone help me on what to look at. Thank you!










share|improve this question























  • try deleting the contents of generated/code.

    – Marius
    2 days ago











  • thanks for replying, but nope it's still error

    – Doni Wibowo
    2 days ago
















0















I am upgrading my Magento 2.1.9 to 2.2.7 using these following commands



composer require magento/product-community-edition 2.2.7 --no-update
composer update


Then when i'm doing php bin/magento setup:upgrade, i am getting this



Updating modules:
Area code not set: Area code must be set before starting a session.


[MagentoFrameworkExceptionSessionException]
Area code not set: Area code must be set before starting a session.


Exception trace:
() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:175
MagentoFrameworkSessionSessionManager->start() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:50
MagentoFrameworkSessionGenericInterceptor->start() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:130
MagentoFrameworkSessionSessionManager->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:14
MagentoFrameworkSessionGenericInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:84
MagentoFrameworkSessionGenericProxy->_getSubject() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:207
MagentoFrameworkSessionGenericProxy->getSessionIdForHost() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:981
MagentoFrameworkUrl->_prepareSessionUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:949
MagentoFrameworkUrl->createUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:876
MagentoFrameworkUrl->getUrl() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Argument/Parser/Url.php:52
MagentoUiConfigArgumentParserUrl->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:147
MagentoUiConfigReaderDefinitionData->evaluateComponentArguments() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:102
MagentoUiConfigReaderDefinitionData->initData() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:81
MagentoUiConfigReaderDefinitionData->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/View/LayoutFactory.php:50
MagentoFrameworkViewLayoutFactory->create() at /home/don/Web/fabelio22/vendor/magento/module-payment/Helper/Data.php:79
MagentoPaymentHelperData->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Payment/Helper/Data/Interceptor.php:14
MagentoPaymentHelperDataInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:135
MagentoFrameworkConsoleCli->getApplicationCommands() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:116
MagentoFrameworkConsoleCli->getDefaultCommands() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:1140
SymfonyComponentConsoleApplication->init() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:495
SymfonyComponentConsoleApplication->find() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:182
SymfonyComponentConsoleApplication->doRun() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:102
MagentoFrameworkConsoleCli->doRun() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:117
SymfonyComponentConsoleApplication->run() at /home/don/Web/fabelio22/bin/magento:23


can someone help me on what to look at. Thank you!










share|improve this question























  • try deleting the contents of generated/code.

    – Marius
    2 days ago











  • thanks for replying, but nope it's still error

    – Doni Wibowo
    2 days ago














0












0








0








I am upgrading my Magento 2.1.9 to 2.2.7 using these following commands



composer require magento/product-community-edition 2.2.7 --no-update
composer update


Then when i'm doing php bin/magento setup:upgrade, i am getting this



Updating modules:
Area code not set: Area code must be set before starting a session.


[MagentoFrameworkExceptionSessionException]
Area code not set: Area code must be set before starting a session.


Exception trace:
() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:175
MagentoFrameworkSessionSessionManager->start() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:50
MagentoFrameworkSessionGenericInterceptor->start() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:130
MagentoFrameworkSessionSessionManager->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:14
MagentoFrameworkSessionGenericInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:84
MagentoFrameworkSessionGenericProxy->_getSubject() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:207
MagentoFrameworkSessionGenericProxy->getSessionIdForHost() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:981
MagentoFrameworkUrl->_prepareSessionUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:949
MagentoFrameworkUrl->createUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:876
MagentoFrameworkUrl->getUrl() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Argument/Parser/Url.php:52
MagentoUiConfigArgumentParserUrl->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:147
MagentoUiConfigReaderDefinitionData->evaluateComponentArguments() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:102
MagentoUiConfigReaderDefinitionData->initData() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:81
MagentoUiConfigReaderDefinitionData->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/View/LayoutFactory.php:50
MagentoFrameworkViewLayoutFactory->create() at /home/don/Web/fabelio22/vendor/magento/module-payment/Helper/Data.php:79
MagentoPaymentHelperData->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Payment/Helper/Data/Interceptor.php:14
MagentoPaymentHelperDataInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:135
MagentoFrameworkConsoleCli->getApplicationCommands() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:116
MagentoFrameworkConsoleCli->getDefaultCommands() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:1140
SymfonyComponentConsoleApplication->init() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:495
SymfonyComponentConsoleApplication->find() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:182
SymfonyComponentConsoleApplication->doRun() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:102
MagentoFrameworkConsoleCli->doRun() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:117
SymfonyComponentConsoleApplication->run() at /home/don/Web/fabelio22/bin/magento:23


can someone help me on what to look at. Thank you!










share|improve this question














I am upgrading my Magento 2.1.9 to 2.2.7 using these following commands



composer require magento/product-community-edition 2.2.7 --no-update
composer update


Then when i'm doing php bin/magento setup:upgrade, i am getting this



Updating modules:
Area code not set: Area code must be set before starting a session.


[MagentoFrameworkExceptionSessionException]
Area code not set: Area code must be set before starting a session.


Exception trace:
() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:175
MagentoFrameworkSessionSessionManager->start() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:50
MagentoFrameworkSessionGenericInterceptor->start() at /home/don/Web/fabelio22/vendor/magento/framework/Session/SessionManager.php:130
MagentoFrameworkSessionSessionManager->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Interceptor.php:14
MagentoFrameworkSessionGenericInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:84
MagentoFrameworkSessionGenericProxy->_getSubject() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Session/Generic/Proxy.php:207
MagentoFrameworkSessionGenericProxy->getSessionIdForHost() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:981
MagentoFrameworkUrl->_prepareSessionUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:949
MagentoFrameworkUrl->createUrl() at /home/don/Web/fabelio22/vendor/magento/framework/Url.php:876
MagentoFrameworkUrl->getUrl() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Argument/Parser/Url.php:52
MagentoUiConfigArgumentParserUrl->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php:44
MagentoFrameworkDataArgumentInterpreterArrayType->evaluate() at /home/don/Web/fabelio22/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php:95
MagentoFrameworkDataArgumentInterpreterInterfaceProxy->evaluate() at /home/don/Web/fabelio22/vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61
MagentoFrameworkDataArgumentInterpreterComposite->evaluate() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:147
MagentoUiConfigReaderDefinitionData->evaluateComponentArguments() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:102
MagentoUiConfigReaderDefinitionData->initData() at /home/don/Web/fabelio22/vendor/magento/module-ui/Config/Reader/Definition/Data.php:81
MagentoUiConfigReaderDefinitionData->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/View/LayoutFactory.php:50
MagentoFrameworkViewLayoutFactory->create() at /home/don/Web/fabelio22/vendor/magento/module-payment/Helper/Data.php:79
MagentoPaymentHelperData->__construct() at /home/don/Web/fabelio22/generated/code/Magento/Payment/Helper/Data/Interceptor.php:14
MagentoPaymentHelperDataInterceptor->__construct() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:70
MagentoFrameworkObjectManagerObjectManager->get() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() at /home/don/Web/fabelio22/vendor/magento/framework/ObjectManager/ObjectManager.php:56
MagentoFrameworkObjectManagerObjectManager->create() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:135
MagentoFrameworkConsoleCli->getApplicationCommands() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:116
MagentoFrameworkConsoleCli->getDefaultCommands() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:1140
SymfonyComponentConsoleApplication->init() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:495
SymfonyComponentConsoleApplication->find() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:182
SymfonyComponentConsoleApplication->doRun() at /home/don/Web/fabelio22/vendor/magento/framework/Console/Cli.php:102
MagentoFrameworkConsoleCli->doRun() at /home/don/Web/fabelio22/vendor/symfony/console/Application.php:117
SymfonyComponentConsoleApplication->run() at /home/don/Web/fabelio22/bin/magento:23


can someone help me on what to look at. Thank you!







magento-2.1 magento2.2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









Doni WibowoDoni Wibowo

95212




95212













  • try deleting the contents of generated/code.

    – Marius
    2 days ago











  • thanks for replying, but nope it's still error

    – Doni Wibowo
    2 days ago



















  • try deleting the contents of generated/code.

    – Marius
    2 days ago











  • thanks for replying, but nope it's still error

    – Doni Wibowo
    2 days ago

















try deleting the contents of generated/code.

– Marius
2 days ago





try deleting the contents of generated/code.

– Marius
2 days ago













thanks for replying, but nope it's still error

– Doni Wibowo
2 days ago





thanks for replying, but nope it's still error

– Doni Wibowo
2 days ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f257497%2farea-code-not-set-area-code-must-be-set-before-starting-a-session-while-doing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f257497%2farea-code-not-set-area-code-must-be-set-before-starting-a-session-while-doing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1300-talet

1300-talet

Display a custom attribute below product name in the front-end Magento 1.9.3.8