Title: Errors in WP_Debug during Watermarking
Last modified: April 4, 2019

---

# Errors in WP_Debug during Watermarking

 *  [Lenni](https://wordpress.org/support/users/lennilg/)
 * (@lennilg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/errors-in-wp_debug-during-watermarking/)
 * Plugin works, the images are appearing with Watermark added, but I keep seeing
   these errors in the Debug, running PHP 7.3
 * [04-Apr-2019 14:42:29 UTC] PHP Warning: imagefilledrectangle() expects parameter
   1 to be resource, bool given in /customers/7/1/0/httpd.www/wp-content/plugins/
   image-watermark/image-watermark.php on line 1128
    [04-Apr-2019 14:42:29 UTC] 
   PHP Warning: imagecreatefrompng(): ‘/customers/7/1/0/httpd.www/wp-content/uploads/./
   candy-king-hard-apple-600×600.png’ is not a valid PNG file in /customers/7/1/
   0/httpd.www/wp-content/plugins/image-watermark/image-watermark.php on line 1126[
   04-Apr-2019 14:42:29 UTC] PHP Warning: imagesx() expects parameter 1 to be resource,
   bool given in /customers/7/1/0/httpd.www/wp-content/plugins/image-watermark/image-
   watermark.php on line 1128 [04-Apr-2019 14:42:29 UTC] PHP Warning: imagesy() 
   expects parameter 1 to be resource, bool given in /customers/7/1/0/httpd.www/
   wp-content/plugins/image-watermark/image-watermark.php on line 1128 [04-Apr-2019
   14:42:29 UTC] PHP Warning: imagecolorallocatealpha() expects parameter 1 to be
   resource, bool given in /customers/7/1/0/httpd.www/wp-content/plugins/image-watermark/
   image-watermark.php on line

The topic ‘Errors in WP_Debug during Watermarking’ is closed to new replies.

 * ![](https://ps.w.org/image-watermark/assets/icon-256x256.png?rev=3416802)
 * [Image Watermark](https://wordpress.org/plugins/image-watermark/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-watermark/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-watermark/)
 * [Active Topics](https://wordpress.org/support/plugin/image-watermark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-watermark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-watermark/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Lenni](https://wordpress.org/support/users/lennilg/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/errors-in-wp_debug-during-watermarking/)
 * Status: not resolved