Fatal error: Uncaught Magento\Framework\Exception\LocalizedException: Invalid Document Error in merged XML after reading /var/www/vhosts/design2.bobcometal.com/httpdocs/app/code/Dacoders/NoRouteToSearch/etc/frontend/di.xml Element 'type', attribute 'name': [facet 'pattern'] The value 'Magento\\Framework\\App\\Router\\NoRouteHandlerList' is not accepted by the pattern '(\\?[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*)(\\[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*)*'. Line: 4 The xml was: 0:<?xml version="1.0"?> 1:<!-- 2:/** 3: * Copyright © Magento, Inc. All rights reserved. 4: * See COPYING.txt for license details. 5: */ 6:--> 7:<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> 8: <type name="Magento\Framework\App\FrontController"> 9: <plugin name="requestPreprocessor" type="Magento\Store\App\FrontController\Plugin\RequestPreprocessor" sortOrder="50"/> Element 'type', attribute 'name': Warning: No precomputed value available, the value was either invalid or something strange happened. Line: 4 The xml was: 0:<?xml version="1.0"?> 1:<!-- 2:/** 3: * Copyright © Magento, Inc. All rights reserved. 4: * See COPYING.txt for license details. 5: */ 6:--> 7:<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> 8: <type name="Magento\Framework\App\FrontController"> 9: <plugin name="requestPreprocessor" type="Magento\Store\App\FrontController\Plugin\RequestPreprocessor" sortOrder="50"/> in /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Config/Reader/Filesystem.php:186 Stack trace: #0 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Config/Reader/Filesystem.php(131): Magento\Framework\Config\Reader\Filesystem->_readFiles() #1 /var/www/vhosts/design2.bobcometal.com/httpdocs/generated/code/Magento/Framework/ObjectManager/Config/Reader/Dom/Proxy.php(105): Magento\Framework\Config\Reader\Filesystem->read() #2 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Interception/Config/Config.php(204): Magento\Framework\ObjectManager\Config\Reader\Dom\Proxy->read() #3 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Interception/Config/Config.php(190): Magento\Framework\Interception\Config\Config->generateIntercepted() #4 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Interception/Config/Config.php(122): Magento\Framework\Interception\Config\Config->initializeUncompiled() #5 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Interception\Config\Config->__construct() #6 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #7 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(73): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() #8 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(84): Magento\Framework\ObjectManager\ObjectManager->get() #9 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager() #10 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create() #11 /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct() #12 /var/www/vhosts/design2.bobcometal.com/httpdocs/pub/index.php(27): Magento\Framework\App\Bootstrap::create() #13 {main} thrown in /var/www/vhosts/design2.bobcometal.com/httpdocs/vendor/magento/framework/Config/Reader/Filesystem.php on line 186