User Manager issue on FreePBX with Clearly IP modules

Hi Guys,

I’m getting a php error with the User Manager since switching over to Clearly repositories.

Specifically, when I try to edit a group, or hit the “Submit and send email to user” when editing a user, I get the following:

Whoops\Exception\ErrorException thrown with message “Undefined array key “clients””
Stacktrace:#8 Whoops\Exception\ErrorException in /var/www/html/admin/modules/clearlysp/BMOHooks/Usermanager.php:7#7 Whoops\Run:handleError in /var/www/html/admin/modules/clearlysp/BMOHooks/Usermanager.php:7#6 FreePBX\modules\Clearlysp\BMOHooks\Usermanager:showPage in /var/www/html/admin/modules/clearlysp/Clearlysp.class.php:7#5 FreePBX\modules\Clearlysp:usermanShowPage in /var/www/html/admin/libraries/BMO/Hooks.class.php:320#4 call_user_func_array in /var/www/html/admin/libraries/BMO/Hooks.class.php:320#3 FreePBX\Hooks:executeCall in /var/www/html/admin/libraries/BMO/Hooks.class.php:355#2 FreePBX\Hooks:processHooks in /var/www/html/admin/modules/userman/Userman.class.php:777#1 FreePBX\modules\Userman:myShowPage in /var/www/html/admin/modules/userman/page.userman.php:2#0 include in /var/www/html/admin/config.php:658

My setup is a follows:

  1. FreePBX 17 running as an on-premise VM installed using .iso from Sangoma.
  2. Repositories are set to Clearly IP’s repos
  3. Clearly Modues Installed: ClearlyIP, Clearly Devices, Clearly Anywhere, Clearly Licensing.

Any suggestions appreicated.

Thanks!

I saw the same thing initially , had to remove the softphone module and that cleared it up , clearlysp

its in your debug as well

Chris

@notorious.dds - you can do that from module admin

or cli

fwconsole ma delete clearlysp

try this as well… once you remove it make sure it cleared the error and then reinstall it , I just did so again and its no longer blowing up

1 Like

Awesome! Thanks @ChrisD .

That did it. I’m not even using clearly softphones right now, so I just left it uninstalled.

Thanks again!