Hi,
Thanks for the quick response. I have modified my code so that it matches the your example but I am still getting the same error:
Fatal error: Existing data passed is not an array
Called set_existing in /usr/local/apache/htdocs/forums/deleteVBUser.php on line 23
in /includes/class_dm.php on line 235
Can the delete method be called in the manner which I am trying?
Or Is it because I am using the function fetch_userinfo to set the existing contents of a user data manager?
Thanks
Hi
I think the error I am getting relates to the following code, which can be found in includes/class_dm_user.php (line 1795):
Code:
$admindm =& datamanager_init('Admin', $this->registry, ERRTYPE_SILENT);
$admindm->set_existing($this->existing);
$admindm->delete();
unset($admindm);
In the above code it seems to initiate a admin datamanager and then tries to delete it, is this right?
I am trying to delete users who may not have logged into the forums, is this possible? Or can you only delete users who have logged in?
Thanks