All-
When running an app to create users and posts, I get this error:
<br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/functions.php</strong> on line <strong>6501</strong><br />av8or1 1
However if I simply comment out the require_once() statements in the "main" source file:
Code:
//require_once( './global.php' );
//require_once( LMDIR . '/DatabaseOps.php' );
//require_once( LMDIR . '/AddNewUser.php' );
//require_once( LMDIR . '/AddNewCategory.php' );
//require_once( LMDIR . '/AddNewForum.php' );
//require_once( LMDIR . '/AddNewThreadPost.php' );
the error message disappears and I can select values from the vB user DB without incident. What I found interesting was that if I went to each of those include/required files and commented everything out between the <?php and ?> I would still get the error. Only by commenting them out in the "main" source file resulted in the error disappearing.
So. Anyone else encountered this before and can help? I did a search, the result of which centered around rebuilding your forum counters and such. I did that but with no change.
Thanks!