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!?