Support » Plugins and Hacks » PJW Mime Config » [Plugin: PJW Mime Config] Warning: Invalid argument supplied for foreach() in…

  • T B

    (@bekefitibor)


    Hi guys,

    I tried this function for .ico file: Select a file containing a list of mime types in the correct format:
    and I got that message:
    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/pjw-mime-config/pjw-mime-config.php on line 187

    I don’t know what can I do.

    http://wordpress.org/extend/plugins/pjw-mime-config/

Viewing 5 replies - 1 through 5 (of 5 total)
  • T B

    (@bekefitibor)


    this is on line 187: foreach($this->mime_types as $ext => $type)

    Plugin Author Peter Westwood

    (@westi)


    Thanks for reporting this I will look into it.

    Plugin Author Peter Westwood

    (@westi)


    What is the content of the file you uploaded?

    I have the exact same problem.
    I tried to Add mime-types from file
    And used an .ipcc file (iphone carrier bundle)

    I tried to remove the plugin and reinstall it, but same error..

    In Mime-type management:
    Warning: Invalid argument supplied for foreach() in /customers/b/9/4/fixity.be/httpd.www/wp-content/plugins/pjw-mime-config/pjw-mime-config.php on line 187

    And in the WordPress Download Monitor at Add New Download
    when I want to upload a file:
    Warning: array_merge(): Argument #2 is not an array in /customers/b/9/4/fixity.be/httpd.www/wp-content/plugins/pjw-mime-config/pjw-mime-config.php on line 254 Warning: Invalid argument supplied for foreach() in /customers/b/9/4/fixity.be/httpd.www/wp-includes/functions.php on line 2468

    T B

    (@bekefitibor)


    It was my bad.

    Ruben182
    Try write in without point
    Bot like this .ipcc but like this ipcc
    And google up for mime type “ipcc” image/jpeg

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: PJW Mime Config] Warning: Invalid argument supplied for foreach() in…’ is closed to new replies.