October 8, 200916 yr Hi All, I get this warning after my php script runs: Warning: Invalid argument supplied for foreach() in /Library/FileMaker Server/Web Publishing/publishing-engine/php/lib/php/FileMaker/Implementation/Command/AddImpl.php on line 9 Can someone help tell me whats going on? In the php script I have several API commands that create records.(newAddCommand) Also these commands are in one php function? (is that the problem maybe?) thanks RB
October 8, 200916 yr foreach() takes two arguments the first has to be an array the second becomes the placeholder for each value in the array. That error means that the first value supplied to the function is not an array. Without seeing the code its hard to say more
Create an account or sign in to comment