Title: Plugin broken in WP 3.5
Last modified: August 20, 2016

---

# Plugin broken in WP 3.5

 *  [Karl Andersson](https://wordpress.org/support/users/swekarl/)
 * (@swekarl)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/)
 * The Image Feed Widget stopped working in WordPress 3.5. No image turns up.
 * It would be great to see a fix, since this used to be the best plugin of its 
   kind. Thanks a billion in advance. 🙂
 * [http://wordpress.org/extend/plugins/image-feed-widget/](http://wordpress.org/extend/plugins/image-feed-widget/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [taxgirlsrh](https://wordpress.org/support/users/taxgirlsrh/)
 * (@taxgirlsrh)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287583)
 * Agreed! Please fix <3
 *  [lytroo](https://wordpress.org/support/users/lytroo/)
 * (@lytroo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287592)
 * Alright, had to recover my password to post here but I found out what the issue
   is, at least for me, it seems wordpress must have modified the return value on
   one of their functions. Anyway I solved the issue by simply commenting out the
   following section of code in the plugins .php file:
 * `} else if ( $useenclosures == ‘yes’ && $enclosure = $item->get_enclosure() ){
 *  $enclosure = $item->get_enclosures();
 *  echo ‘<img src=”‘.$enclosure[0]->get_link().'”‘;
 *  echo ‘ alt=”‘.$item->get_title().'”/>’;
 *  Thread Starter [Karl Andersson](https://wordpress.org/support/users/swekarl/)
 * (@swekarl)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287594)
 * Beautiful – thanks a lot!!
 *  [milah227](https://wordpress.org/support/users/milah227/)
 * (@milah227)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287607)
 * This wasn’t even the plugin I was having problems with, but I followed this for
   the Pinterest RSS Widget plugin and it fixed my problem. Thanks a bunch!!
 *  [comedorsamus](https://wordpress.org/support/users/comedorsamus/)
 * (@comedorsamus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287609)
 * Anyone getting sudden errors? Sometimes it works, sometimes it doesn’t…
 * `Fatal error: Call to undefined method WP_Error::get_item_quantity() in /blablabla/
   wp-content/plugins/image-feed-widget/image-feed-widget.php on line 42`
 * I should mention that I REMOVED the code you guys mentioned, because I don’t 
   know how to “comment out”, if anyone could be a BIT more specifc, I’d appreciate
   it. 😛
 * Thanks!
 * EDIT: Nevermind, I just noticed the feed is currently offline. I do get a few
   erros now and then, different from this one I believe.
 *  [PinkishHue](https://wordpress.org/support/users/pinkishhue/)
 * (@pinkishhue)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287611)
 * Thanks for this fix, it worked on 3.5.1 and the latest plugin version.
 * I hope the plugin author will update soon, this is really handy plugin 🙂
 * [@lytroo](https://wordpress.org/support/users/lytroo/) and anyone else unsure
   how to comment the code out, basically just add // in front of the lines mentioned
   above, like this:
 *     ```
       //} else if ( $useenclosures == 'yes' && $enclosure = $item->get_enclosure() ) {
                                       //$enclosure = $item->get_enclosures();
       	                        //echo '<img src="'.$enclosure[0]->get_link().'"';
                                       //echo ' alt="'.$item->get_title().'"/>';
       ```
   
 *  [PinkishHue](https://wordpress.org/support/users/pinkishhue/)
 * (@pinkishhue)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287617)
 * I’m not sure the author is going to update this, no posts for over 480 days:
 * [http://profiles.wordpress.org/yorik/](http://profiles.wordpress.org/yorik/)
 * I’m using this plugin on 4 or 5 sites so I have manually changed the files but
   I wonder what can be done if the plugin author doesn’t come back to update? Can
   someone else be given permission to update it? It’s a really useful plugin and
   this small bug is so easily fixed, it seems a shame if it’s just left as is.
 *  [PinkishHue](https://wordpress.org/support/users/pinkishhue/)
 * (@pinkishhue)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287618)
 * edited to add: This post can be ignored. The images are appearing now. They didn’t
   for a while but I think perhaps it was a feed problem, not a plugin problem.
 * ——–
    Ooh I just noticed – the problem has come back now that I’ve updated to 
   3.5.1, even with that bit of code commented out.
 * Any suggestions?
 *  [criana](https://wordpress.org/support/users/criana/)
 * (@criana)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287619)
 * This has been incredibly frustrating I was really hoping this plugin would solve
   my problem of trying to display images from twitter. I tried EP Hashimage but
   it’s only working for historical images, not recently posted ones.
 * I really hope the developer considers coming back and making this work.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin broken in WP 3.5’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/image-feed-widget.svg)
 * [Image Feed Widget](https://wordpress.org/plugins/image-feed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-feed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-feed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/image-feed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-feed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-feed-widget/reviews/)

 * 9 replies
 * 7 participants
 * Last reply from: [criana](https://wordpress.org/support/users/criana/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-broken-in-wp-35/#post-3287619)
 * Status: not resolved