Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in admin pages due to invalid XML #81

Closed
maderlock opened this issue Jul 28, 2017 · 2 comments · Fixed by #82
Closed

Error in admin pages due to invalid XML #81

maderlock opened this issue Jul 28, 2017 · 2 comments · Fixed by #82
Assignees
Milestone

Comments

@maderlock
Copy link

This is in Magento 2.1.7.
When visiting pages like a cart rule, I get the following error:

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /Volumes/Sites/SomeSite/vendor/bitexpert/magento2-force-customer-login/etc/adminhtml/system.xml:
Element 'resource': This element is not expected.
Line: 7


Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /Volumes/Sites/SomeSite/vendor/bitexpert/magento2-force-customer-login/etc/adminhtml/system.xml:
Element 'resource': This element is not expected.
Line: 7

#0 /Volumes/Sites/SomeSite/vendor/magento/framework/Config/Reader/Filesystem.php(127): Magento\Config\Model\Config\Structure\Reader->_readFiles(Object(Magento\Framework\Config\FileIterator))
#1 /Volumes/Sites/SomeSite/vendor/magento/framework/Config/Data/Scoped.php(103): Magento\Framework\Config\Reader\Filesystem->read('adminhtml')
#2 /Volumes/Sites/SomeSite/vendor/magento/framework/Config/Data/Scoped.php(81): Magento\Framework\Config\Data\Scoped->_loadScopedData()
#3 /Volumes/Sites/SomeSite/vendor/magento/module-config/Model/Config/Structure.php(73): Magento\Framework\Config\Data\Scoped->get()
etc.

It looks like the node should be removed from system.xml?

@der-workfloh
Copy link
Contributor

Hi @maderlock ,

this seems related to #79 , for which I will provide a pull request soon (placing the resource tag correctly as defined in the XSD).

@maderlock
Copy link
Author

maderlock commented Jul 31, 2017

Looks like Pull request 79 should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants