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

E_WARNING error on submit Outbound Route

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: FreePBX Framework
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
       13.6.0
    • Distro Version:
      Ubuntu 14.01 LTS

      Description

      E_WARNING error in core_routing_updatepatterns on submit Outbound Route:

      Whoops\Exception\ErrorException thrown with message "Invalid argument supplied for foreach()"

      Stacktrace:
      #6 Whoops\Exception\ErrorException in /var/www/html/admin/modules/core/functions.inc.php:5513
      #5 Whoops\Run:handleError in /var/www/html/admin/modules/core/functions.inc.php:5513
      #4 core_routing_updatepatterns in /var/www/html/admin/modules/core/functions.inc.php:5459
      #3 core_routing_editbyid in /var/www/html/admin/modules/core/Core.class.php:1061
      #2 FreePBX\modules\Core:doConfigPageInit in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:290
      #1 FreePBX\GuiHooks:doBMOConfigPage in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:252
      #0 FreePBX\GuiHooks:doConfigPageInits in /var/www/html/admin/config.php:359

      Server/Request Data
      HTACCESS on
      HTTP_HOST 192.168.1.5
      HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
      HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
      HTTP_ACCEPT_ENCODING gzip, deflate
      HTTP_DNT 1
      HTTP_REFERER http://192.168.1.5/admin/config.php?display=routing&view=form&id=3
      HTTP_COOKIE lang=en_US; searchHide=1; __utma=145539827.172003282.1446831765.1462822535.1465226609.31; __utmz=145539827.1446831765.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.1.172003282.1446831765;
      HTTP_CONNECTION keep-alive
      HTTP_UPGRADE_INSECURE_REQUESTS 1
      CONTENT_TYPE multipart/form-data; boundary=---------------------------670569919849
      CONTENT_LENGTH 2303
      PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      SERVER_SIGNATURE <address>Apache/2.4.7 (Ubuntu) Server at 192.168.1.5 Port 80</address>
      SERVER_SOFTWARE Apache/2.4.7 (Ubuntu)
      SERVER_NAME 192.168.1.5
      SERVER_ADDR 192.168.1.5
      SERVER_PORT 80
      REMOTE_ADDR 192.168.1.6
      DOCUMENT_ROOT /var/www/html
      REQUEST_SCHEME http
      CONTEXT_PREFIX
      CONTEXT_DOCUMENT_ROOT /var/www/html
      SERVER_ADMIN webmaster@localhost
      SCRIPT_FILENAME /var/www/html/admin/config.php
      REMOTE_PORT 25606
      GATEWAY_INTERFACE CGI/1.1
      SERVER_PROTOCOL HTTP/1.1
      REQUEST_METHOD POST
      QUERY_STRING display=routing
      REQUEST_URI /admin/config.php?display=routing
      SCRIPT_NAME /admin/config.php
      PHP_SELF /admin/config.php
      REQUEST_TIME_FLOAT 1473700766.656
      REQUEST_TIME 1473700766

      POST Data
      extdisplay 3
      id 3
      action editroute
      repotrunkdirection
      repotrunkkey
      reporoutedirection
      reporoutekey
      routename LocalNumbers
      outcid admin
      outcid_mode
      routepass
      mohsilence default
      time_group_id
      route_seq 0
      trunkpriority Array ( [0] => 3 [1] => )
      goto0
      dialpatterndata []
      bulk_patterns 164635442XX
      callrecording dontcare

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  ddv2005 ddv2005
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Feedback Requested:

                    NextupJiraPlusStatus

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