WordPress.org

Forums

RSS Image Feed
[resolved] Throwing errors (9 posts)

  1. AndalusianWorld
    Member
    Posted 1 year ago #

    logs error:
    24-Feb-2014 20:54:30] PHP Warning: get_headers() [function.get-headers]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /blog/wp-content/plugins/rss-image-feed/class-lib/A5_ImageClass.php on line 271
    [24-Feb-2014 20:54:30] PHP Warning: get_headers() [function.get-headers]: This function may only be used against URLs in /blog/wp-content/plugins/rss-image-feed/class-lib/A5_ImageClass.php on line 271
    [24-Feb-2014 20:54:30] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /blog/wp-content/plugins/rss-image-feed/class-lib/A5_ImageClass.php on line 106
    [24-Feb-2014 20:54:30] PHP Warning: get_headers() [function.get-headers]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /blog/wp-content/plugins/rss-image-feed/class-lib/A5_ImageClass.php on line 271
    [24-Feb-2014 20:54:30] PHP Warning: get_headers() [function.get-headers]: This function may only be used against URLs in /blog/wp-content/plugins/rss-image-feed/class-lib/A5_ImageClass.php on line 271

    https://wordpress.org/plugins/rss-image-feed/

  2. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    Find line 113 - 115 in the file A5_ImageClass.php and eliminate

    $is_image = self::check_url($thumb);
    
    if ($is_image === false) return false;

    There are some problems that the check_url should solve. Obviously, it causes problems itself every now and then.

    That should help at first.

  3. AndalusianWorld
    Member
    Posted 1 year ago #

    Thank you,
    Will give it a shot

  4. peejeej
    Member
    Posted 1 year ago #

    Will this be fixed in a future update? I keep going back to an old version because of the errors.

  5. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    At one point, it will be fixed. First, there are other projects on my list. Did you try the above mentioned fix?

  6. peejeej
    Member
    Posted 1 year ago #

    It worked for the latest 2 blogposts. The rest didn't get an image in the feed. Reverted back to 2.2. Will wait for a new version as the old one works great for me :).

  7. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for mentioning that. I never could reproduce the errors. So, I really need feedback. At least I have a point from where I can start now. :)

    Cheers

  8. peejeej
    Member
    Posted 1 year ago #

    No problem. Extra info: I have the lastest WP install, I always have images in my post and a featured image.

  9. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    Now, the problem should be fixed. Also missing image didn't ever occure in my testing environments.

    Best

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic