FlattenException {#690
  -message: "count(): Parameter must be an array or an object that implements Countable"
  -code: 0
  -previous: null
  -trace: array:15 [
    0 => array:8 [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => ""
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/app/Providers/CompanyServiceProvider.php"
      "line" => 32
      "args" => []
    ]
    1 => array:8 [
      "namespace" => "Illuminate\Foundation\Bootstrap"
      "short_class" => "HandleExceptions"
      "class" => "Illuminate\Foundation\Bootstrap\HandleExceptions"
      "type" => "->"
      "function" => "handleError"
      "file" => null
      "line" => null
      "args" => array:5 [
        0 => array:2 [
          0 => "string"
          1 => "2"
        ]
        1 => array:2 [
          0 => "string"
          1 => "count(): Parameter must be an array or an object that implements Countable"
        ]
        2 => array:2 [
          0 => "string"
          1 => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/app/Providers/CompanyServiceProvider.php"
        ]
        3 => array:2 [
          0 => "string"
          1 => "32"
        ]
        4 => array:2 [
          0 => "array"
          1 => array:3 [
            "request" => array:2 [
              0 => "object"
              1 => "Illuminate\Http\Request"
            ]
            "get_domain" => array:2 [
              0 => "string"
              1 => "scaffoldlms.com.br"
            ]
            "companie" => array:2 [
              0 => "object"
              1 => "App\Companie"
            ]
          ]
        ]
      ]
    ]
    2 => array:8 [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => "count"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/app/Providers/CompanyServiceProvider.php"
      "line" => 32
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "App\Companie"
        ]
      ]
    ]
    3 => array:8 [
      "namespace" => "App\Providers"
      "short_class" => "CompanyServiceProvider"
      "class" => "App\Providers\CompanyServiceProvider"
      "type" => "->"
      "function" => "boot"
      "file" => null
      "line" => null
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "Illuminate\Http\Request"
        ]
      ]
    ]
    4 => array:8 [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => "call_user_func_array"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Container/Container.php"
      "line" => 508
      "args" => array:2 [
        0 => array:2 [
          0 => "array"
          1 => array:2 [
            0 => array:2 [
              0 => "object"
              1 => "App\Providers\CompanyServiceProvider"
            ]
            1 => array:2 [
              0 => "string"
              1 => "boot"
            ]
          ]
        ]
        1 => array:2 [
          0 => "array"
          1 => array:1 [
            0 => array:2 [
              0 => "object"
              1 => "Illuminate\Http\Request"
            ]
          ]
        ]
      ]
    ]
    5 => array:8 [
      "namespace" => "Illuminate\Container"
      "short_class" => "Container"
      "class" => "Illuminate\Container\Container"
      "type" => "->"
      "function" => "call"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Application.php"
      "line" => 769
      "args" => array:1 [
        0 => array:2 [
          0 => "array"
          1 => array:2 [
            0 => array:2 [
              0 => "object"
              1 => "App\Providers\CompanyServiceProvider"
            ]
            1 => array:2 [
              0 => "string"
              1 => "boot"
            ]
          ]
        ]
      ]
    ]
    6 => array:8 [
      "namespace" => "Illuminate\Foundation"
      "short_class" => "Application"
      "class" => "Illuminate\Foundation\Application"
      "type" => "->"
      "function" => "bootProvider"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Application.php"
      "line" => 752
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "App\Providers\CompanyServiceProvider"
        ]
      ]
    ]
    7 => array:8 [
      "namespace" => "Illuminate\Foundation"
      "short_class" => "Application"
      "class" => "Illuminate\Foundation\Application"
      "type" => "->"
      "function" => "Illuminate\Foundation\{closure}"
      "file" => null
      "line" => null
      "args" => array:2 [
        0 => array:2 [
          0 => "object"
          1 => "App\Providers\CompanyServiceProvider"
        ]
        1 => array:2 [
          0 => "string"
          1 => "20"
        ]
      ]
    ]
    8 => array:8 [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => "array_walk"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Application.php"
      "line" => 753
      "args" => array:2 [
        0 => array:2 [
          0 => "array"
          1 => array:21 [
            0 => array:2 [
              0 => "object"
              1 => "Illuminate\Events\EventServiceProvider"
            ]
            1 => array:2 [
              0 => "object"
              1 => "Illuminate\Routing\RoutingServiceProvider"
            ]
            2 => array:2 [
              0 => "object"
              1 => "Illuminate\Auth\AuthServiceProvider"
            ]
            3 => array:2 [
              0 => "object"
              1 => "Illuminate\Cookie\CookieServiceProvider"
            ]
            4 => array:2 [
              0 => "object"
              1 => "Illuminate\Database\DatabaseServiceProvider"
            ]
            5 => array:2 [
              0 => "object"
              1 => "Illuminate\Encryption\EncryptionServiceProvider"
            ]
            6 => array:2 [
              0 => "object"
              1 => "Illuminate\Filesystem\FilesystemServiceProvider"
            ]
            7 => array:2 [
              0 => "object"
              1 => "Illuminate\Foundation\Providers\FoundationServiceProvider"
            ]
            8 => array:2 [
              0 => "object"
              1 => "Illuminate\Notifications\NotificationServiceProvider"
            ]
            9 => array:2 [
              0 => "object"
              1 => "Illuminate\Pagination\PaginationServiceProvider"
            ]
            10 => array:2 [
              0 => "object"
              1 => "Illuminate\Session\SessionServiceProvider"
            ]
            11 => array:2 [
              0 => "object"
              1 => "Illuminate\View\ViewServiceProvider"
            ]
            12 => array:2 [
              0 => "object"
              1 => "Maatwebsite\Excel\ExcelServiceProvider"
            ]
            13 => array:2 [
              0 => "object"
              1 => "Collective\Html\HtmlServiceProvider"
            ]
            14 => array:2 [
              0 => "object"
              1 => "Yajra\Datatables\DatatablesServiceProvider"
            ]
            15 => array:2 [
              0 => "object"
              1 => "Vinkla\Vimeo\VimeoServiceProvider"
            ]
            16 => array:2 [
              0 => "object"
              1 => "App\Providers\AppServiceProvider"
            ]
            17 => array:2 [
              0 => "object"
              1 => "App\Providers\AuthServiceProvider"
            ]
            18 => array:2 [
              0 => "object"
              1 => "App\Providers\EventServiceProvider"
            ]
            19 => array:2 [
              0 => "object"
              1 => "App\Providers\RouteServiceProvider"
            ]
            20 => array:2 [
              0 => "object"
              1 => "App\Providers\CompanyServiceProvider"
            ]
          ]
        ]
        1 => array:2 [
          0 => "object"
          1 => "Closure"
        ]
      ]
    ]
    9 => array:8 [
      "namespace" => "Illuminate\Foundation"
      "short_class" => "Application"
      "class" => "Illuminate\Foundation\Application"
      "type" => "->"
      "function" => "boot"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php"
      "line" => 17
      "args" => []
    ]
    10 => array:8 [
      "namespace" => "Illuminate\Foundation\Bootstrap"
      "short_class" => "BootProviders"
      "class" => "Illuminate\Foundation\Bootstrap\BootProviders"
      "type" => "->"
      "function" => "bootstrap"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Application.php"
      "line" => 203
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "Illuminate\Foundation\Application"
        ]
      ]
    ]
    11 => array:8 [
      "namespace" => "Illuminate\Foundation"
      "short_class" => "Application"
      "class" => "Illuminate\Foundation\Application"
      "type" => "->"
      "function" => "bootstrapWith"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
      "line" => 254
      "args" => array:1 [
        0 => array:2 [
          0 => "array"
          1 => array:7 [
            0 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\DetectEnvironment"
            ]
            1 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
            ]
            2 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\ConfigureLogging"
            ]
            3 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
            ]
            4 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
            ]
            5 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
            ]
            6 => array:2 [
              0 => "string"
              1 => "Illuminate\Foundation\Bootstrap\BootProviders"
            ]
          ]
        ]
      ]
    ]
    12 => array:8 [
      "namespace" => "Illuminate\Foundation\Http"
      "short_class" => "Kernel"
      "class" => "Illuminate\Foundation\Http\Kernel"
      "type" => "->"
      "function" => "bootstrap"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
      "line" => 145
      "args" => []
    ]
    13 => array:8 [
      "namespace" => "Illuminate\Foundation\Http"
      "short_class" => "Kernel"
      "class" => "Illuminate\Foundation\Http\Kernel"
      "type" => "->"
      "function" => "sendRequestThroughRouter"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
      "line" => 117
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "Illuminate\Http\Request"
        ]
      ]
    ]
    14 => array:8 [
      "namespace" => "Illuminate\Foundation\Http"
      "short_class" => "Kernel"
      "class" => "Illuminate\Foundation\Http\Kernel"
      "type" => "->"
      "function" => "handle"
      "file" => "/home/scf_homolog/scaffoldlms.com.br/new-plataform/public/index.php"
      "line" => 53
      "args" => array:1 [
        0 => array:2 [
          0 => "object"
          1 => "Illuminate\Http\Request"
        ]
      ]
    ]
  ]
  -class: "ErrorException"
  -statusCode: 500
  -headers: []
  -file: "/home/scf_homolog/scaffoldlms.com.br/new-plataform/app/Providers/CompanyServiceProvider.php"
  -line: 32
}