WordPress.org

Support

Support » Plugins and Hacks » Watermark My Image » [Plugin: Watermark My Image] Warning: Invalid argument supplied for foreach() […]

[Plugin: Watermark My Image] Warning: Invalid argument supplied for foreach() […]

  • 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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author G0dLik3

    @g0dlik3

    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 ?

    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??

    Plugin Author G0dLik3

    @g0dlik3

    What version do you have?

    WordPress: 3.4.1
    Watermark My Image: Version 0.21

    Plugin Author G0dLik3

    @g0dlik3

    Are you having a custom theme or something?

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

    Plugin Author G0dLik3

    @g0dlik3

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Watermark My Image] Warning: Invalid argument supplied for foreach() […]’ is closed to new replies.
Skip to toolbar