I have just download the latest version of FreePBX Distro. Version FreePBX 13.0.70
Installation went without any issues.
However when trying to setup a new Trunk, I get the following error:
Reload failed because retrieve_conf encountered an error: 1
exit: 1
Whoops\Exception\ErrorException: Invalid argument supplied for foreach() in file /var/www/html/admin/modules/core/functions.inc.php on line 4216
Stack trace:
- Whoops\Exception\ErrorException->() /var/www/html/admin/modules/core/functions.inc.php:4216
- Whoops\Run->handleError() /var/www/html/admin/modules/core/functions.inc.php:4216
- core_devices_get_user_mappings() /var/www/html/admin/modules/core/functions.inc.php:42
- core_conf->map_dev_user() /var/www/html/admin/modules/core/functions.inc.php:452
- core_conf->generate_sip_additional() /var/www/html/admin/modules/core/functions.inc.php:103
- core_conf->generateConf() /var/www/html/admin/libraries/BMO/FileHooks.class.php:65
- FreePBX\FileHooks->processOldHooks() /var/www/html/admin/libraries/BMO/FileHooks.class.php:24
- FreePBX\FileHooks->processFileHooks() /var/lib/asterisk/bin/retrieve_conf:831
1 error(s) occurred, you should view the notification log on the dashboard or main screen to
check for more details.
When going to the Dashboard it doesn’t give any extra info:
retrieve_conf failed, config not applied
Reload failed because retrieve_conf encountered an error: 1
1 minute, 28 seconds, ago
fwconsole ma list
No repos specified, using: [standard,commercial] from last GUI settings
±--------------------±-------------±----------------------------------+
| Module | Version | Status |
±--------------------±-------------±----------------------------------+
| accountcodepreserve | 13.0.2 | Enabled |
| announcement | 13.0.4 | Enabled |
| arimanager | | Not Installed (Locally available) |
| asterisk-cli | 13.0.3 | Enabled |
| asteriskinfo | 13.0.6 | Enabled |
| backup | 13.0.21.5 | Enabled |
| blacklist | 13.0.7 | Enabled |
| builtin | | Enabled |
| callback | 13.0.5 | Enabled |
| callforward | 13.0.4 | Enabled |
| callrecording | 13.0.9 | Enabled |
| callwaiting | 13.0.4 | Enabled |
| campon | 13.0.3 | Enabled |
| cdr | 13.0.23 | Enabled |
| cel | | Not Installed (Locally available) |
| certman | 13.0.12 | Enabled |
| cidlookup | | Not Installed (Locally available) |
| conferences | 13.0.17 | Enabled |
| conferencespro | 13.0.18 | Enabled |
| contactmanager | 13.0.17 | Enabled |
| core | 13.0.48 | Enabled |
| customappsreg | 13.0.4.4 | Enabled |
| dashboard | 13.0.19 | Enabled |
| daynight | 13.0.9 | Enabled |
| dictate | 13.0.4 | Enabled |
| directory | 13.0.10 | Enabled |
| disa | 13.0.5 | Enabled |
| donotdisturb | 13.0.3 | Enabled |
| endpoint | 13.0.32 | Enabled |
| extensionroutes | 13.0.6 | Enabled |
| featurecodeadmin | 13.0.5 | Enabled |
| findmefollow | 13.0.27 | Enabled |
| framework | 13.0.70 | Enabled |
| freepbx_ha | 13.0.7.2 | Enabled |
| fw_langpacks | 12.0.7 | Enabled |
| iaxsettings | 13.0.3 | Enabled |
| infoservices | 13.0.1 | Enabled |
| irc | 2.11.0.6 | Enabled |
| ivr | 13.0.17 | Enabled |
| languages | 13.0.5 | Enabled |
| logfiles | 13.0.7 | Enabled |
| manager | 13.0.2.5 | Enabled |
| miscapps | 13.0.2.2 | Enabled |
| miscdests | 13.0.2 | Enabled |
| music | 13.0.13 | Enabled |
| outroutemsg | 13.0.2 | Enabled |
| pbdirectory | 2.11.0.4 | Enabled |
| phonebook | 13.0.5.2 | Enabled |
| phpinfo | 13.0.2 | Enabled |
| pinsets | 13.0.5 | Enabled |
| presencestate | 13.0.4 | Enabled |
| printextensions | 13.0.3 | Enabled |
| queueprio | 13.0.2 | Enabled |
| queues | 13.0.19 | Enabled |
| recording_report | 13.0.17 | Enabled |
| recordings | 13.0.21 | Enabled |
| ringgroups | 13.0.14 | Enabled |
| setcid | 13.0.4 | Enabled |
| sipsettings | 13.0.17 | Enabled |
| sipstation | 13.0.13.7 | Enabled |
| sms | 13.0.5 | Enabled |
| soundlang | 13.0.8 | Enabled |
| speeddial | 2.11.0.3 | Enabled |
| sysadmin | 13.0.41 | Enabled |
| timeconditions | 13.0.15 | Enabled |
| tts | 13.0.6 | Enabled |
| ttsengines | 13.0.4.1 | Enabled |
| ucp | 13.0.22 | Enabled |
| userman | 13.0.50 | Enabled |
| vmblast | 13.0.7 | Enabled |
| voicemail | 13.0.33 | Enabled |
| weakpasswords | 13.0.1alpha1 | Enabled |
±--------------------±-------------±----------------------------------+
Any ideas on how to fix this?