Warning Dialog After Installing Plugin
-
I newly installed your plugin today & it had a warning message right away that says: “Warning: Invalid argument supplied for foreach() in /home/myfolder/public_html/wp-content/plugins/wp-add-mime-types/includes/admin.php on line 61.”
I think I found that line in the plugin editor, but I have no clue what would be causing the error… can you help me fix it please, and thank you!
foreach ($mime_type_values as $line){
$line_value = explode(“=”, $line);
if(count($line_value) != 2) continue;
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Warning Dialog After Installing Plugin’ is closed to new replies.