In template_preprocess_views_view_views_rss() the items of type media:content & media:thumbnail will be loaded into an xml object via simplexml_load_string() to fetch the attributes of those elements.

Example of a complete string which will be used (w/o namespace declaration):
<media:thumbnail url="http://xy.local/files/uploads/images/2014/12/02/345345435.jpg" width="800" height="533" />

simplexml_load_string() will throw a warning, which shows in dblog eventually.
namespace error : Namespace prefix media on thumbnail is not defined ...

To prevent these warning spams i added a patch which simply removes the namespace prefix for loading the xml object.

br, Mathias

CommentFileSizeAuthor
#2 2835129.patch880 bytesmbm80
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mbm80 created an issue. See original summary.

mbm80’s picture

FileSize
880 bytes
mbm80’s picture

Issue summary: View changes
fago’s picture

Status: Active » Needs review
fago’s picture

Status: Needs review » Reviewed & tested by the community

Yes, removing the namespace here should be fine as it's just for figuring out the attributes. Works as it should.

DamienMcKenna’s picture

Assigned: mbm80 » Unassigned