Since last theme update for 1.17 i am getting the following errors:
Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/azoresontravel/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /home/azoresontravel/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php:58) in /home/azoresontravel/public_html/wp-includes/pluggable.php on line 1210
This only happens when deactivating or activating a plugin.
Also i updated the WPML for the last version and i don´t know if is something with WPML, theme, or Wordpress 4.8.1.
That is a bug with WPML as you can see from the wp-content/plugins/sitepress-multilingual-cms reference in the error. Are you using the latest version of WPML?
Dear Team,
Since last theme update for 1.17 i am getting the following errors:
Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/azoresontravel/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /home/azoresontravel/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php:58) in /home/azoresontravel/public_html/wp-includes/pluggable.php on line 1210
This only happens when deactivating or activating a plugin.
Also i updated the WPML for the last version and i don´t know if is something with WPML, theme, or Wordpress 4.8.1.
Look forward for your reply.
Best regards,
Alexandre Silva
Hi,
That is a bug with WPML as you can see from the wp-content/plugins/sitepress-multilingual-cms reference in the error. Are you using the latest version of WPML?
Best regards,
themeenergy support
Hello,
Yes, i´am using the last version of WPML 3.8.0.
Will try to contact them.
Thank you for the help.
Best regards,
Alexandre Silva
You are welcome.
Best regards,
themeenergy support
Hello,
Just to let you know what was happening it may help others:
"The theme had an empty wpml-config.xml file. An empty file is not valid so you get the error messages.
I removed the file, which doesn't do anything and there are no more error messages."
Best regards,
Alexandre Silva
Hi,
Ok thanks for pointing that out.
Best regards,
themeenergy support