The method cleanupNode uses $xpath->query to retrieve a nodelist this can return null and break the following foreach resulting in a Warning in the system log like follows:
Sofa-ntastisch: Die 20 besten Apps f\u00fcr Apple TV","content":"<!DOCTYPE html PUBLIC ...) 7. classes/rssutils.php(803): chain_hooks_callback(hook_article_filter, {Closure}, [{"owner_uid":2,"guid":"2,http:\/\/heise.de\/-6266028","guid_hashed":"{\"ver\":2,\"uid\":2,\"hash\":\"SHA1:b4e65a44a846608ccc7dbfe61a83a203c057e61c\"}","title":"heise+ \
Sofa-ntastisch: Die 20 besten Apps f\u00fcr Apple TV","content":"<!DOCTYPE html PUBLIC ...) 8. update.php(232): update_rss_feed(113, 1)
Proposal
Check the nodelist and add a Feediron_Logger entry instead.
Enhancement
The method
cleanupNode
uses$xpath->query
to retrieve a nodelist this can return null and break the followingforeach
resulting in a Warning in the system log like follows:Proposal
Check the
nodelist
and add aFeediron_Logger
entry instead.