Hi. Can you tell me if the error message gave you any more information about the error, a line number perhaps?
Thanks,
Joe
Getting the same problem. Only occurs when logged in and looking at Media Library in List view: error messages appear for items in the media library which are NOT images, eg txt and pdf file types, thus:
Warning: Illegal string offset ‘width’ in /home/*****************/***********.co.uk/wp-content/plugins/ricg-responsive-images/wp-tevko-responsive-images.php on line 190
Warning: Illegal string offset ‘height’ in /home/*****************/***********.co.uk/wp-content/plugins/ricg-responsive-images/wp-tevko-responsive-images.php on line 191
WordPress 4.3.1 running Iconic One theme.
Will the same problem occur once the plugin functionality is taken into core?
Hi all,
This bug will should be fixed in an upcoming plugin release and in the code that was merged into core. Aljono, would you mind trying to add this line to the wp-tevko-responsive-image.php file right above line 190 that’s throwing the error?
if ( ! is_array( $img_meta ) ) {
return false;
}
Joe McGill
I assume you meant wp-tevko-responsive-images.php
Tried that out and warning messages have now gone.
This fix has been included in the latest version. Thanks again for the report aljono.