• Resolved jianbingguozi

    (@jianbingguozi)


    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.php

    As 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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Labinator

    (@labinator)

    @jianbingguozi

    Thank you very much for choosing NanoSpace and for reporting the bug. We value your feedback very much.

    Our team has already confirmed this warning message on our end, and we are working on resolving it. We will keep this ticket open until the new version becomes available at ww.wp.xz.cn.

    Please note that it will take a couple of weeks before the new version becomes available since every update requires a manual approval from the ww.wp.xz.cn team. Not to mention that our team requires time to thoroughly test the theme with Polylang.

    We will reply to this thread as soon as the new update is ready.

    Thank you for your patience.

    Best Regards,
    Labinator Team

    Theme Author Labinator

    (@labinator)

    @jianbingguozi

    Hello!

    We would like to inform you that we have not experienced any memory leak on our sites. It might be something else going on your server in respect to the memory leak.

    Concerning the XML warning, it is indeed due to missing ending characters of the comments. Closing the comments properly resolves the issue. Edit the files on your end and close the comments to resolve it.

    We will submit the new version to ww.wp.xz.cn as soon as possible.

    Best Regards,
    Labinator Team

    Theme Author Labinator

    (@labinator)

    @jianbingguozi

    Hello!

    We would like to inform you that the new version of the theme is already live. Please update to the latest version to resolve the issue.

    Thank you once again for reporting the bug.

    Best Regards,
    Labinator Team

    Thread Starter jianbingguozi

    (@jianbingguozi)

    Thank you very much for the quick fix!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Syntax issue in wpml-config.xml’ is closed to new replies.