Download & Extend

warning: Invalid argument supplied for foreach() in embedded media import

Project:Embedded Media Field
Version:5.x-1.x-dev
Component:Embedded Media Import
Category:bug report
Priority:normal
Assigned:aaron
Status:closed (fixed)

Issue Summary

In Embedded Media Field configuration>Import Settings
/admin/content/emfield/import
the error message appears as below.

warning: Invalid argument supplied for foreach() in /virtual/mysite/public_html/sites/all/modules/emfield/contrib/emimport/emimport.module on line 148.

Comments

#1

Assigned to:Anonymous» aaron
Status:active» fixed

fixed in the latest update (was a bug in the emfield module, actually, giving an empty array if no types were defined for a contributed module). thanks for bringing it to my attention.

#2

Confirmed the fix. Thanks.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#4

Status:closed (fixed)» active

Hi,
I'm having the exact same error as pasted above (three times one after the other!).
Any idea to solve this, or plans to solve this in the future?
Cheers,
T

#5

I get the same error. Also displayed 3 times, one after another.

#6

Same error for me. just one time at "import settings" I'm using flickr import.

#7

Everything seems to work fine, however on selecting import settings, the following error appears.
warning: Invalid argument supplied for foreach() in /virtual/mysite/public_html/sites/all/modules/emfield/contrib/emimport/emimport.module on line 148.

In Embedded Media Field configuration>Import Settings
/admin/content/emfield/import

What was done for the original fix? Maybe a simple patch or user error?
Thanks for the great module by the way!

#8

On feed pages we notice the following error:

Invalid argument supplied for foreach() in /home/www/doc/1111/mysite.com/sites/all/modules/emfield/emfield.module in line 535.

#9

Title:warning: Invalid argument supplied for foreach()» warning: Invalid argument supplied for foreach() in embedded media import
Status:active» fixed

This is not the same issue. Please open up a separate ticket for this.

Please also confirm that you are using the latest dev release.

#10

Sorry, updated the module, seems to be fine now...

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here