Closed (fixed)
Project:
Embed widgets
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2008 at 16:58 UTC
Updated:
20 May 2011 at 10:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
jtsnow commentedThank you for the bug report. Could you please specify under what circumstances this error occurs. It seems that it would occur when only the Embed Widgets module is installed and no add-on modules such as iFrame, Google Gadgets, or Facebook widgets.
Comment #2
jtsnow commentedFixed.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
sl_hemanth commentedHi Friends,
I am also getting the same error in error log.
like warning: Invalid argument supplied for foreach() in /home/x/public_html/xxx/modules/embed_widgets/embed_widgets.module on line 65.
I installed Embed Widgets module.
I added the source as page and given the page url in the text box
If i tried to add a widget , than i click the next button , the next button is not going to next step. The page is loading and nothing is happening.
Any one please help me in this.
Thanks,
Hemanth
Comment #5
Bram Rongen commentedI'm am receiving the same error. Anyone care to share what the solution to the problem was?
The exact error is:
Warning: Invalid argument supplied for foreach() in embed_widgets_code_perms() (line 65 of /home/aboutanalytics/public_html/sites/all/modules/embed_widgets/embed_widgets.module).
Comment #6
Bram Rongen commentedSolved it by enabling one of the widget type modules (embed_widgets_iframe)
I guess module_invoke_all('embed_widget_types') at line 168 returns a non-empty, non-array value when called without any widget types available. This should be resolved.