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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -