I just ran my module updates and after all of my phones went offline. Any time I try to do any fwconsole commands I get the following error:
PHP Parse error: syntax error, unexpected ‘[’, expecting ‘)’ in /var/www/html/admin/modules/sysadmin/Console/Sysadmin.class.php on line 240
Whoops\Exception\ErrorException: syntax error, unexpected ‘[’, expecting ‘)’ in file /var/www/html/admin/modules/sysadmin/Console/Sysadmin.class.php on line 240
Stack trace:
Tried that. When I do a reload I get the following error:
exit: 1
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Exception: Unable to connect to Asterisk through the CLI in file /var/lib/asterisk/bin/retrieve_conf on line 41
Stack trace:
Went into the Asterisk CLI and did a “core reload”. After that I ran “fwconsole restart” and once FPBX was restarted the issue seems to have gone away.