Can't watermark all images, error messages and timeout
-
Using php version 5.3.
Several interesting things going on here. Site in question is thenextbigadventure.net.
Watermarking was working only on upload; it did not work when I tried to watermark several images at once from media library, and did not work when I tried to manually add watermark to a single image.
But automatic watermark was working on image upload.
Also, when I tried to watermark all images at once (there are over 1000 on this site), nothing happened other than a spinning wheel for about 30 seconds.
Then, I unchecked the box for “watermark images on upload” and tried watermarking all images at once again. After 30 seconds, a VERY long list of warning/error messages were produced. Here are the first four:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 804
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: ‘/home/jrbasset/public_html/wp-content/uploads/2012/06/Laos-202.jpg’ is not a valid JPEG file in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 804
Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 733
Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 734
Then, after those four, the following five are reproduced a couple hundred or so times:
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 714
Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 718
Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 587
Warning: method_exists() expects exactly 2 parameters, 1 given in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EWPlugin.php on line 116
Warning: Wrong parameter count for method_exists() in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EWPlugin.php on line 116
The very last line is:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/jrbasset/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 804
Any ideas?
- The topic ‘Can't watermark all images, error messages and timeout’ is closed to new replies.