WPIntell

Source evidence

Plugin broken in WP 3.5

Image Feed Widget · support · 2012-12-18T12:40:00+00:00

complaintsentiment
highseverity
0.96relevance
9replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 20 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

16 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Karl Andersson unresolved
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/ Agreed! Please fix <3 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().'”/>’; Beautiful – thanks a lot!! 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!! 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. 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 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().'"/>'; I’m not sure the author is going to update this, no posts for over 480 days: 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. 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? 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.

Comments

9 shown
taxgirlsrh 2012-12-19T18:21:00+00:00

Agreed! Please fix <3

lytroo 2012-12-20T08:02:00+00:00

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().'”/>’;

Karl Andersson 2012-12-20T10:12:00+00:00

Beautiful – thanks a lot!!

milah227 2012-12-29T17:50:00+00:00

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 2013-02-01T20:56:00+00:00

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 2013-03-05T12:34:00+00:00

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 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 2013-04-01T12:16:00+00:00

I’m not sure the author is going to update this, no posts for over 480 days: 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 2013-04-01T12:21:00+00:00

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 2013-04-05T01:43:00+00:00

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.