Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134392

Creatrix on "Image Upload Problem in TwentyTwelve"

$
0
0

When i try and upload any image that is big in dimensions (around 3500x2500) using the 'add media' button on a post or page i get an error message saying 'An error occurred in the upload. Please try again later'.

The image does upload though as when I go to my media library it's there.

I click 'view' and i can see the image along with these two error messages:

Warning: Illegal string offset 'width' in /homepages/24/d470762834/htdocs/wp-content/themes/twentytwelve/image.php on line 30

Warning: Illegal string offset 'height' in /homepages/24/d470762834/htdocs/wp-content/themes/twentytwelve/image.php on line 31

I looked within image.php on those lines and found this:

$metadata['width'], $metadata['height'],

Not sure what to do next!?


Viewing all articles
Browse latest Browse all 134392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>