Title: XML parse error on subscription widget
Last modified: August 30, 2016

---

# XML parse error on subscription widget

 *  Resolved [Adrien L](https://wordpress.org/support/users/adrien-l/)
 * (@adrien-l)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/)
 * Hi guys,
 * First of all, thanks for this wonderful plugin.
 * Now, we are encountering a problem with the subscription form widget. On Firefox
   and IE (not exclusive, I just tested these guys), the landing page is complaining
   about a parsing problem with the form on newsletter/do/subscribe.php:
 *     ```
       Erreur d'analyse XML : balise ne correspondant pas. Attendu : </input>.
       Emplacement : https://deontofi.com/wp-content/plugins/newsletter/do/subscribe.php
       Numéro de ligne 11, Colonne 51 :                                                </form>
       --------------------------------------------------^
       ```
   
 * So, Firefox doesn’t find the matching `</input>` in do/subscribe.php, let’s add
   it! Here is what I get:
 *     ```
       <html>
       <head></head>
   
       <body onload="document.getElementById('form').action = '?ts=1440360312';document.getElementById('form').submit()">
           <form id="form" action="https://deontofi.com/wp-content/plugins/newsletter/do/dummy.php" method="post">
               <input type="hidden" name="nr" value="widget"/>
               <input type="hidden" name="ne" value="coucoucoucou@yopmail.com"/>
           </form>
       </body>
       </html>
       ```
   
 * That is what I _see_, meaning the html document is interpreted as a XML document,
   for some reason.
 * I am really lost, here. I guess it’s not your fault, as I don’t see anyone complaining
   for the same issue. We just fixed a similar problem on the RSS fedds that where
   not parsed correctly using the following plugin: [https://wordpress.org/plugins/fix-my-feed-rss-repair/](https://wordpress.org/plugins/fix-my-feed-rss-repair/)
   
   What it does is removing unexpected white spaces that corrupt the file, which
   may come from the theme. And we do have a shitty 2-3yo one (I’m working on the
   new one! Right when I’ll finish with this bug…).
 * So, config wise, we have w3 total cache (I tried to disable it, no change), newsletter,
   an outdated version of feed by mail (I’ll buy it for another year when I correct
   this bug), nginx, debian, full-SSL, and an outdated theme (required+ Foundation)
   that might be screwing around.
 * Please help us, nobody can subscribe. 🙁
    Oh, here’s the URL : [https://deontofi.com](https://deontofi.com)
 * [https://wordpress.org/plugins/newsletter/](https://wordpress.org/plugins/newsletter/)

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

 *  Thread Starter [Adrien L](https://wordpress.org/support/users/adrien-l/)
 * (@adrien-l)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/#post-6467455)
 * No input on the topic? Seeing that I’m the only one with this bug, I guess it
   must come from another plugin or theme, but I’d really appreciate your advice
   on its resolution.
 * Thanks,
    Adrien
 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/#post-6467456)
 * Try to deactivate other plugin to see if the problem solves. Have you a caching
   or rss related plugins? Start from them.
 * Stefano.
 *  Thread Starter [Adrien L](https://wordpress.org/support/users/adrien-l/)
 * (@adrien-l)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/#post-6467479)
 * Hello,
 * So, the bug was caused by Piwik. In the plugin WP-Piwik, we can choose various
   ways to link WordPress to Piwik, including PHP or by URL. I chose PHP, first,
   which caused the bug. By URL, it works fine.
 * I spent days on this issue. Plugins compatibility is a pain in the ass. I’ll 
   do a better investigation to check which exact WP-Piwik parameter makes your 
   plugin break when I set up the new version of the website I’m working on. For
   now, philosophy “it works, don’t touch anything”!
 * I suggest you put a line about this issue somewhere, that kind of php being sent
   as xml bug is just impossible to track down…
 * Thanks anyway for your plugin, which brings us hundreds of views everyday! 🙂
   
   Adrien
 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/#post-6467485)
 * Thank you!

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

The topic ‘XML parse error on subscription widget’ is closed to new replies.

 * ![](https://ps.w.org/newsletter/assets/icon-256x256.png?rev=1052028)
 * [Newsletter - Send awesome emails from WordPress](https://wordpress.org/plugins/newsletter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 4 replies
 * 2 participants
 * Last reply from: [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/xml-parse-error-on-subscription-widget/#post-6467485)
 * Status: resolved