I've run into an interesting problem and hope someone can figure this out.
I have a simple sql statement that is gathering some data.
I then "foreach" through the results dumping out the values.
As far as I can tell everything works beautifully. I've tested this on every machine I can get a hold of and never received any problems. However, a client from Germany has constantly reported that he is receiving an error caused from this foreach statement:
"Warning: Invalid argument supplied for foreach() in /....setup.inc on line 65"
I've tried everything to duplicate the error here, but with no luck. He's not making this up, because when I change the code he correctly points to the same line. I've tried to cover up the error by using "Error Suppression" (the @) but I can't seem to get this working with a foreach statement.
Does anyone have ANY suggestions to help me out? I'd really appreciate it! Thanks 😃