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/
this is on line 187: foreach($this->mime_types as $ext => $type)
Thanks for reporting this I will look into it.
What is the content of the file you uploaded?
Ruben182
Member
Posted 3 months ago #
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
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