Error when editing extensions

Hello. We had someone on our team think they were “helping” by upgrading to 10.13.66-3. Was very excited to see the new GUI, looks great. I am however encountering a bug when editing existing extensions. Wondering if this is something I might be able to fix in lieu of a system restore.

Error:

Whoops\Exception\ErrorException thrown with message "ksort() expects parameter 1 to be array, null given"
Stacktrace:
#4 Whoops\Exception\ErrorException in                /var/www/html/admin/modules/endpoint/functions.inc.php:122
#3 Whoops\Run:handleError in <#unknown>:0
#2 ksort in /var/www/html/admin/modules/endpoint/functions.inc.php:122
#1 endpoint_core_load in /var/www/html/admin/libraries/components.class.php:454
#0 component:processconfigpage in /var/www/html/admin/config.php:324

fwconsole dbug:

==> /var/log/asterisk/freepbx.log <==
[2015-Jul-02 05:31:28] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/digium_phones/classes/digium_phones.php on line 118
[2015-Jul-02 05:31:28] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/queues/functions.inc/queue_conf.php on line 97
[2015-Jul-02 05:31:28] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 4260
[2015-Jul-02 05:31:39] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Jul-02 05:31:40] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 6354
[2015-Jul-02 05:31:40] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2015-Jul-02 05:31:44] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Jul-02 05:31:45] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 6354
[2015-Jul-02 05:31:45] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/dahdiconfig/functions.inc.php on line 382
[2015-Jul-02 05:32:56] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48OUT
[2015-Jul-02 05:41:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48OUT
[2015-Jul-02 05:49:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48OUT
[2015-Jul-02 05:49:02] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 6354OUT> 
[2015-Jul-02 05:49:02] [WARNING] (core/functions.inc.php:6629) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/dahdiconfig/functions.inc.php on line 382OUT>

==> /var/log/httpd/error_log <==
[Thu Jul 02 05:49:03 2015] [error] [client 192.168.120.2] File does not exist:     /var/www/html/favicon.ico, referer: http://phones.freepbx.com/admin/config.php?display=extensions&extdisplay=110

fwconsole ma list:

+----------------------+----------------+---------+
| Module               | Version        | Status  |
+----------------------+----------------+---------+
| accountcodepreserve  | 13.0.2         | Enabled |
| announcement         | 13.0.2         | Enabled |
| areminder            | 13.0.2         | Enabled |
| arimanager           | 13.0.2         | Enabled |
| asterisk-cli         | 13.0.2         | Enabled |
| asteriskinfo         | 13.0.2         | Enabled |
| backup               | 13.0.4         | Enabled |
| blacklist            | 13.0.3         | Enabled |
| bria                 | 13.0.3         | Enabled |
| broadcast            | 13.0.2         | Enabled |
| builtin              |                | Enabled |
| bulkdids             | 13.0.2         | Enabled |
| bulkextensions       | 13.0.2         | Enabled |
| bulkhandler          | 13.0.3         | Enabled |
| callback             | 13.0.1alpha1   | Enabled |
| callerid             | 13.0.2         | Enabled |
| callforward          | 13.0.3         | Enabled |
| calllimit            | 13.0.2         | Enabled |
| callrecording        | 13.0.2         | Enabled |
| callwaiting          | 13.0.1         | Enabled |
| campon               | 13.0.1alpha1   | Enabled |
| cdr                  | 13.0.7         | Enabled |
| cel                  | 13.0.2         | Enabled |
| certman              | 13.0.2         | Enabled |
| cidlookup            | 13.0.4         | Enabled |
| conferences          | 13.0.2.4       | Enabled |
| conferencespro       | 13.0.1alpha1   | Enabled |
| configedit           | 13.0.2         | Enabled |
| contactmanager       | 13.0.4         | Enabled |
| core                 | 13.0.1beta1.6  | Enabled |
| cos                  | 13.0.2         | Enabled |
| customappsreg        | 13.0.2         | Enabled |
| cxpanel              | 4.1.6          | Enabled |
| dahdiconfig          | 13.0.3         | Enabled |
| dashboard            | 13.0.9         | Enabled |
| daynight             | 13.0.4         | Enabled |
| dictate              | 13.0.2         | Enabled |
| digium_phones        | 2.11.2.3       | Enabled |
| digiumaddoninstaller | 2.11.0.10      | Enabled |
| directory            | 13.0.2         | Enabled |
| disa                 | 13.0.2         | Enabled |
| donotdisturb         | 13.0.3         | Enabled |
| endpoint             | 12.0.0.67      | Enabled |
| fax                  | 13.0.4         | Enabled |
| faxpro               | 13.0.6         | Enabled |
| featurecodeadmin     | 13.0.2         | Enabled |
| findmefollow         | 13.0.4         | Enabled |
| framework            | 13.0.1beta3.15 | Enabled |
| freepbx_ha           | 13.0.1.2       | Enabled |
| fw_ari               | 12.0.8         | Enabled |
| fw_langpacks         | 12.0.7         | Enabled |
| hotelwakeup          | 13.0.2         | Enabled |
| iaxsettings          | 13.0.2         | Enabled |
| infoservices         | 12.0.1         | Enabled |
| irc                  | 2.11.0.4       | Enabled |
| ivr                  | 13.0.2         | Enabled |
| javassh              | 2.11.2         | Enabled |
| languages            | 13.0.3         | Enabled |
| logfiles             | 13.0.2         | Enabled |
| manager              | 13.0.2.2       | Enabled |
| miscapps             | 13.0.2.1       | Enabled |
| miscdests            | 13.0.2         | Enabled |
| music                | 13.0.2         | Enabled |
| outroutemsg          | 13.0.2         | Enabled |
| paging               | 13.0.2         | Enabled |
| pagingpro            | 13.0.2         | Enabled |
| parking              | 13.0.3         | Enabled |
| parkpro              | 13.0.4         | Enabled |
| pbdirectory          | 2.11.0.2       | Enabled |
| phonebook            | 2.11.0.2       | Enabled |
| phpinfo              | 13.0.2         | Enabled |
| pinsets              | 13.0.2         | Enabled |
| pinsetspro           | 13.0.2         | Enabled |
| presencestate        | 13.0.3         | Enabled |
| printextensions      | 13.0.2         | Enabled |
| queueprio            | 13.0.2         | Enabled |
| queues               | 13.0.3         | Enabled |
| qxact_reports        | 13.0.1alpha2   | Enabled |
| recording_report     | 13.0.4         | Enabled |
| recordings           | 12.0.8         | Enabled |
| restapi              | 13.0.4         | Enabled |
| restapps             | 13.0.1alpha2   | Enabled |
| restart              | 13.0.3         | Enabled |
| ringgroups           | 13.0.3         | Enabled |
| setcid               | 13.0.2         | Enabled |
| sipsettings          | 13.0.4         | Enabled |
| sipstation           | 13.0.5         | Enabled |
| sms                  | 13.0.2         | Enabled |
| sng_mcu              | 13.0.2         | Enabled |
| soundlang            | 13.0.0beta3    | Enabled |
| speeddial            | 2.11.0.2       | Enabled |
| superfecta           | 13.0.3         | Enabled |
| sysadmin             | 13.0.5         | Enabled |
| timeconditions       | 13.0.2         | Enabled |
| tts                  | 13.0.2         | Enabled |
| ttsengines           | 13.0.1alpha1   | Enabled |
| ucp                  | 13.0.3         | Enabled |
| ucpnode              | 13.0.7         | Enabled |
| userman              | 13.0.2.1       | Enabled |
| vmblast              | 13.0.2         | Enabled |
| vmnotify             | 13.0.5         | Enabled |
| voicemail            | 13.0.3         | Enabled |
| voicemail_report     | 13.0.1alpha1   | Enabled |
| vqplus               | 13.0.4         | Enabled |
| weakpasswords        | 13.0.1alpha1   | Enabled |
| webcallback          | 13.0.3         | Enabled |
| webrtc               | 13.0.3         | Enabled |
| xmpp                 | 13.0.1alpha1   | Enabled |
+----------------------+----------------+---------+

This strikes me as somewhat similar to what was discussed in Beta Programs / 29087

I have tried updating / reinstalling core/framework/ucp/cxpanel/userman/contactmanager to no avail.

Very grateful for any suggestions, please let me know if I can provide additional information.

Endpoint for 13 is still in progress. I would recommend disabling it and all should work fine.

Typically in beta we say all commercial modules are “broken” but most if not all except endpoint should work ok. Endpoint is quite a beast so it is taking a bit longer

1 Like

Gentleman and a scholar. Disabled Endpoint (and dependent Rest Phone Application) and error no longer appears when editing extensions. Thank you for the help!