After adding a feed where website doesn’t have favicon e.g. https://www.hex-rays.com/feed/ I’ve got warning about filemtime in rssutils.php. Seems like it trying execute filemtime on nonexisting icon file.
if ($favicon_needs_check || $force_refetch) { /* terrible hack: if we crash on floicon shit here, we won't check * the icon avgcolor again (unless the icon got updated) */ $favicon_file = ICONS_DIR . "/$feed.ico"; $favicon_modified = @filemtime($favicon_file); Debug::log("checking favicon...", Debug::$LOG_VERBOSE); RSSUtils::check_feed_favicon($site_url, $feed); $favicon_modified_new = @filemtime($favicon_file);
(fragment from rssutils.php.)
Shouldn’t be there a file check (file_exists($favicon_file) ) before these lines?
The warning could be a windows related thing, but nonetheless by the code itself it looks like there is a check needed and in the php manual example there is a file check before the filemtime execution.