New Server - UCP Issue

Any idea why I am getting this, how to resolve, when I try to access UCP?

Exception
Please ask for a valid directory

/**
* Get All Groups
*
* Get a List of all User Manager users and their data
*
* @return array
*/
public function getAllGroups($directory=null) {
if (!empty($directory) && empty($this->directories[$directory])) {
throw new \Exception(“Please ask for a valid directory”);
}

    if(!empty($directory)) {
        $groups = $this->directories[$directory]->getAllGroups();
    } else {
        $groups = $this->globalDirectory->getAllGroups();
    }
    return $groups;
}

Uninstall the pms module

1 Like

appropriate name :slight_smile:

Yes, that did the trick, thanks much!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.