Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-9713

Uninstalling COS makes outbound routes crash before reload

    XMLWordPrintable

    Details

    • Sprint:
      Beta 13
    • ToDo:
    • Asterisk Version:
      13

      Description

      Steps to reproduce:

      1. Class of Service is installed. Uninstall COS but don't click the 'apply config' button
      2. Navigating to outbound routes yields this whoops error:

      Exception
      Unable to locate the FreePBX BMO Class 'Cos'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install cos 2) fwconsole ma enable cos
      /var/www/html/admin/libraries/BMO/Self_Helper.class.php
      }

      // Right, after all of this we should now have our object ready to create.
      if (!class_exists($objname,false) && !class_exists($this->moduleNamespace.$objname,false) && !class_exists($this->freepbxNamespace.$objname,false)) {
      // Bad things have happened.
      if (!$loaded)

      { $sobjname = strtolower($objname); throw new \Exception(sprintf(_("Unable to locate the FreePBX BMO Class '%s'"),$objname) . sprintf(_("A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install %s 2) fwconsole ma enable %s"),$sobjname,$sobjname)); //die_freepbx(sprintf(_("Unable to locate the FreePBX BMO Class '%s'"),$objname), sprintf(_("A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) amportal a ma install %s 2) amportal a ma enable %s"),$sobjname,$sobjname)); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.