Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Recently when I try to view the jpeg or png files in the media library, I got the messages

Warning: Illegal string offset 'width' in /home/strataco/public_html/wp/wp-content/themes/twentyeleven/image.php on line 34

Warning: Illegal string offset 'height' in /home/strataco/public_html/wp/wp-content/themes/twentyeleven/image.php on line 35

and I can't edit or view the photos.

In addition, the header image and sidebar on my site cannot be displayed.

Anybody has any idea and how to solve this.

share|improve this question
    
can you check your media settings for widths and heights? –  Maruti Mohanty Oct 1 '13 at 14:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.