Syntax issue in wpml-config.xml
-
First of all, many thanks for developing this amazing theme!
We recently installed the Nanospace theme and the Polylang plug-in to support multi-languages. However, our website gives the following errors:
[Wed Aug 19 11:42:02.875750 2020] [php7:warn] [pid 40280] [client 10.6.212.12:52904] PHP Warning: simplexml_load_file(): /instances/home/nexuse/htdocs/wp-content/themes/nanospace/wpml-config.xml:29: parser error : Comment not terminated in /instances/home/nexuse/htdocs/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59, referer: https://nexus-e.org/wp-admin/plugins.php [Wed Aug 19 11:42:02.875760 2020] [php7:warn] [pid 40280] [client 10.6.212.12:52904] PHP Warning: simplexml_load_file(): /instances/home/nexuse/htdocs/wp-content/themes/nanospace/wpml-config.xml:29: parser error : Start tag expected, '<' not found in /instances/home/nexuse/htdocs/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59, referer: https://nexus-e.org/wp-admin/plugins.phpAs far as I understand, it means that the Polylang plug-in calls the wpml-config.xml of the Nanospace theme, but the wpml-config.xml has syntax problems.
The wpml-config.xml looks like the following:
<!-- WPML plugin setup --> <!-- --> <!-- Adding Customizer fields for plugin to localize them. --> <!-- --> <!-- @package NanoSpace --> <!-- @copyright Labinator --> <!-- --> <!-- @since 1.0.0 <!-- @version 1.0.0 <wpml-config> <admin-texts> <key name="theme_mods_nanospace"> <key name="texts_site_info" /> </key> </admin-texts> <custom-fields> <custom-field action="copy">show_intro_widgets</custom-field> <custom-field action="copy">no_intro</custom-field> <custom-field action="copy">no_intro_media</custom-field> <custom-field action="copy">no_thumbnail</custom-field> <custom-field action="copy">content_layout</custom-field> <custom-field action="copy">intro_image</custom-field> </custom-fields> </wpml-config>The last comment is indeed not closed and it is already like this since version 1.0.0 according to https://themes.svn.ww.wp.xz.cn/nanospace/.
How should this be solved?
Also, we rencently noticed a memory leak issue of the website, could this syntax issue be the cause?Thank you very much in advance for the help!
The page I need help with: [log in to see the link]
The topic ‘Syntax issue in wpml-config.xml’ is closed to new replies.
