cURL Error #:Operation timed out after 30000 milliseconds with 0 bytes received Exception

Error

We're sorry, but an unhandled error occurred. Please see the details below.

Undefined variable: paises

/srv/users/serverpilot/apps/ceys-mundoceys/public/plugins/ceys/admin/components/Api.php line 99

        if ($err) {
            echo "cURL Error  #:" . $err;
        } else {
            $array_result = json_decode($response);
            $paises = $array_result->value;
        }
        return $paises;
    }
 
    // Consulta los tipos de Calles
    public function getTipoCalle($token=''){
        if($token=='') {
            $access_token = $this->login();

Stack trace

# Called Code Document Line
47 Ceys\Admin\Components\Api->getPaises() ~/storage/cms/cache/e6/e3/ask_the_expert.htm.php 30
46 Cms5d8349788429c912272228_ef639dbe34137931bfb3c154bc4b7ec3Class->onStart() ~/modules/cms/classes/Controller.php 427
45 Cms\Classes\Controller->execPageCycle() ~/modules/cms/classes/Controller.php 349
44 Cms\Classes\Controller->runPage() ~/modules/cms/classes/Controller.php 213
43 Cms\Classes\Controller->run() ~/modules/cms/classes/CmsController.php 50
42 Cms\Classes\CmsController->run()
41 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 256
40 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 164
39 Illuminate\Routing\ControllerDispatcher->call() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 112
38 Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}()
37 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139
36 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
35 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
34 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 114
33 Illuminate\Routing\ControllerDispatcher->callWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 68
32 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 203
31 Illuminate\Routing\Route->runWithCustomDispatcher() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 134
30 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 708
29 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
28 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139
27 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
26 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
25 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 710
24 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 674
23 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 635
22 Illuminate\Routing\Router->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 236
21 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
20 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139
19 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
18 Illuminate\View\Middleware\ShareErrorsFromSession->handle()
17 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
16 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 62
15 Illuminate\Session\Middleware\StartSession->handle()
14 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
13 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
12 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
11 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
10 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 59
9 Illuminate\Cookie\Middleware\EncryptCookies->handle()
8 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
7 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 44
6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
5 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
3 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
2 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 122
1 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 87
0 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 43