There was an error importing row 0: There was an error in Core, message:strlen() expects parameter 1 to be string, array given

FreePBX14, Asterisk 13.27.1

Issue occurred after hitting submit button on a number of extensions. This broke bulk handler and extensions.

Tried using bulk handler to overwrite extension 9901, which I thought was the source of the issue based on the output below, but I got There was an error importing row 0: There was an error in Core, message:strlen() expects parameter 1 to be string, array given

fwconsole r --verbose
output:

Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Unable to continue. strlen() expects parameter 1 to be string, array given in /var/www/html/admin/modules/voicemail/Voicemail.class.php on line 230
#0 [internal function]: Whoops\Run->handleError(2, 'strlen() expect...', '/var/www/html/a...', 230, Array)
#1 /var/www/html/admin/modules/voicemail/Voicemail.class.php(230): strlen(Array)
#2 /var/www/html/admin/modules/voicemail/Voicemail.class.php(266): FreePBX\modules\Voicemail->getVoicemail(true)
#3 /var/www/html/admin/modules/voicemail/functions.inc.php(944): FreePBX\modules\Voicemail->getMailbox('5540', true)
#4 /var/www/html/admin/modules/core/functions.inc.php(982): voicemail_mailbox_get('5540')
#5 /var/www/html/admin/libraries/usage_registry.functions.php(300): core_getdestinfo('ext-local,vmu55...')
#6 /var/www/html/admin/libraries/usage_registry.functions.php(351): framework_identify_destinations(Array, Array)
#7 /var/lib/asterisk/bin/retrieve_conf(819): framework_list_problem_destinations(Array, false)
#8 {main}

The /etc/voicemail.conf file was broken; fixing that by hand resolved the error

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