FreePBX 14 + asterisk 16 issues with reload (Less.php error?)

Hello Everyone,

I seem to be getting a PHP error when attemtping a fwconsole reload command.

Output:
[root@freepbx libraries]# fwconsole reload --verbose
Reload Started

In Less.php line 9468:

[Whoops\Exception\ErrorException (2)]
“continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?

Exception trace:
() at /var/www/html/admin/libraries/less/Less.php:9468
Whoops\Run->handleError() at /var/www/html/admin/libraries/BMO/Less.class.php:13
include() at /var/www/html/admin/libraries/BMO/Less.class.php:13
include() at /var/www/html/admin/libraries/BMO/Self_Helper.class.php:167
FreePBX\Self_Helper->loadObject() at /var/www/html/admin/libraries/BMO/Self_Helper.class.php:106
FreePBX\Self_Helper->autoLoad() at /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
FreePBX\Self_Helper->__get() at /var/www/html/admin/libraries/Console/Reload.class.php:523
FreePBX\Console\Command\Reload->generate_less() at /var/www/html/admin/libraries/Console/Reload.class.php:155
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:90
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:960
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

reload [–json] [–dry-run] [–skip-registry-checks] [–dont-reload-asterisk]

[root@freepbx libraries]#

Any help is greatly appreciated. I am running the latest FreePBX + Asterisk 16.

Best Regards,

Chris W.

You are apparently using an unsupported (too new) version of php

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.