Internal Server Error
ErrorException
imagecreatefromjpeg(/imagenes/2025-03/WhatsApp Image 2025-03-13 at 11.20.23.jpeg): Failed to open stream: No such file or directory
C:\Server1\apps\PortalRto2024\app\Helpers\ImageThumbnailHelper.php :130
switch ($extension) {
case 'jpg':
case 'jpeg':
return imagecreatefromjpeg($filePath);
case 'png':
return imagecreatefrompng($filePath);
case 'gif':
return imagecreatefromgif($filePath);
default:
return false; // Tipo de archivo no soportado
}
}
private function correctImageOrientation($image, $filePath)
{
if (!function_exists('exif_read_data')) {
Request
GET /
Headers
host
www.rosarito.gob.mx
connection
keep-alive
pragma
no-cache
cache-control
no-cache
sec-ch-ua
"HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile
?0
sec-ch-ua-platform
"Windows"
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
sec-fetch-site
same-site
sec-fetch-mode
navigate
sec-fetch-dest
document
referer
https://rosarito.gob.mx/
accept-encoding
gzip, deflate, br, zstd
Body
{
    "Bienvenidos": null
}
Application
Routing
controller
App\Http\Controllers\BlogController@blogIndex
route name
blog.cambio
middleware
web
Database Queries
mysql
select * from `sessions` where `id` = 'nZhNhjyNRZttsBuRwpAC6Lm6SnsgsJzsd9iHJQlW' limit 1
mysql
select * from `menus` where `parent` = 1
mysql
select * from `menus` where `menus`.`parent` in (2, 3, 4, 11, 14, 15)
mysql
select * from `menus` where `id` = 29 limit 1
mysql
select * from `menus` where `menus`.`parent` in (29)
editorCom
select * from `posts` where `categorie_id` = 1 and `estado` = 5 order by `created_at` desc limit 3
editorCom
select count(*) as aggregate from `posts` where `id` not in (268, 267, 266) and `estado` = 5
editorCom
select * from `posts` where `id` not in (268, 267, 266) and `estado` = 5 order by `created_at` desc limit 12 offset 0
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 268 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 267 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 266 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 265 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 264 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 263 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 262 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 261 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 260 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 259 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 258 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 257 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 256 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 255 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 254 and `post_foto`.`is_principal` = '1' order by `is_principal` desc limit 1
mysql
select * from `cache` where `key` in ('config_site.name')
editorCom
select `fotos`.*, `post_foto`.`post_id` as `pivot_post_id`, `post_foto`.`foto_id` as `pivot_foto_id`, `post_foto`.`is_principal` as `pivot_is_principal`, `post_foto`.`created_at` as `pivot_created_at`, `post_foto`.`updated_at` as `pivot_updated_at` from `fotos` inner join `post_foto` on `fotos`.`id` = `post_foto`.`foto_id` where `post_foto`.`post_id` = 268 order by `is_principal` desc