Exceptions
Exception
TypeError
in
src/Controller/SeccionPublicaController.php
(line 823)
'sitemap' => ['priority' => 0.85,'changefreq' => UrlConcrete::CHANGEFREQ_WEEKLY]])]public function pag_noticiasdetalle(int $idNoticia, NoticiasRepository $noticiasRepository, TraduccionesNoticiasRepository $tradNoticiasRepository): Response {if($this->idioma == 'es') {$noticia = $noticiasRepository->findNoticia($idNoticia);} else {$noticia = $tradNoticiasRepository->findNoticia($this->idioma, $idNoticia);
in
vendor/symfony/http-kernel/HttpKernel.php
->
pag_noticiasdetalle
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/pruebas.penalara.com/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 14:40:22 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "latest"
},
"request_uri": "https://pruebas.penalara.com/_profiler/latest?ip=98.82.40.168&type=request",
"method": "GET"
}
|
| INFO 14:40:22 | deprecation |
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated {
"exception": {}
}
|
| INFO 14:40:22 | doctrine |
Connecting with parameters {params} {
"params": {
"use_savepoints": true,
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3306,
"user": "pruebalara",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": {
"collation": "utf8mb4_unicode_ci"
},
"dbname": "pruebasGHC",
"serverVersion": "8.0.29",
"charset": "utf8mb4"
}
}
|
Stack Trace
|
TypeError
|
|---|
TypeError:
App\Controller\SeccionPublicaController::pag_noticiasdetalle(): Argument #1 ($idNoticia) must be of type int, string given, called in /var/www/pruebas.penalara.com/vendor/symfony/http-kernel/HttpKernel.php on line 183
at src/Controller/SeccionPublicaController.php:823
at App\Controller\SeccionPublicaController->pag_noticiasdetalle()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/pruebas.penalara.com/vendor/autoload_runtime.php')
(public/index.php:5)
|