Closed (duplicate)
Project:
Conditional Fields
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2009 at 19:48 UTC
Updated:
11 May 2009 at 12:42 UTC
warning: Invalid argument supplied for foreach() in /sites/all/modules/conditional_fields/conditional_fields.module on line 720.
I have this issue one one of my two sites.
I am using an integer field to control 3 embedded media fields. The other side does not have this problem, but it controls others via a text field.
Comments
Comment #1
peterpoe commentedCould you please update conditional fields to the latest cvs version? I moved around a lot of code today, so the line reference is lost. Thanks
Comment #2
RoboPhred commentedError does not occur in the current cvs (however, a new issue came up, making a new report).
Comment #3
RoboPhred commentedToo soon, came back
warning: Invalid argument supplied for foreach() in /home/third/public_html/showcase/sites/all/modules/conditional_fields/conditional_fields.module on line 165.
function conditional_fields_nodeapi(&$node, $op, $teaser, $page)
This is occurring on the same fields and situations as #458934: Image fields not showing up on 5-10-09 cvs head, however it only ever occurs on saving a node, not on view, and this issue was occurring when the linked issue wasn't.
Comment #4
RoboPhred commentedI suspect this is caused by #458964: Conditional settings not cleared on field deletion, I have not seen this come up since I cleared out the duplicate/invalid entries caused by it.
Comment #5
peterpoe commentedOk, I mark it as duplicate of #458964: Conditional settings not cleared on field deletion.