[2026-05-30 09:12:45] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:12:48] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:12:49] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:15:32] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:15:38] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:15:38] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:16:47] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:16:50] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:16:51] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:17:40] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 09:17:40] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 09:17:43] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:21:30] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 09:21:30] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 09:21:31] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:23] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:26] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:26] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:39] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:44] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:32:44] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:33:49] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:34:50] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:34:54] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:34:54] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 09:36:04] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 09:36:04] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 09:36:04] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:17:14] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:20:02] production.WARNING: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/UploadController2024.php on line 1976  
[2026-05-30 10:24:24] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:24:27] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:24:27] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:31:20] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:31:23] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:31:23] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:32:09] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:32:10] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:32:10] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:52:45] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:52:55] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:54:18] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:57:45] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:58:39] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:58:43] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:58:43] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 10:58:55] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 10:58:55] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 10:58:57] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:02:48] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:02:50] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:02:51] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:11:06] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 11:11:06] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 11:11:06] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:33:34] production.WARNING: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/UploadController2024.php on line 1976  
[2026-05-30 11:39:51] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 11:39:51] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 11:39:52] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 11:41:52] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 11:41:52] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 11:41:53] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 12:04:49] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 12:05:22] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 12:24:12] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:12] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:12] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 3 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:12] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:12] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:13] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:24:13] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: final, Host: 177.234.149.186, Port: 3306, Database: sobreloj_adistro, SQL: select * from `lojas_distribuidas` where `dist_id` = 5 limit 1) at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#5 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#11 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#22 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#26 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#27 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67)
[stacktrace]
#0 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): PDO::connect('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#1 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(85): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#2 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=177....', 'sobreloj_wpuser', Object(SensitiveParameterValue), Array)
#3 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=177....', Array, Array)
#4 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(186): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithHosts():181}()
#6 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1257): call_user_func(Object(Closure))
#7 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1295): Illuminate\\Database\\Connection->getPdo()
#8 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(525): Illuminate\\Database\\Connection->getReadPdo()
#9 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(420): Illuminate\\Database\\Connection->getPdoForSelect(true)
#10 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(827): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():411}('select * from `...', Array)
#11 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(999): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#12 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(978): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#13 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(796): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure))
#14 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Connection.php(411): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure))
#15 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3505): Illuminate\\Database\\Connection->select('select * from `...', Array, true)
#16 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3490): Illuminate\\Database\\Query\\Builder->runSelect()
#17 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(4080): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3489}()
#18 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3489): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure))
#19 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array)
#20 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(884): Illuminate\\Database\\Eloquent\\Builder->getModels(Array)
#21 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(366): Illuminate\\Database\\Eloquent\\Builder->get(Array)
#22 /home/sobrelojacom/api2/app/Http/Middleware/SetConnection.php(51): Illuminate\\Database\\Eloquent\\Builder->first()
#23 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\SetConnection->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#25 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#28 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#31 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#33 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():194}:195}(Object(Illuminate\\Http\\Request))
#35 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#36 /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#37 /home/sobrelojacom/api2/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#38 {main}
"} 
[2026-05-30 12:37:11] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 12:37:11] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 12:37:12] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 13:08:27] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 13:08:27] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 13:08:28] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 17:12:10] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 17:12:10] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 17:12:11] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:06:24] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 21:06:24] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 21:06:26] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:12:02] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 21:12:02] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 21:12:02] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:26:29] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 21:26:29] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 21:26:29] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:34:44] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 21:34:44] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 21:34:46] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:52:01] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:52:04] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:52:04] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:53:20] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 261  
[2026-05-30 21:53:20] production.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/sobrelojacom/api2/app/Http/Controllers/PDVController.php on line 262  
[2026-05-30 21:53:23] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:57:13] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:57:21] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:57:21] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:57:24] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:57:24] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
[2026-05-30 21:59:29] production.WARNING: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sobrelojacom/api2/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php on line 372  
