Exception: Warning: ltrim() expects parameter 1 to be string, object given in /var/www/html/vendor/magento/framework/Code/Generator/EntityAbstract.php on line 152 in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'ltrim() expects...', '/var/www/html/v...', 152, Array) #1 /var/www/html/vendor/magento/framework/Code/Generator/EntityAbstract.php(152): ltrim(Object(Magento\Framework\ObjectManager\ObjectManager), '\\') #2 /var/www/html/vendor/magento/framework/Code/Generator/EntityAbstract.php(81): Magento\Framework\Code\Generator\EntityAbstract->_getFullyQualifiedClassName(Object(Magento\Framework\ObjectManager\ObjectManager)) #3 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Magento\Framework\Code\Generator\EntityAbstract->__construct(Object(Magento\Framework\ObjectManager\ObjectManager)) #4 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #5 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #6 /var/www/html/vendor/magento/framework/Code/Generator.php(136): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #7 /var/www/html/vendor/magento/framework/Code/Generator.php(110): Magento\Framework\Code\Generator->createGeneratorInstance('\\Magento\\Framew...', 'Magento\\Framewo...', 'Magento\\Framewo...') #8 /var/www/html/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Framewo...') #9 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Framewo...') #10 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): spl_autoload_call('Magento\\Framewo...') #11 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #12 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #13 /var/www/html/vendor/magento/framework/Data/Collection/EntityFactory.php(37): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #14 /var/www/html/vendor/magento/framework/Data/Collection.php(610): Magento\Framework\Data\Collection\EntityFactory->create('Magento\\Framewo...') #15 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(576): Magento\Framework\Data\Collection->getNewEmptyItem() #16 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(557): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #17 /var/www/html/vendor/magento/framework/Data/Collection.php(820): Magento\Framework\Data\Collection\AbstractDb->load() #18 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(78): Magento\Framework\Data\Collection->getIterator() #19 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(58): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #20 /var/www/html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #21 /var/www/html/var/generation/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #22 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(98): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #23 /var/www/html/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #24 /var/www/html/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #25 /var/www/html/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #26 /var/www/html/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #27 /var/www/html/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #28 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #29 /var/www/html/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #30 /var/www/html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #31 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #32 /var/www/html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #33 /var/www/html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #34 {main}