Error 500 Internal Server Error

GET http://www.la-pmn.mon-lms.com/category?search=Culture%20g%C3%A9n%C3%A9rale

Exceptions

unlink(): Argument #1 ($filename) must not contain any null bytes

ValueError

  1. if ($csvTime >= $minimalProfileTimestamp) {
  2. break;
  3. }
  4. @unlink($this->getFilename($csvToken));
  5. $offset += \strlen($line);
  6. }
  7. fclose($handle);
  8. file_put_contents($file.'.offset', $offset);
  1. if ($csvTime >= $minimalProfileTimestamp) {
  2. break;
  3. }
  4. @unlink($this->getFilename($csvToken));
  5. $offset += \strlen($line);
  6. }
  7. fclose($handle);
  8. file_put_contents($file.'.offset', $offset);
  1. $profile->getVirtualType() ?? 'request',
  2. ], ',', '"', '\\');
  3. fclose($file);
  4. if (1 === mt_rand(1, 10)) {
  5. $this->removeExpiredProfiles();
  6. }
  7. }
  8. return true;
  9. }
  1. if ($collector instanceof LateDataCollectorInterface) {
  2. $collector->lateCollect();
  3. }
  4. }
  5. if (!($ret = $this->storage->write($profile)) && null !== $this->logger) {
  6. $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]);
  7. }
  8. return $ret;
  9. }
  1. }
  2. }
  3. // save profiles
  4. foreach ($this->profiles as $request) {
  5. $this->profiler->saveProfile($this->profiles[$request]);
  6. }
  7. $this->profiles = new \SplObjectStorage();
  8. $this->parents = new \SplObjectStorage();
  9. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  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. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. /**
  2. * @return void
  3. */
  4. public function terminate(Request $request, Response $response)
  5. {
  6. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  7. }
  8. /**
  9. * @internal
  10. */
in vendor/symfony/http-kernel/Kernel.php -> terminate (line 157)
  1. if (false === $this->booted) {
  2. return;
  3. }
  4. if ($this->getHttpKernel() instanceof TerminableInterface) {
  5. $this->getHttpKernel()->terminate($request, $response);
  6. }
  7. }
  8. /**
  9. * @return void
  1. } else {
  2. $response->send();
  3. }
  4. if ($this->kernel instanceof TerminableInterface) {
  5. $this->kernel->terminate($this->request, $response);
  6. }
  7. return 0;
  8. }
  9. }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/okbqknl/lms/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\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. };