Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nicolas Juen

    (@rahe)

    Hi !

    I have a warning this time. When the image_resize() fail it return an WP_Error and you not test it, so header an readfile make errors :/

    Regards,
    Rahe

    The warning when uploading a none image document is

    PHP Warning: Invalid argument supplied for foreach() in /srv/www/userxxx/public_html/wp-content/plugins/dynamic-image-resizer/dynamic-image-resizer.php on line 72, referer: https://example.com/wp-admin/media-upload.php?post_id=341&

    This is probably harmless, but irritating as the plugin works in the background.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Dynamic Image Resizer] Warning when not uploading an image’ is closed to new replies.