Fatal error: Uncaught Magento\Framework\Exception\LocalizedException: Area code is not set in /var/www/html/shop_testing/vendor/magento/framework/App/State.php:153
Stack trace:
#0 /var/www/html/shop_testing/vendor/magento/framework/Session/SessionManager.php(168): Magento\Framework\App\State->getAreaCode()
#1 /var/www/html/shop_testing/generated/code/Magento/Framework/Session/Generic/Interceptor.php(41): Magento\Framework\Session\SessionManager->start()
#2 /var/www/html/shop_testing/vendor/magento/framework/Session/SessionManager.php(123): Magento\Framework\Session\Generic\Interceptor->start()
#3 /var/www/html/shop_testing/generated/code/Magento/Framework/Session/Generic/Interceptor.php(14): Magento\Framework\Session\SessionManager->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL)
#4 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Generic\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL)
#5 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#6 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...')
#7 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...')
#8 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...')
#9 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(125): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...')
#10 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(86): Magento\Framework\ObjectManager\Factory\Compiled->parseArray(Array)
#11 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SessionValidato...')
#12 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SessionValidato...')
#13 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...')
#14 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...')
#15 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#16 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SGWG\\PunchoutLo...')
#17 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#18 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SGWG\\PunchoutLo...')
#19 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#20 /var/www/html/shop_testing/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get('SGWG\\PunchoutLo...')
#21 /var/www/html/shop_testing/vendor/magento/framework/Interception/Interceptor.php(144): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'sgwg_punchoutlo...')
#22 /var/www/html/shop_testing/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->Magento\Framework\Interception\{closure}('An error has ha...')
#23 /var/www/html/shop_testing/generated/code/Magento/Framework/HTTP/PhpEnvironment/Response/Interceptor.php(22): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->___callPlugins('setBody', Array, Array)
#24 /var/www/html/shop_testing/vendor/magento/framework/App/Bootstrap.php(449): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->setBody('An error has ha...')
#25 /var/www/html/shop_testing/vendor/magento/framework/App/Bootstrap.php(275): Magento\Framework\App\Bootstrap->terminate(Object(Exception))
#26 /var/www/html/shop_testing/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#27 {main}
Next Magento\Framework\Exception\SessionException: Area code not set: Area code must be set before starting a session. in /var/www/html/shop_testing/vendor/magento/framework/Session/SessionManager.php:170
Stack trace:
#0 /var/www/html/shop_testing/generated/code/Magento/Framework/Session/Generic/Interceptor.php(41): Magento\Framework\Session\SessionManager->start()
#1 /var/www/html/shop_testing/vendor/magento/framework/Session/SessionManager.php(123): Magento\Framework\Session\Generic\Interceptor->start()
#2 /var/www/html/shop_testing/generated/code/Magento/Framework/Session/Generic/Interceptor.php(14): Magento\Framework\Session\SessionManager->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL)
#3 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Generic\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL)
#4 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#5 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...')
#6 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...')
#7 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...')
#8 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(125): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...')
#9 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(86): Magento\Framework\ObjectManager\Factory\Compiled->parseArray(Array)
#10 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SessionValidato...')
#11 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SessionValidato...')
#12 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...')
#13 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...')
#14 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#15 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SGWG\\PunchoutLo...')
#16 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#17 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('SGWG\\PunchoutLo...')
#18 /var/www/html/shop_testing/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('SGWG\\PunchoutLo...')
#19 /var/www/html/shop_testing/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get('SGWG\\PunchoutLo...')
#20 /var/www/html/shop_testing/vendor/magento/framework/Interception/Interceptor.php(144): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'sgwg_punchoutlo...')
#21 /var/www/html/shop_testing/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->Magento\Framework\Interception\{closure}('An error has ha...')
#22 /var/www/html/shop_testing/generated/code/Magento/Framework/HTTP/PhpEnvironment/Response/Interceptor.php(22): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->___callPlugins('setBody', Array, Array)
#23 /var/www/html/shop_testing/vendor/magento/framework/App/Bootstrap.php(449): Magento\Framework\HTTP\PhpEnvironment\Response\Interceptor->setBody('An error has ha...')
#24 /var/www/html/shop_testing/vendor/magento/framework/App/Bootstrap.php(275): Magento\Framework\App\Bootstrap->terminate(Object(Exception))
#25 /var/www/html/shop_testing/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#26 {main}
thrown in /var/www/html/shop_testing/vendor/magento/framework/Session/SessionManager.php on line 170