Reload failed because retrieve_conf encountered an error: 255

Hi all,

I’m getting the following error when I try to Apply Config:

exit: 255
Unable to continue. Can't setConfig null in /var/www/html/admin/libraries/BMO/DB_Helper.class.php on line 192
#0 /var/www/html/admin/modules/cos/Cos.class.php(109): FreePBX\DB_Helper->setConfig(NULL, 'miscapp_1', 'lookup-fc')
#1 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(105): Cos->doDialplanHook(Object(extensions), 'asterisk', 900)
#2 /var/lib/asterisk/bin/retrieve_conf(866): FreePBX\DialplanHooks->processHooks('asterisk', Array)
#3 {main}

Are you using COS?


The license was expired, but no change after renewing it.

We tried disabling/re-enabling, reinstalling it, and finally upgrading it. No luck on any.


The issue was an empty feature code that was enabled. ‘fc_lookup’ was the clue.

Another guy was trying set up a feature code and must have missed setting the actual code.

The fact that an empty feature code could be enabled, which in turn causes the app to toss an error, seems like a bug to me.

If you can reproduce it, file a ticket:

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