Started getting an error when uploading PNG files although it is not a consistent behaviour. I can see server error 500 on chrome developer tools and the server error log is reporting:
[Tue Feb 11 13:48:54.004377 2020] [proxy_fcgi:error] [pid 20317:tid 140562560624384] [client xxx.xxx.xxx.xxx:39364] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Invalid image: /path/core/cache/plugins/imageviewer/_tmp/img-dff8c8db228728b1231fca326266e75f in /path/core/includes/image_resizer/SimpleImage.php:1113\nStack trace:\n#0 /path/core/includes/image_resizer/SimpleImage.php(535): SimpleImage->get_meta_data()\n#1 /path/core/includes/image_resizer/CustomSimpleImage.php(34): SimpleImage->load('/var/www/vhosts...')\n#2 /path/plugins/imageviewer/site/resize_image_inline.php(200): CustomSimpleImage->load_from_image_content(false)\n#3 {main}\n thrown in /path/core/includes/image_resizer/SimpleImage.php on line 1113\n'
Only started happening, JPG's always seem to upload OK no matter the filesize.
Recently started using AWS as the file uploads target but seem to now have this issue whether AWS is turned off or on - and as I said JPG's are fine so unlikely to be related?
Any suggestions?
Thanks
George
[Tue Feb 11 13:48:54.004377 2020] [proxy_fcgi:error] [pid 20317:tid 140562560624384] [client xxx.xxx.xxx.xxx:39364] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Invalid image: /path/core/cache/plugins/imageviewer/_tmp/img-dff8c8db228728b1231fca326266e75f in /path/core/includes/image_resizer/SimpleImage.php:1113\nStack trace:\n#0 /path/core/includes/image_resizer/SimpleImage.php(535): SimpleImage->get_meta_data()\n#1 /path/core/includes/image_resizer/CustomSimpleImage.php(34): SimpleImage->load('/var/www/vhosts...')\n#2 /path/plugins/imageviewer/site/resize_image_inline.php(200): CustomSimpleImage->load_from_image_content(false)\n#3 {main}\n thrown in /path/core/includes/image_resizer/SimpleImage.php on line 1113\n'
Only started happening, JPG's always seem to upload OK no matter the filesize.
Recently started using AWS as the file uploads target but seem to now have this issue whether AWS is turned off or on - and as I said JPG's are fine so unlikely to be related?
Any suggestions?
Thanks
George