You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized something is messed up on my server to cause the absence of 'sizes' coming from wp_get_attachment_metadata ($id ); but either way, I'm getting this error:
Since 'full' is immediately added and the next loop runs through available sizes set, this wouldn't be too big of a hit to the whole system - only help to pad a a potential error from dirty data.
Thanks in advance for your consideration.
The text was updated successfully, but these errors were encountered:
I realized something is messed up on my server to cause the absence of 'sizes' coming from wp_get_attachment_metadata ($id ); but either way, I'm getting this error:
NOTICE: wp-content/plugins/ricg-responsive-images/wp-tevko-responsive-images.php:165 - Undefined index: sizes
Would it be possible to change your line 165 to:
$img_sizes = isset($img_meta['sizes']) ? $img_meta['sizes'] : array();
Since 'full' is immediately added and the next loop runs through available sizes set, this wouldn't be too big of a hit to the whole system - only help to pad a a potential error from dirty data.
Thanks in advance for your consideration.
The text was updated successfully, but these errors were encountered: