Closed (fixed)
Project:
Popup
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2010 at 23:57 UTC
Updated:
5 Apr 2011 at 15:01 UTC
So I have enabled the suite. I haven't changed any configuration settings or anything. I simply enabled popup, popup filter and popup ui. I get the following error appearing on seemingly random pages:
warning: Invalid argument supplied for foreach() in /home/zowdacom/public_html/modules/popup/popup_filter/popup_filter.module on line 391.
warning: Invalid argument supplied for foreach() in /home/zowdacom/public_html/modules/popup/popup_filter/popup_filter.module on line 405.
I have tried to add a popup to a single page, but I deleted the code after the popup didn't function. This error is appearing on many pages, not simply the one I tried to add the popup on.
Comments
Comment #1
melchoir55 commentedNote that disabling popup filter appears to fix the problem, though it isn't a great fix since that is the module I needed in the suite.
Edit:
I have narrowed this down a bit. Apparently, it will only trigger the configuration page for a disabled block. After doing this, the error message will then show up on random pages as you browse. As far as I can tell, if you enable popup_fields then do not visit blocks, the error does not occur.
Comment #2
boabjohn commentedSame here:
warning: Invalid argument supplied for foreach() in <...>popup/popup_filter/popup_filter.module on line 405.
No configs on the module (excpet for choosing a non-default display style)
All other contrib modules up to date, D6.19 out of the box.
Clues?
Comment #3
Kutakizukari commentedGetting it to:
warning: Invalid argument supplied for foreach() in /sites/all/modules/popup/popup_filter/popup_filter.module on line 405.
After I click configure on the blocks page for User Tweets and then hit save is when I get the error. I have not noticed so far this warning showing up on other pages.
Comment #4
Ela commentedsubscribing
Comment #5
Shai commentedI have same problem... doesn't seem to cause any problems viewable to end users.
Comment #6
socialnicheguru commentedi have the same problem
Edit: does this help? http://drupal.org/node/852710#comment-3207712
Comment #7
johnhorning commentedI'm getting the same error message, particularly after editing a block.
Comment #8
Scheepers de Bruin commentedPlease download 3.2.
Note that 3.2 will break/ignore custom popup styling, but give you a way of creating your own style modules.
Comment #9
Scheepers de Bruin commented