Skip to content

developer mode throws an exception, but production mode is good #4647

Closed
@yssource

Description

@yssource

exception 'Magento\Framework\Exception\LocalizedException' with message 'Invalid Document failed to load external entity "urn:magento:framework:Data/etc/argument/types.xsd" Line: 0 Element '{http://www.w3.org/2001/XMLSchema}redefine': Failed to load the document 'urn:magento:framework:Data/etc/argument/types.xsd' for redefinition. Line: 12 ' in /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/Config/Reader/Filesystem.php:160 Stack trace: #0 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/Config/Reader/Filesystem.php(127): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator)) #1 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/ObjectManagerFactory.php(269): Magento\Framework\Config\Reader\Filesystem->read('primary') #2 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/ObjectManagerFactory.php(137): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig(Object(Magento\Framework\App\Filesystem\DirectoryList), Object(Magento\Framework\Filesystem\DriverPool), Object(Magento\Framework\ObjectManager\Config\Mapper\Dom), 'developer') #3 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #4 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #5 /home/jimmy/www/magento2/porto/pub/index.php(36): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #6 {main} Next exception 'Magento\Framework\Exception\State\InitException' with message 'Invalid Document failed to load external entity "urn:magento:framework:Data/etc/argument/types.xsd" Line: 0 Element '{http://www.w3.org/2001/XMLSchema}redefine': Failed to load the document 'urn:magento:framework:Data/etc/argument/types.xsd' for redefinition. Line: 12 ' in /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/ObjectManagerFactory.php:271 Stack trace: #0 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/ObjectManagerFactory.php(137): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig(Object(Magento\Framework\App\Filesystem\DirectoryList), Object(Magento\Framework\Filesystem\DriverPool), Object(Magento\Framework\ObjectManager\Config\Mapper\Dom), 'developer') #1 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #2 /home/jimmy/www/magento2/porto/lib/internal/Magento/Framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #3 /home/jimmy/www/magento2/porto/pub/index.php(36): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #4 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions