Magento\Framework\Exception\LocalizedException: The XML in file "/var/www/vhosts/caldera.gr/httpdocs/app/code/BoxNow/Delivery/etc/events.xml" is invalid: Element 'event': Duplicate key-sequence ['payment_method_is_active'] in unique identity-constraint 'uniqueEventName'. Line: 13 Verify the XML and try again. in /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Config/Reader/Filesystem.php:156 Stack trace: #0 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Config/Reader/Filesystem.php(132): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator)) #1 /var/www/vhosts/caldera.gr/httpdocs/generated/code/Magento/Framework/Event/Config/Reader/Proxy.php(95): Magento\Framework\Config\Reader\Filesystem->read('global') #2 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Config/Data/Scoped.php(119): Magento\Framework\Event\Config\Reader\Proxy->read('global') #3 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Config/Data/Scoped.php(97): Magento\Framework\Config\Data\Scoped->_loadScopedData() #4 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Event/Config.php(37): Magento\Framework\Config\Data\Scoped->get('core_collection...', Array) #5 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Event/Manager.php(58): Magento\Framework\Event\Config->getObservers('core_collection...') #6 /var/www/vhosts/caldera.gr/httpdocs/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('core_collection...', Array) #7 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php(541): Magento\Framework\Event\Manager\Proxy->dispatch('core_collection...', Array) #8 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(577): Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection->_beforeLoad() #9 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #10 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Data/Collection.php(838): Magento\Framework\Data\Collection\AbstractDb->load() #11 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(82): Magento\Framework\Data\Collection->getIterator() #12 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #13 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #14 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #15 /var/www/vhosts/caldera.gr/httpdocs/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #16 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(371): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #17 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(79): Magento\Config\App\Config\Type\System->readData() #18 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(261): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #19 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(195): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #20 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(169): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #21 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...') #22 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...') #23 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL) #24 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag('newrelicreporti...') #25 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #26 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\LocalizedException)) #27 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\LocalizedException)) #28 /var/www/vhosts/caldera.gr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #29 /var/www/vhosts/caldera.gr/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\LocalizedException)) #30 /var/www/vhosts/caldera.gr/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #31 {main}