HI im getting the following error
Warning: Invalid argument supplied for foreach() in /home/jktempla/public_html/includes/class-query.php on line 106
in the following bit of coding can anyone see whats happening
public function do_user_directory() {
$users = $this->load_all_user_objects();
foreach ( $users as $user ) { ?> <div class="directory_item"> <h3><a href="/social/profile-view.php?uid=<?php echo $user->ID; ?>"><?php echo $user->user_nicename; ?></a></h3> <p><?php echo $user->user_email; ?></p> </div> <?php
}
}
any help would be much appreicated jan :)