magento2 - Warning: DOMXPath::query(): Invalid expression in /opt/lampp/htdocs/magento/vendor/magento/framework/Config/Dom.php on line 273 -
i using magento latest release 2.x.
everything works fine, except when saving product image magento 2.x throws error
warning: domxpath::query(): invalid expression in /opt/lampp/htdocs/magento/vendor/magento/framework/config/dom.php on line 273
i have started learning magento. appreciated.
though old question, there no answer in 5 months. got similar issue , found cause case.
this issue might generated due wrong xml configuration. if add more code related issue, isolate exact reason behind issue.
at end, wrote di.xml wrongly, didn't write root tag in di.xml. reason, error generate.
if gets issue, should check configuration files.
Comments
Post a Comment