Problem after Upgrading from FreePBX 10.13.66 to SNG7

Hello,
I am getting the following errors after Upgrading from FreePBX 10.13.66 to SNG7 and have no idea what it is and how to fix it. Any help will be appreciated:

exit: 255
Unable to continue. Illegal string offset 'lookup-fc' in /var/www/html/admin/libraries/BMO/DB_Helper.class.php on line 427
#0 /var/www/html/admin/libraries/BMO/DB_Helper.class.php(427): Whoops\Run->handleError(2, 'Illegal string ...', '/var/www/html/a...', 427, Array)
#1 /var/www/html/admin/modules/cos/Cos.class.php(106): FreePBX\DB_Helper->delById('lookup-fc')
#2 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(107): Cos->doDialplanHook(Object(extensions), 'asterisk', 900)
#3 /var/lib/asterisk/bin/retrieve_conf(864): FreePBX\DialplanHooks->processHooks('asterisk', Array)
#4 {main}

Looks like you may have an issue with Class of Service. If you’re not using it, you can remove with:

 fwconsole ma uninstall cos

Thank you very much for your help, I have run Recovery from a failed upgrade script:
wget http://package1.sangoma.net/post_upgrade
chmod 755 ./post_upgrade
./post_upgrade

This solved the issue.

1 Like

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