Exception: Warning: Invalid argument supplied for foreach() in /home/etiennegoes/public_html/vendor/magento/module-eav/Model/Config.php on line 341 in /home/etiennegoes/public_html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /home/etiennegoes/public_html/vendor/magento/module-eav/Model/Config.php(341): Magento\Framework\App\ErrorHandler->handler(2, 'Invalid argumen...', '/home/etiennego...', 341, Array) #1 /home/etiennegoes/public_html/vendor/magento/module-eav/Model/Config.php(388): Magento\Eav\Model\Config->_initEntityTypes() #2 /home/etiennegoes/public_html/generated/code/Magento/Eav/Model/Config/Interceptor.php(63): Magento\Eav\Model\Config->getEntityType('customer') #3 /home/etiennegoes/public_html/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(319): Magento\Eav\Model\Config\Interceptor->getEntityType('customer') #4 /home/etiennegoes/public_html/generated/code/Magento/Customer/Model/ResourceModel/Customer/Interceptor.php(180): Magento\Eav\Model\Entity\AbstractEntity->setType('customer') #5 /home/etiennegoes/public_html/vendor/magento/module-customer/Model/ResourceModel/Customer.php(75): Magento\Customer\Model\ResourceModel\Customer\Interceptor->setType('customer') #6 /home/etiennegoes/public_html/generated/code/Magento/Customer/Model/ResourceModel/Customer/Interceptor.php(14): Magento\Customer\Model\ResourceModel\Customer->__construct(Object(Magento\Eav\Model\Entity\Context), Object(Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot), Object(Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationComposite), Object(Magento\Framework\App\Config), Object(Magento\Framework\Validator\Factory), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Store\Model\StoreManager), Array) #7 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): Magento\Customer\Model\ResourceModel\Customer\Interceptor->__construct(Object(Magento\Eav\Model\Entity\Context), Object(Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot), Object(Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationComposite), Object(Magento\Framework\App\Config), Object(Magento\Framework\Validator\Factory), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Store\Model\StoreManager), Array) #8 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Custome...', Array) #9 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Custome...') #10 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Custome...') #11 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Custome...', NULL, 'customerResourc...', 'Magento\\Custome...') #12 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Custome...', Array, Array) #13 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Custome...', Array, Array) #14 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Custome...') #15 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Custome...') #16 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Custome...', NULL, 'customerReposit...', 'Magento\\Checkou...') #17 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Checkou...', Array, Array) #18 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Checkou...', Array, Array) #19 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Checkou...') #20 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Checkou...') #21 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Checkou...', NULL, 'checkoutSession', 'Magento\\Persist...') #22 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Persist...', Array, Array) #23 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Persist...', Array, Array) #24 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Persist...') #25 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #26 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Persist...', NULL, 'persistentSessi...', 'Magento\\Persist...') #27 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Persist...', Array, Array) #28 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Persist...', Array, Array) #29 /home/etiennegoes/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Persist...') #30 /home/etiennegoes/public_html/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #31 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #32 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #33 /home/etiennegoes/public_html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(78): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #34 /home/etiennegoes/public_html/vendor/magento/framework/App/Response/Http.php(109): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #35 /home/etiennegoes/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(37): Magento\Framework\App\Response\Http->sendVary() #36 /home/etiennegoes/public_html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http\Interceptor->sendVary() #37 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #38 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #39 /home/etiennegoes/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #40 /home/etiennegoes/public_html/vendor/magento/framework/App/Http.php(206): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #41 /home/etiennegoes/public_html/vendor/magento/framework/App/Http.php(177): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #42 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #43 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #44 /home/etiennegoes/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #45 /home/etiennegoes/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #46 /home/etiennegoes/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #47 /home/etiennegoes/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #48 {main}