https://jj1.se.klaravik.dev/auktion/produkt/2268654-balk-b20/

Exceptions

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given

Exception

ErrorException

  1. $url "";
  2. $siteConfigQuery  "SELECT * FROM siteconfig WHERE language=" $language;
  3. $siteConfigResult mysqli_query($db$siteConfigQuery);
  4. $shortTitle       "";
  5. if (mysqli_num_rows($siteConfigResult) > 0) {
  6.     $siteConfig  mysqli_fetch_object($siteConfigResult);
  7.     $title       $siteConfig->title;
  8.     $shortTitle  $siteConfig->title;
  9.     $keywords    $siteConfig->metakeywords;
  10.     $description $siteConfig->metadescription;
require('/local/jjacobsen/jj1/public/index-app.php') in src/Controller/LegacyController.php (line 66)
  1.                     $_SESSION['legacyRemoteUser'] = $user->getUserIdentifier();
  2.                 }
  3.                 chdir(dirname($legacyScript));
  4.                 require $legacyScript;
  5.             }
  6.         );
  7.     }
  8.     public static function getSubscribedServices(): array
in vendor/symfony/http-foundation/StreamedResponse.php -> Klaravik\Controller\{closure} (line 109)
  1.         if (null === $this->callback) {
  2.             throw new \LogicException('The Response callback must not be null.');
  3.         }
  4.         ($this->callback)();
  5.         return $this;
  6.     }
  7.     /**
  1.      * @return $this
  2.      */
  3.     public function send()
  4.     {
  5.         $this->sendHeaders();
  6.         $this->sendContent();
  7.         if (\function_exists('fastcgi_finish_request')) {
  8.             fastcgi_finish_request();
  9.         } elseif (\function_exists('litespeed_finish_request')) {
  10.             litespeed_finish_request();
  1.         }
  2.         $response $event->getResponse();
  3.         if ($response instanceof StreamedResponse) {
  4.             $response->send();
  5.         }
  6.     }
  7.     public static function getSubscribedEvents(): array
  8.     {
  1.                     $closure = static function (...$args) use (&$listener, &$closure) {
  2.                         if ($listener[0] instanceof \Closure) {
  3.                             $listener[0] = $listener[0]();
  4.                             $listener[1] = $listener[1] ?? '__invoke';
  5.                         }
  6.                         ($closure = \Closure::fromCallable($listener))(...$args);
  7.                     };
  8.                 } else {
  9.                     $closure $listener instanceof \Closure || $listener instanceof WrappedListener $listener : \Closure::fromCallable($listener);
  10.                 }
  11.             }
in vendor/symfony/event-dispatcher/EventDispatcher.php :: Symfony\Component\EventDispatcher\{closure} (line 230)
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.      */
  2.     private function filterResponse(Response $responseRequest $requestint $type): Response
  3.     {
  4.         $event = new ResponseEvent($this$request$type$response);
  5.         $this->dispatcher->dispatch($eventKernelEvents::RESPONSE);
  6.         $this->finishRequest($request$type);
  7.         return $event->getResponse();
  8.     }
in vendor/symfony/http-kernel/HttpKernel.php -> filterResponse (line 184)
  1.                 throw new ControllerDoesNotReturnResponseException($msg$controller__FILE____LINE__ 17);
  2.             }
  3.         }
  4.         return $this->filterResponse($response$request$type);
  5.     }
  6.     /**
  7.      * Filters a response object.
  8.      *
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/local/jjacobsen/jj1/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use Klaravik\Kernel;
  3. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.       return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 05:47:55 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://jj1.se.klaravik.dev/_profiler/latest?ip=3.143.218.231",
    "method": "GET"
}

Stack Trace

ErrorException
ErrorException:
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given

  at public/index-app.php:54
  at require('/local/jjacobsen/jj1/public/index-app.php')
     (src/Controller/LegacyController.php:66)
  at Klaravik\Controller\LegacyController->Klaravik\Controller\{closure}()
     (vendor/symfony/http-foundation/StreamedResponse.php:109)
  at Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
     (vendor/symfony/http-foundation/Response.php:394)
  at Symfony\Component\HttpFoundation\Response->send()
     (vendor/symfony/http-kernel/EventListener/StreamedResponseListener.php:41)
  at Symfony\Component\HttpKernel\EventListener\StreamedResponseListener->onKernelResponse(object(ResponseEvent), 'kernel.response', object(EventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:270)
  at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(object(ResponseEvent), 'kernel.response', object(EventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.response', object(ResponseEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ResponseEvent), 'kernel.response')
     (vendor/symfony/http-kernel/HttpKernel.php:196)
  at Symfony\Component\HttpKernel\HttpKernel->filterResponse(object(StreamedResponse), object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:184)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/local/jjacobsen/jj1/vendor/autoload_runtime.php')
     (public/index.php:5)