Hello, on a FreePBX 14.0.13.23 server i updated the modules listed below and as usual the red button Apply Config appeared in top right corner.
I pressed it and got this error message:
exit: 255
Unable to continue. Call to undefined function FreePBX\modules\Core\Drivers\version_min() in /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php on line 499
#0 /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Run.php(383): Whoops\Run->handleError(1, 'Call to undefin...', '/var/www/html/a...', 499)
#1 [internal function]: Whoops\Run->handleShutdown()
#2 {main}
I did a grep “version_min(” /var/www/html -r and it is only found as call in
/var/www/html/admin/modules/core/views/trunks/pjsip.php
/var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php
Sadly there is no update for FreePBX Framework.
Current version is 14.0.13.23
I can see in FreePBX source 14.0.13.24 file admin/libraries/utility.functions.php the definition of version_min() but 14.0.13.24 is not available to me. I am checking in Admin > Module Admin > Module Updates. Repositories=Standard Check Online
±-----------------------------------------------------------+
| Your system is currently up to date! |
| Your PBX is up to date. |
| Also 1 Disabled module. |
±-----------------------------------------------------------+
[root@vps1511978528 ~]# amportal a ma update framework
Please wait…
!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to ‘fwconsole’
No repos specified, using: [extended,commercial,standard] from last GUI settings
framework is the same as the online version, unable to upgrade
Updating Hooks…Done
[root@vps1511978528 ~]# amportal a r
Please wait…
!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to ‘fwconsole’
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 255
Unable to continue. Call to undefined function FreePBX\modules\Core\Drivers\version_min() in /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php on line 499 #0 /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Run.php(383): Whoops\Run->handleError(1, ‘Call to undefin…’, ‘/var/www/html/a…’, 499) #1 [internal function]: Whoops\Run->handleShutdown() #2 {main}