WordPress.org

Ready to get started?Download WordPress

Forums

ImageFX
Warning: Invalid argument While uploading non image media (1 post)

  1. simalamdeveloper
    Member
    Posted 1 year ago #

    Hello,

    I am receiving the Warning:

    Warning: Invalid argument supplied for foreach() in wp-content\plugins\imagefx\imagefx.php on line 409

    When trying to upload media that is not an image such as a PDF or MP3.

    I was able to fix this issue by overriding the imagefx_filter function in my theme and adding a return before the foreach if the $meta variable is empty on line 408

    if(empty($meta))
    	return $meta;

    http://wordpress.org/extend/plugins/imagefx/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by simalamdeveloper
  • This topic is not resolved
  • WordPress version: 3.2.1

Tags

No tags yet.