WordPress.org

Ready to get started?Download WordPress

Forums

Watermark My Image
Warning: Invalid argument supplied for foreach() [...] (8 posts)

  1. DomLinkgos
    Member
    Posted 2 years ago #

    Hello.

    I used this awesome plugin on my Localhost test site, but now, trying to use it on the "real deal" I get the following warning on the Configuration screen.

    " Warning: Invalid argument supplied for foreach() in /home/fofitosn/public_html/wp-content/plugins/watermark-my-image/main.php on line 14 "

    This warning appears on the top of the screen.

    Despite the warning, it saves any setting correctly. Except for the checkboxes with the type of images.

    Therefore, no image can be watermarked.

    I checked the code and it seemed right, but since you are the creator, I really hope you can pull a trick here.

    Thanks in Advance.

    http://wordpress.org/extend/plugins/watermark-my-image/

  2. G0dLik3
    Member
    Plugin Author

    Posted 2 years ago #

    This is strange... Can you please try to completely remove the plugin and install it again ? If that doesn't work can you take a look into wp_options and search for the option_name watermark_my_image_enable_for and let me know if it finds anything or how the value looks ?

  3. dakotatimmons
    Member
    Posted 2 years ago #

    I am having a huge issue with this as well. WordPress won't resize my image after adding the watermark and I end up with this warning:

    Warning: Invalid argument supplied for foreach() in /home/content/52/9567652/html/wp-content/plugins/watermark-my-image/watermark-my-image.php on line 649
    268

    My thumbnails don't get created! Help??

  4. G0dLik3
    Member
    Plugin Author

    Posted 2 years ago #

    What version do you have?

  5. dakotatimmons
    Member
    Posted 2 years ago #

    WordPress: 3.4.1
    Watermark My Image: Version 0.21

  6. G0dLik3
    Member
    Plugin Author

    Posted 2 years ago #

    Are you having a custom theme or something?

  7. dakotatimmons
    Member
    Posted 2 years ago #

    Yes it is on a custom theme. http://thebiglulz.com

  8. G0dLik3
    Member
    Plugin Author

    Posted 2 years ago #

    I will look into it, but it might take a while, as I am very busy.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic