Cannot re-install voipinnovations module. Undefined array key "dids"

FPBX v17 with latest stable updates.

Does anyone know what may be causing this? I tried downloading using -f. I also tried uninstalling first then re-installing using -f. Since this is obfuscated code I do not know what sapi/Voipinnovations.php or Voipinnovations.class.php is trying to do to cause that error.

# fwconsole ma downloadinstall voipinnovations -v
No repos specified, using: [unsupported,standard,extended,commercial] from last GUI settings

Downloading module 'voipinnovations'
Processing voipinnovations
Verifying local module download...Verified
Extracting...Done
Download completed in 2 seconds

In Voipinnovations.php line 594:

  [Whoops\Exception\ErrorException (2)]
  Undefined array key "dids"


Exception trace:
  at /var/www/html/admin/modules/voipinnovations/sapi/Voipinnovations.php:594
 Whoops\Run->handleError() at /var/www/html/admin/modules/voipinnovations/sapi/Voipinnovations.php:594
 FreePBX\modules\Voipinnovations\sapi\Voipinnovations->getAPIObject() at /var/www/html/admin/modules/voipinnovations/sapi/Voipinnovations.php:254
 FreePBX\modules\Voipinnovations\sapi\Voipinnovations->confirmKey() at /var/www/html/admin/modules/voipinnovations/sapi/Voipinnovations.php:245
 FreePBX\modules\Voipinnovations\sapi\Voipinnovations->checkKey() at /var/www/html/admin/modules/voipinnovations/Voipinnovations.class.php:499
 FreePBX\modules\Voipinnovations->install() at /var/www/html/admin/libraries/modulefunctions.class.php:2594
 module_functions->_runscripts() at /var/www/html/admin/libraries/modulefunctions.class.php:2067
 module_functions->install() at /var/www/html/admin/libraries/Console/Moduleadmin.class.php:446
 FreePBX\Console\Command\Moduleadmin->doInstall() at /var/www/html/admin/libraries/Console/Moduleadmin.class.php:1584
 FreePBX\Console\Command\Moduleadmin->handleArgs() at /var/www/html/admin/libraries/Console/Moduleadmin.class.php:236
 FreePBX\Console\Command\Moduleadmin->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
 Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

I managed to correct this by manually dropping the kvstore_FreePBX_modules_Voipinnovations table and then re-installing the module. I am still curious why it happened in the first place.

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