Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using a static image as the feed thumbnail the following error will be logged:
Warning: filesize(): stat failed for
https://example.com/path/to/mylogo.png
in Drupal\Core\Image\Image->__construct() (line 54 of core/lib/Drupal/Core/Image/Image.php)
This happens on every request, so it ends up filling the error logs.
Steps to reproduce
Use a static image as the feed thumbnail.
Load the feed.
Credit
Attribution:
DamienMcKenna at
Mediacurrent
commented
I'm going to see how it works if a relative URL is filled in instead of an absolute URL. If that works, maybe we could adjust the help text to recommend using relative URLs.
Seems like this was resolved in #3386146: Warning: filesize(): stat failed when file is not available on the filesystem .