Résultats de recherche pour : la rubrique : Wilayas

Les wilayas en Algérie : structures administratives clés du développement territorial

Les wilayas constituent le principal échelon de l’organisation administrative en Algérie, jouant un rôle central dans la gouvernance locale et la mise en œuvre des politiques publiques. Le pays est divisé en 58 wilayas, chacune dirigée par un wali, représentant de l’État et chargé de coordonner les actions des différents services déconcentrés. Les wilayas assurent la gestion des affaires locales, le suivi des projets de développement, la planification urbaine, ainsi que la gestion des budgets et des infrastructures publiques. Elles sont également au cœur de la coordination entre l’administration centrale et les communes. En tant que moteur du développement territorial, les wilayas participent activement à la promotion de l’investissement local, à l'amélioration des services publics de proximité et à la réduction des disparités régionales.

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

Symfony Exception

ValueError

HTTP 500 Internal Server Error

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

Exception

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->reset();
  8. }
  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. 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 (!$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. {
  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/annuairepn/www/aea/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
CRITICAL 21:23:00 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/annuairepn/www/aea/vendor/autoload_runtime.php')
     (public/index.php:5)                
Loading…
Loading the web debug toolbar…
Attempt #
unlink(): Argument #1 ($filename) must not contain any null bytes (500 Internal Server Error)

Symfony Exception

ValueError

HTTP 500 Internal Server Error

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

Exception

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->reset();
  8. }
  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. 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. }
  1. }
  2. $response->sendHeaders();
  3. $response->sendContent();
  4. $this->terminate($request, $response);
  5. }
  6. /**
  7. * Handles a request to convert it to a response.
  8. *
  1. if ($hasRun) {
  2. throw $e;
  3. }
  4. $hasRun = true;
  5. $kernel->terminateWithException($e, $request);
  6. };
  7. }
  8. } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
  9. $output = $event->getOutput();
  10. if ($output instanceof ConsoleOutputInterface) {
in /home/annuairepn/www/aea/vendor/symfony/error-handler/ErrorHandler.php :: {closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():71} (line 538)
  1. $this->exceptionHandler = null;
  2. }
  3. try {
  4. if (null !== $exceptionHandler) {
  5. $exceptionHandler($exception);
  6. return;
  7. }
  8. $handlerException ??= $exception;
  9. } catch (\Throwable $handlerException) {
ErrorHandler->handleException(object(ValueError))

Stack Trace

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

  at /home/annuairepn/www/aea/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:341
  at unlink(binary string)
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:341)
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->removeExpiredProfiles()
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:193)
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write(object(Profile))
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/Profiler/Profiler.php:97)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/home/annuairepn/www/aea/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/home/annuairepn/www/aea/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
     (/home/annuairepn/www/aea/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/annuairepn/www/aea/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/HttpKernel.php:144)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ValueError), object(Request))
     (/home/annuairepn/www/aea/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:77)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::{closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():71}(object(ValueError))
     (/home/annuairepn/www/aea/vendor/symfony/error-handler/ErrorHandler.php:538)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ValueError))