Fatal error: Uncaught InvalidArgumentException: Constant "Magento\Store\Model\StoreManager::PARAM_RUN_CODE" is not defined. in C:\Apache24\htdocs\vendor\magento\framework\Data\Argument\Interpreter\Constant.php:26
Stack trace:
#0 C:\Apache24\htdocs\vendor\magento\framework\App\Arguments\ArgumentInterpreter.php(35): Magento\Framework\Data\Argument\Interpreter\Constant->evaluate()
#1 C:\Apache24\htdocs\vendor\magento\framework\Data\Argument\Interpreter\Composite.php(61): Magento\Framework\App\Arguments\ArgumentInterpreter->evaluate()
#2 C:\Apache24\htdocs\vendor\magento\framework\ObjectManager\Config\Mapper\Dom.php(102): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate()
#3 C:\Apache24\htdocs\vendor\magento\framework\Config\Reader\Filesystem.php(176): Magento\Framework\ObjectManager\Config\Mapper\Dom->convert()
#4 C:\Apache24\htdocs\vendor\magento\framework\Config\Reader\Filesystem.php(132): Magento\Framework\Config\Reader\Filesystem->_readFiles()
#5 C:\Apache24\htdocs\vendor\magento\framework\App\ObjectManagerFactory.php(279): Magento\Framework\Config\Reader\Filesystem->read()
#6 C:\Apache24\htdocs\vendor\magento\framework\App\ObjectManagerFactory.php(140): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig()
#7 C:\Apache24\htdocs\vendor\magento\framework\App\Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create()
#8 C:\Apache24\htdocs\vendor\magento\framework\App\Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#9 C:\Apache24\htdocs\pub\index.php(27): Magento\Framework\App\Bootstrap::create()
#10 {main}
Next Magento\Framework\Exception\State\InitException: Constant "Magento\Store\Model\StoreManager::PARAM_RUN_CODE" is not defined. in C:\Apache24\htdocs\vendor\magento\framework\App\ObjectManagerFactory.php:281
Stack trace:
#0 C:\Apache24\htdocs\vendor\magento\framework\App\ObjectManagerFactory.php(140): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig()
#1 C:\Apache24\htdocs\vendor\magento\framework\App\Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create()
#2 C:\Apache24\htdocs\vendor\magento\framework\App\Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#3 C:\Apache24\htdocs\pub\index.php(27): Magento\Framework\App\Bootstrap::create()
#4 {main}
thrown in C:\Apache24\htdocs\vendor\magento\framework\App\ObjectManagerFactory.php on line 281