- Magento 2 'Home Page'
throws "Invalid Document Element 'type': Character content other than whitespace is not allowed because the content type is 'element-only'" in developer mode
but it's coming fine in production mode.
Note : above such are done with 'var' and 'pub' directories recursively given 777 permission.
- It also gives "SOAP-ERROR: Parsing WSDL: Couldn't load from....." may be because of the same issue.
Though SOAP is enabled, IP in host file is okay but SOAP connection gets failed.
I already followed the solutions given in magento forums and stackoverflow, stackexchange.. etc, But the problem still persists.