Mautic Community Forums

Mautic error /rss-atom-bundle/....../XmlParser.php on line 27

Your software
My Mautic version is: v2.15.3
My PHP version is: 7.2

Your problem
My problem is: mautic error XmlParser.php on line 27

My error_log file gets filled with the following error whenever logging into Mautic:

[20-Dec-2019 20:38:18 xxxxxxxxxx] PHP Warning: SimpleXMLElement::__construct(): ^ in /home/xxxxxx/public_html/xxxxxxxxx.com/vendor/debril/rss-atom-bundle/Debril/RssAtomBundle/Protocol/Parser/XmlParser.php on line 27

Steps I have tried to fix the problem: checked plugin directory to make sure RssAtomBundle is not present: it is not present.

It’s not an error. It’s a warning.

You either have to edit your php.ini and turn off error report for warnings error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED (disables everything except fatal errors) or edit .htaccess and add php_value error_reporting 1 (does the same as editing php.ini).

1 Like

I got same warning messages today and never got before. Does anyone know why such messages appear?

My Mautic version is :2.15.2
My PHP version is: 7.0.33

The warning messages appeared:
[Mon Dec 23 10:18:58.626858 2019] [:error] [client xxx.xxx.xxx.xxx:xxxx]
PHP Warning: SimpleXMLElement:: __construct(): Entity: line 4: parser error : error parsing attribute name in /var/www/html/mautic/vendor/debril/rss-atom-bundle/Debril/RssAtomBundle/Protocol/Parser/XmlParser.php on line 27, referer: http://xxxxxxxxxx.com

1 Like

Same. I just noticed this error yesterday, but have not witnessed it on 2 different mautic instances, one running v.2.14 and the other on v.2.15.3
I find it odd that it just started occurring, like a library auto-updated or something when I have not initiated any updates…