WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Lots of warning messages and not watermarked

[Resolved] Lots of warning messages and not watermarked

  • Hi,

    I just downloaded and installed the plugin and decided to do a trial of uploading an image with the default watermark before attempting anything more adventurous.

    I set the following settings:
    Watermark type = image
    Images sizes = all selected
    Images types = all selected

    The plugin diagnostics report:

    [ Moderator note: Please wrap log data like that in backticks or use the code button. ]

    Plugin Version: 2.3.7
    Server OS: Linux (64 bit)
    Required PHP Version: 5.0+
    Current PHP Version: 5.3.6
    GD Support Enabled!
    FreeType Support Enabled!
    PHP Safe Mode: is disabled!
    PHP allow_url_fopen: is enabled!
    Memory Use: 36.5 / 256M
    Peak Memory Use: 36.6 / 256M
    Server Load Average: 2.94, 3.23, 3.26
    
    I then tried uploading an image (using the drag and drop option) and get the following errors (the image was uploaded but not watermarked):
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    521

    I also tried using the “select files” button to upload the image with the same result.

    Any idea what I might be doing wrong?

    Many thanks!

    http://wordpress.org/extend/plugins/transparent-image-watermark-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MyWebsiteAdvisor

    @mywebsiteadvisor

    It sounds like you may have neglected to save the image watermark settings, the error indicates that there is no image url specified.

    Does the watermark preview correctly display the watermark?

    Thank You!

    You’re right! 🙂

    I wasn’t changing the watermark as I just wanted to try it out with the default settings but clicking the “save changes” button obviously did some magic and it now works!

    Many thanks for the quick and effective response!!

    Ian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Lots of warning messages and not watermarked’ is closed to new replies.