Suntravels
  • Logged in as Anonymous User
  • Appearance
  • Light
  • Dark
  • Auto
Suntravels
  • Dashboard
  • Services
    • Services
    • Catégories de Services
  • Blog
    • Catégorie
    • Articles
  • Partenaires
  • Galerie
  • Slides
  • Equipe
  • Configurations
    • Pays
  • Logged in as Anonymous User
  • Appearance
  • Light
  • Dark
  • Auto

Equipe

Add Equipe
Delete
Nom Role Photo Actions
Koné Angel Assistante
  • Edit
  • Delete
Kouassi Johanne Manager
  • Edit
  • Delete
2 results

Do you really want to delete this item?

There is no undo for this operation.

You are going to apply the "%action_name%" action to %num_items% item(s).

There is no undo for this operation.

Loading…
Loading the web debug toolbar…
Attempt #
unlink(): Argument #1 ($filename) must not contain any null bytes (500 Internal Server Error)

Symfony Exception

Symfony Docs

ValueError

HTTP 500 Internal Server Error

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

Exception

ValueError

in vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php (line 341)
  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);
in vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php unlink (line 341)
  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);
in vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php -> removeExpiredProfiles (line 193)
  1.                 $profile->getVirtualType() ?? 'request',
  2.             ], ',', '"', '\\');
  3.             fclose($file);
  4.             if (1 === mt_rand(1, 10)) {
  5.                 $this->removeExpiredProfiles();
  6.             }
  7.         }
  8.         return true;
  9.     }
in vendor/symfony/http-kernel/Profiler/Profiler.php -> write (line 97)
  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.     }
in vendor/symfony/http-kernel/EventListener/ProfilerListener.php -> saveProfile (line 129)
  1.             }
  2.         }
  3.         // save profiles
  4.         foreach ($this->profiles as $request) {
  5.             $this->profiler->saveProfile($this->profiles[$request]);
  6.         }
  7.         $this->reset();
  8.     }
in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelTerminate (line 115)
  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.         }
in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 206)
  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.
in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56)
  1.         } else {
  2.             $listeners = $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners, $eventName, $event);
  6.         }
  7.         return $event;
  8.     }
in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 126)
  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.                 }
in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 114)
  1.     public function terminate(Request $request, Response $response): void
  2.     {
  3.         try {
  4.             $this->terminating = true;
  5.             $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6.         } finally {
  7.             $this->terminating = false;
  8.         }
  9.     }
in vendor/symfony/http-kernel/Kernel.php -> terminate (line 147)
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request, $response);
  6.         }
  7.     }
  8.     public function shutdown(): void
  9.     {
in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php -> terminate (line 53)
  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 32)
  1. $app = $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/suntrat/www/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. };

Logs 1

Level Channel Message
DEBUG 19:44:38 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/suntrat/www/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 303,
        "trace": [
            {
                "file": "/home/suntrat/www/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
                "line": 136,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 45
    }
}
INFO 19:44:38 request Matched route "admin_equipe_index".
{
    "route": "admin_equipe_index",
    "route_parameters": {
        "_route": "admin_equipe_index",
        "_locale": "en",
        "_controller": "App\\Controller\\Admin\\EquipeCrudController::index",
        "routeCreatedByEasyAdmin": true,
        "dashboardControllerFqcn": "App\\Controller\\Admin\\DashboardController",
        "crudControllerFqcn": "App\\Controller\\Admin\\EquipeCrudController",
        "crudAction": "index"
    },
    "request_uri": "https://suntravelsetservices.net/public/admin/equipe?page=1&sort%5Brole%5D=ASC",
    "method": "GET"
}
DEBUG 19:44:38 security Checking for authenticator support.
{
    "firewall_name": "main",
    "authenticators": 1
}
DEBUG 19:44:38 security Checking support on authenticator.
{
    "firewall_name": "main",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 19:44:38 security Authenticator does not support the request.
{
    "firewall_name": "main",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
INFO 19:44:38 doctrine Connecting with parameters {params}
{
    "params": {
        "use_savepoints": true,
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "suntratadmin.mysql.db",
        "port": 3306,
        "user": "suntratadmin",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "suntratadmin",
        "serverVersion": "8.0.32",
        "charset": "utf8mb4"
    }
}
DEBUG 19:44:38 doctrine Executing query: SELECT DISTINCT e0_.id AS id_0, e0_.role AS role_1 FROM equipe e0_ ORDER BY e0_.role ASC LIMIT 20
{
    "sql": "SELECT DISTINCT e0_.id AS id_0, e0_.role AS role_1 FROM equipe e0_ ORDER BY e0_.role ASC LIMIT 20"
}
DEBUG 19:44:38 doctrine Executing statement: SELECT e0_.id AS id_0, e0_.nom AS nom_1, e0_.role AS role_2, e0_.photo AS photo_3, e0_.facebook AS facebook_4, e0_.twiter AS twiter_5, e0_.linkedin AS linkedin_6 FROM equipe e0_ WHERE e0_.id IN (?, ?) ORDER BY e0_.role ASC (parameters: {params}, types: {types})

                            
DEBUG 19:44:38 doctrine Executing query: SELECT count(*) AS sclr_0 FROM equipe e0_
{
    "sql": "SELECT count(*) AS sclr_0 FROM equipe e0_"
}
CRITICAL 19:44:38 request Uncaught PHP Exception ValueError: "unlink(): Argument #1 ($filename) must not contain any null bytes" at FileProfilerStorage.php line 341
{
    "exception": {}
}

Stack Trace

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

  at vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:341
  at unlink(binary string)
     (vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:341)
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->removeExpiredProfiles()
     (vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:193)
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write(object(Profile))
     (vendor/symfony/http-kernel/Profiler/Profiler.php:97)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (vendor/symfony/http-kernel/Kernel.php:147)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/suntrat/www/vendor/autoload_runtime.php')
     (public/index.php:5)                
Loading…
Loading the web debug toolbar…
Attempt #