[Solved] Weird error in FreePBX 13 BETA

When I add custom destinations I am having problems in some modules, for instance when I try to use a custom destination inside an IVR and I try to apply I see the followind error:

Reload failed because retrieve_conf encountered an error: 1
exit: 1
Whoops\Exception\ErrorException: Illegal string offset ‘destid’ in file /var/www/html/admin/modules/customappsreg/functions.inc.php on line 61
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/customappsreg/functions.inc.php:61
  2. Whoops\Run->handleError() /var/www/html/admin/modules/customappsreg/functions.inc.php:61
  3. customappsreg_getdestinfo() /var/www/html/admin/libraries/usage_registry.functions.php:300
  4. framework_identify_destinations() /var/www/html/admin/libraries/usage_registry.functions.php:351
  5. framework_list_pro

When I try to add a inbound route I see a similar error:
Whoops \ Exception \ ErrorException (E_WARNING)
HELP
Illegal string offset ‘destid’ in line 61 /var/www/html/admin/modules/customappsreg/functions.inc.php
If I remove all customs detinations I am able to change inbound routes else not.

Of course all modules are updated.

What can I do?

Report a bug at: http://issues.freepbx.org

1 Like

Which we did for you, and already have a fix for :sunglasses:

http://issues.freepbx.org/browse/FREEPBX-9874

Wow

Great work Rob, How can I aply the patch without getting warnings like “your system has been compromised” because unsigned modules?

Thanks

Just go to module admin and download the fixed module.

Done, everything is working OK :smile:
Thanks

1 Like