• Resolved Giuseppe C.

    (@sitiwebagencyeu)


    I kindly ask for help with Polylang support.
    Hi everyone, today I had a fatal error on my site, after updating my theme Enfold.
    I noticed that in polylang settings the flag compatibility with WPML is active and cannot be deactivated. this the error reported after updating the theme.
    /home/sitiweba/public_html/wp-content/themes/enfold/wpml-config.xml:81: parser error : Opening and ending tag mismatch: key line 47 and admin-texts in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </admin-texts> in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): /home/sitiweba/public_html/wp-content/themes/enfold/wpml-config.xml:82: parser error : Opening and ending tag mismatch: admin-texts line 46 and wpml-config in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </wpml-config> in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): /home/sitiweba/public_html/wp-content/themes/enfold/wpml-config.xml:83: parser error : Premature end of data in tag wpml-config line 1 in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/sitiweba/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    I have now restored the website from the last backup.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The Same Error,
    I had to disable the plug-in to make the site work.
    Problem encountered after enfold child update to version 4.6
    Polylang Version 2.6.4.
    How can I resolve it?
    Thanks

    Thread Starter Giuseppe C.

    (@sitiwebagencyeu)

    Hi denisj77 to solve I had to restore the site from full backup with duplicator.
    done before updating enfold to version 4.5
    I blocked automatic updates.
    I sent the report I posted on the enfold forum.
    I don’t understand how the error could have come about.
    I also have a local site for testing.
    On the local site everything worked.
    if you have the previous version of the theme you can try to downgrade.
    Hi denisj

    Thread Starter Giuseppe C.

    (@sitiwebagencyeu)

    Hi denisj77, i had this solution from the enfold team.
    to fix the bug:
    You have to add </key> on line 82 in
    /wp-content/themes/enfold/wpml-config.xml

    https://kriesi.at/support/topic/parser-error-after-updating-the-theme/#post-1132672

    Thread Starter Giuseppe C.

    (@sitiwebagencyeu)

    to fix the bug:
    You have to add </key> on line 82 in
    /wp-content/themes/enfold/wpml-config.xml

    My problem after entering the string:

    Warning: simplexml_load_file(): /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:81: parser error : Opening and ending tag mismatch: key line 47 and admin-texts in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </admin-texts> in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:82: parser error : Opening and ending tag mismatch: admin-texts line 46 and key in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </key> in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    My Problem Without Entering the String:

    Warning: simplexml_load_file(): /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:81: parser error : Opening and ending tag mismatch: key line 47 and admin-texts in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </admin-texts> in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:82: parser error : Opening and ending tag mismatch: admin-texts line 46 and WPML-config in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): </wpml-config> in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:83: parser error : Premature end of data in tag WPML-config line 1 in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Warning: simplexml_load_file(): ^ in /home/reside08/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 59

    Plugin Author Chouby

    (@chouby)

    Hello,

    Yes. the error is in the wpml-config.xml file of the theme Enfold as mentionned in the error message:

    /home/reside08/public_html/wp-content/themes/enfold/wpml-config.xml:81.
    The fix has been provided by @sitiwebagencyeu. I guess that the theme authors will fix that in the next update. Marking this topic as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Parser error in /polylang/modules/wpml/wpml-config.php on line 59’ is closed to new replies.