Illegal string offset errors with Thesis theme
-
We’re running WP 3.8.3 running the Thesis them and recently updated our plugin to 7.4.4.
With that, we started receiving the following error on specific pages:
http://thethriftycouple.com/wp-content/uploads/2014/04/error-from-nextgen.jpgWarning: Illegal string offset. ‘width’ in …media.php on line 252
Warning: Illegal string offset. ‘height’ in …media.php on line 252I understand from another ticket that this might be due to another plugin not implementing a call correctly to
wp_get_attachment_metadata():
http://wordpress.org/support/topic/warning-illegal-string-offset-6In the meantime, I have added a defined Image URL for that page (understood – that’s best practice anyway) but am concerned about all the other pages that might be showing this error.
I did try to go in and find the option “WP Auto-Resize” under the General tab in the settings but cannot find it. Even if I did, is this just a workaround that might have other ill effects?
Should this bug be handled differently with the different version of NGFB? I apologize but wonder if this is happening with other plugins wonder if there is a better way to handle this – possibly by checking whether the height/image is missing upon call to
wp_get_attachment_metadata()and handling that error instead of generating the warnings back to the user?Thank you so much for this plugin – it truly has solved many of our problems. My request it to find a fix and give you update that this is a problem with this specific configuration – assuming others might have this issue as well.
The topic ‘Illegal string offset errors with Thesis theme’ is closed to new replies.