Magento system.log "Предупреждение: элемент SimpleXML" - (adminNotification/Model/Feed.php)


Magento снова поставил меня в тупик! В /var/log/system.log я вижу следующие предупреждения, и я не смог отследить причину. Судя по отметке времени, кажется, что все они стреляют одновременно, так что, возможно, это конкретное действие, которое вызывает 24 строки предупреждений... есть идеи по отладке?

2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : AttValue: &quot; or ' expected  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : attributes construct error  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : Couldn't find end of Start Tag html line 2  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : Extra content at the end of the document  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:16+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : AttValue: &quot; or ' expected  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : attributes construct error  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : Couldn't find end of Start Tag html line 2  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 2: parser error : Extra content at the end of the document  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: &lt;html lang=en&gt;  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
2013-07-17T08:06:21+00:00 ERR (3): Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:            ^  in /home/public_html/app/code/core/Mage/AdminNotification/Model/Feed.php on line 173
Author: Fabian Schmengler, 2013-07-17

1 answers

Похоже, что-то нарушает модуль подачи adminhtml.

Причиной может быть сторонний модуль, который извлекает недопустимый XML.

Проверьте, содержит ли код вашего сайта какой-либо класс, который расширяет Mage_AdminNotification_Model_Feed.

Как только вы его найдете:

  1. Попробуйте отключить этот модуль (в app/etc/modules/).
  2. Очистите систему.журнал.
  3. Посмотрите, исчезла ли ошибка.

Повторите этот процесс для каждого модуля. Как только вы определили, какой модуль создавая проблему, вы можете отредактировать ее config.xml и прокомментировать наблюдателя, который запускает уведомление.

Я также предложу связаться с разработчиком модуля и уведомить их об этой проблеме.

 18
Author: Fra, 2014-08-06 22:15:58