Ever since a few days ago when I try to view the overview button for a Queue on my Digium D65 phone, I get an error on the phone that says: Undefined array key “id” on /var/www/html/admin/modules/restapps/dphoneapi/v and then it’s cut off by the screen. So far I’ve tried restarting the server and rebuilding the config for the phone, but nothing seems to help.
Hi @Ben
Please check your httpd (if running freepbx v16/v15) or apache2 logs (if freepbx v17) to get full dump of error backtrace.
Regards
Kapil
Hi Kapil,
These are the only entries in the error log from about 8 hours ago, even though I’ve replicated the steps to produce the error on the phone just now. I’m currently on Freepbx v17.
root@FreePBX:~# cat /var/log/apache2/error.log
[Tue Aug 26 00:00:01.562759 2025] [mpm_prefork:notice] [pid 768:tid 768] AH00163: Apache/2.4.62 (Debian) OpenSSL/3.0.16 configured – resuming normal operations
[Tue Aug 26 00:00:01.562778 2025] [core:notice] [pid 768:tid 768] AH00094: Command line: ‘/usr/sbin/apache2’
start fwconsole debug and then reproduce issue and then see if you get full back trace in the log ?
I get this error immediately upon hitting the overview button:
==> /var/log/asterisk/freepbx_dbug <==
[2025-08-26 08:22:27] [dbug.DEBUG]: 2025-Aug-26 08:22:27 /var/www/html/admin/modules/restapps/dphoneApi/DphoneApp.class.php:326
[] []
[2025-08-26 08:22:27] [dbug.DEBUG]: Whoops\Exception\ErrorException Object
(
[message:protected] => Undefined array key "id"
[string:Exception:private] =>
[code:protected] => 2
[file:protected] => /var/www/html/admin/modules/restapps/dphoneApi/views/PbxUsersCallQueuesGetTodaysStatusView.php
[line:protected] => 62
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi/views/PbxUsersCallQueuesGetTodaysStatusView.php
[line] => 62
[function] => handleError
[class] => Whoops\Run
[type] => ->
)
[1] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi/views/PbxUsersCallQueuesGetTodaysStatusView.php
[line] => 252
[function] => getQueuesInfo
[class] => PbxUsersCallQueuesGetTodaysStatusView
[type] => ->
)
[2] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi/DphoneApp.class.php
[line] => 1917
[function] => showJson
[class] => PbxUsersCallQueuesGetTodaysStatusView
[type] => ->
)
[3] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi/DphoneApp.class.php
[line] => 197
[function] => pbxUsersCallQueuesGetTodaysStatus
[class] => DphoneApp
[type] => ->
)
[4] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi/DphoneApp.class.php
[line] => 103
[function] => processRequest
[class] => DphoneApp
[type] => ->
)
[5] => Array
(
[file] => /var/www/html/admin/modules/restapps/dphoneApi.php
[line] => 22
[function] => run
[class] => DphoneApp
[type] => ->
)
)
[previous:Exception:private] =>
[severity:protected] => 2
)
[] []
Any ideas @kgupta ? I’ve been looking for a couple days and haven’t been able to find a solution.
Hi @Ben Can you please review your queue configuration and ensure all your members (static/dynamic) are proper users in user manager? looks like its crashing due to unable to find any of the queue member information from the users db table.
Best Regards
Kapil
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.