-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15
-
Fix Version/s: 14.0.16
-
Component/s: REST Phone Apps (Commercial)
-
Labels:None
-
Sprint:Sprint 10!, Sprint 11!
-
Bug Tracker:QA Testing
-
ToDo:
-
Distro Version:15
-
Distro:FreePBX Distro
Getting "PHP Fatal error: Call to undefined function FreePBX\modules\endpoint_apiApp()" when doing fwconsole reload when endpoint module is not installed.
The error not conveying endpoint module is missing. Instead of printing PHP fatal error we need to print the message saying Dependent module endpoint is missing and needs to be installed.
[root@freepbx home]# fwconsole reload --verbose
Reload Started
PHP Fatal error: Call to undefined function FreePBX\modules\endpoint_apiApp() in /var/www/html/admin/modules/restapps/Restapps.class.php on line 1481
Whoops\Exception\ErrorException: Call to undefined function FreePBX\modules\endpoint_apiApp() in file /var/www/html/admin/modules/restapps/Restapps.class.php on line 1481
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/restapps/Restapps.class.php:1481
[root@freepbx home]#