- This topic has 6 replies, 2 voices, and was last updated 6 years, 6 months ago by
Steve.
-
AuthorPosts
-
-
July 18, 2015 at 6:04 pm #4023
nickcouplandMemberHello,
I have just been testing the WordPress Helpers plugin and I have noticed a warning when trying to view all image size urls.
Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-helpers/parts/media/image-sizes.php on line 31
I believe this is causing the other image size urls not to display.
Thank you for your time.
-
July 20, 2015 at 10:41 am #4030
SteveKeymasterI couldn’t reproduce the error, so I would appreciate if you could test a fix for us. I emailed you an updated version of Helpers. Just upload it through the WP plugin installer.
Let us know if your issue is resolved with this version.
Thanks!
-
July 20, 2015 at 10:46 am #4031
nickcouplandMemberHi Steve,
Thank you for the update. I will get around to updating the plugin soon and let you know the result.
Thanks,
Nick -
July 20, 2015 at 1:52 pm #4033
nickcouplandMemberHi Steve,
I have tested the update you sent me and although it got rid of the error, it only displayed the original image url and not all available image sizes. Would it have anything to do with my localhost setup? Here are some stats of what I’m running. I have also tested with all plugins disabled except Piklist.
WP Version 4.2.2
PHP Version 5.6.2Installed Plugins:
Awesome Support by ThemeAvenue version 3.1.12,
Caldera Forms by David Cramer version 1.2.2,
Custom Post Type Permalinks by Toro_Unit version 1.0.4,
Piklist by Piklist version 0.9.4.27,
Transients Manager by Pippin Williamson version 1.5,
WordPress Helpers by Piklist version 1.8.1 -
July 20, 2015 at 2:40 pm #4034
SteveKeymasterJust emailed you another version. Thanks for testing!
-
July 20, 2015 at 2:58 pm #4036
nickcouplandMemberThanks Steve,
That version did the trick. I can see all urls now. Thanks so much for your help.
-
July 20, 2015 at 3:15 pm #4037
SteveKeymasterGreat!
I just pushed v1.8.2 to WordPress.org, which has your fix in it.
It also has this fix >. If you need it, then I suggest you delete the wp-helpers folder via FTP, and then add it via the plugin installer as new. This way you won’t lose all your settings.
Thanks again for the help!
Closing ticket.
-
-
AuthorPosts
- The topic ‘Image sizes foreach loop warning’ is closed to new replies.