Magento\Framework\Exception\LocalizedException: The XML in file "/home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/epay/magento2-payment-module/etc/events.xml" is invalid: Element 'observer', attribute 'method': The attribute 'method' is not allowed. Line: 19 Element 'observer', attribute 'method': The attribute 'method' is not allowed. Line: 22 Verify the XML and try again. in /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Config/Reader/Filesystem.php:156 Stack trace: #0 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Config/Reader/Filesystem.php(132): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator)) #1 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Framework/Event/Config/Reader/Proxy.php(95): Magento\Framework\Config\Reader\Filesystem->read('global') #2 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Config/Data/Scoped.php(119): Magento\Framework\Event\Config\Reader\Proxy->read('global') #3 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Config/Data/Scoped.php(97): Magento\Framework\Config\Data\Scoped->_loadScopedData() #4 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Event/Config.php(37): Magento\Framework\Config\Data\Scoped->get('core_collection...', Array) #5 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Event/Manager.php(58): Magento\Framework\Event\Config->getObservers('core_collection...') #6 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('core_collection...', Array) #7 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php(541): Magento\Framework\Event\Manager\Proxy->dispatch('core_collection...', Array) #8 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Data/Collection/AbstractDb.php(577): Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection->_beforeLoad() #9 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(329): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #10 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->loadWithFilter(false, false) #11 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(320): Magento\Framework\Data\Collection\AbstractDb->load(false, false) #12 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(89): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->load() #13 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(72): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #14 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(42): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #15 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #16 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #17 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Type/System.php(395): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #18 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(136): Magento\Config\App\Config\Type\System->readData() #19 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #20 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #21 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #22 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...') #23 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...') #24 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL) #25 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag('newrelicreporti...') #26 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #27 /home/lastenshule/public_html/test.nordisk-handelshus.dk/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)) #28 /home/lastenshule/public_html/test.nordisk-handelshus.dk/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)) #29 /home/lastenshule/public_html/test.nordisk-handelshus.dk/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #30 /home/lastenshule/public_html/test.nordisk-handelshus.dk/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\LocalizedException)) #31 /home/lastenshule/public_html/test.nordisk-handelshus.dk/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #32 {main}