https://brulacoach8-api.dev.wcc-bg.com/_profiler/1423b5?group=1&panel=db

Exceptions

Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)

Exception

ErrorException

  1.         return $this->handler->close();
  2.     }
  3.     public function gc(int $maxlifetime): int|false
  4.     {
  5.         return $this->handler->gc($maxlifetime);
  6.     }
  7. }
  1.         return $this->handler->destroy($sessionId);
  2.     }
  3.     public function gc(int $maxlifetime): int|false
  4.     {
  5.         return $this->handler->gc($maxlifetime);
  6.     }
  7.     public function validateId(string $sessionId): bool
  8.     {
  9.         return !$this->handler instanceof \SessionUpdateTimestampHandlerInterface || $this->handler->validateId($sessionId);
SessionHandlerProxy->gc()
  1.             // the session ID in the header is invalid, create a new one
  2.             session_id(session_create_id());
  3.         }
  4.         // ok to try and start the session
  5.         if (!session_start()) {
  6.             throw new \RuntimeException('Failed to start the session.');
  7.         }
  8.         $this->loadSession();
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.         $this->storage->registerBag(new SessionBagProxy($bag$this->data$this->usageIndex$this->usageReporter));
  2.     }
  3.     public function getBag(string $name): SessionBagInterface
  4.     {
  5.         $bag $this->storage->getBag($name);
  6.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  7.     }
  8.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.         return $this->getAttributeBag()->get($name$default);
  2.     }
  3.     public function set(string $namemixed $value)
  4.     {
  5.         $this->getAttributeBag()->set($name$value);
  6.     }
  7.     public function all(): array
  8.     {
  9.         return $this->getAttributeBag()->all();
Session->set() in src/EventListener/Main/DebugListener.php (line 44)
  1.         $currentIp $event->getRequest()->getClientIp();
  2.         // Check if this IP is in the debug IP list
  3.         if (in_array($currentIp$this->debugIpList) or in_array($this->environment, ['dev''test'])) {
  4.             $event->getRequest()->getSession()->set(self::DEBUG_ALLOWED_SESSIONtrue);
  5.             $this->gatherDebugData($event->getRequest());
  6.         } else {
  7.             $event->getRequest()->getSession()->set(self::DEBUG_ALLOWED_SESSIONfalse);
  8.         }
  9.     }
  1.         $this->called true;
  2.         $this->priority ??= $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  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.     private function handleRaw(Request $requestint $type self::MAIN_REQUEST): Response
  3.     {
  4.         // request
  5.         $event = new RequestEvent($this$request$type);
  6.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  7.         if ($event->hasResponse()) {
  8.             return $this->filterResponse($event->getResponse(), $request$type);
  9.         }
  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 (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  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 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/mnt/data/www/projects/api.brulacoach.com/current/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

Level Channel Message
INFO 02:50:26 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "a8b2bf"
    },
    "request_uri": "https://brulacoach8-api.dev.wcc-bg.com/_profiler/a8b2bf?panel=exception",
    "method": "GET"
}
INFO 02:50:27 doctrine Connecting with parameters {params}
{
    "params": {
        "url": "<redacted>",
        "driver": "pdo_mysql",
        "charset": "utf8mb4",
        "host": "127.0.0.1",
        "port": 3306,
        "user": "brulafine",
        "password": "<redacted>",
        "driverOptions": [],
        "serverVersion": "8",
        "defaultTableOptions": [],
        "dbname": "brulafine"
    }
}
DEBUG 02:50:27 doctrine Executing query: SELECT c0_.site_id AS site_id_0, c0_.site_name AS site_name_1, c0_.site_display_name AS site_display_name_2, c0_.site_cookie_exp AS site_cookie_exp_3, c0_.site_default_currency AS site_default_currency_4, c0_.site_default_support_email AS site_default_support_email_5, c0_.site_default_coaching_support_email AS site_default_coaching_support_email_6, c0_.site_default_billing_apikey AS site_default_billing_apikey_7, c0_.site_default_billing_apihost AS site_default_billing_apihost_8, c0_.site_default_billing_callback AS site_default_billing_callback_9, c0_.is_default AS is_default_10, c0_.aliases AS aliases_11, c0_.coaching_site AS coaching_site_12, c0_.has_upsells AS has_upsells_13, c0_.has_pre_upsells AS has_pre_upsells_14, c0_.properties AS properties_15, c1_.id AS id_16, c1_.name AS name_17, c1_.value AS value_18, c1_.field_type AS field_type_19, c0_.site_default_affiliate_id AS site_default_affiliate_id_20, c0_.coaching_site_id AS coaching_site_id_21, c0_.linked_main_website_id AS linked_main_website_id_22, c1_.site_id AS site_id_23 FROM castalis_pls_brulafine_sites c0_ LEFT JOIN castalis_pls_brulafine_sites_config c1_ ON c0_.site_id = c1_.site_id
{
    "sql": "SELECT c0_.site_id AS site_id_0, c0_.site_name AS site_name_1, c0_.site_display_name AS site_display_name_2, c0_.site_cookie_exp AS site_cookie_exp_3, c0_.site_default_currency AS site_default_currency_4, c0_.site_default_support_email AS site_default_support_email_5, c0_.site_default_coaching_support_email AS site_default_coaching_support_email_6, c0_.site_default_billing_apikey AS site_default_billing_apikey_7, c0_.site_default_billing_apihost AS site_default_billing_apihost_8, c0_.site_default_billing_callback AS site_default_billing_callback_9, c0_.is_default AS is_default_10, c0_.aliases AS aliases_11, c0_.coaching_site AS coaching_site_12, c0_.has_upsells AS has_upsells_13, c0_.has_pre_upsells AS has_pre_upsells_14, c0_.properties AS properties_15, c1_.id AS id_16, c1_.name AS name_17, c1_.value AS value_18, c1_.field_type AS field_type_19, c0_.site_default_affiliate_id AS site_default_affiliate_id_20, c0_.coaching_site_id AS coaching_site_id_21, c0_.linked_main_website_id AS linked_main_website_id_22, c1_.site_id AS site_id_23 FROM castalis_pls_brulafine_sites c0_ LEFT JOIN castalis_pls_brulafine_sites_config c1_ ON c0_.site_id = c1_.site_id"
}
DEBUG 02:50:27 doctrine Executing query: SELECT c0_.site_id AS site_id_0, c0_.site_name AS site_name_1, c0_.site_display_name AS site_display_name_2, c0_.site_cookie_exp AS site_cookie_exp_3, c0_.site_default_currency AS site_default_currency_4, c0_.site_default_support_email AS site_default_support_email_5, c0_.site_default_coaching_support_email AS site_default_coaching_support_email_6, c0_.site_default_billing_apikey AS site_default_billing_apikey_7, c0_.site_default_billing_apihost AS site_default_billing_apihost_8, c0_.site_default_billing_callback AS site_default_billing_callback_9, c0_.is_default AS is_default_10, c0_.aliases AS aliases_11, c0_.coaching_site AS coaching_site_12, c0_.has_upsells AS has_upsells_13, c0_.has_pre_upsells AS has_pre_upsells_14, c0_.properties AS properties_15, c1_.id AS id_16, c1_.name AS name_17, c1_.value AS value_18, c1_.field_type AS field_type_19, c0_.site_default_affiliate_id AS site_default_affiliate_id_20, c0_.coaching_site_id AS coaching_site_id_21, c0_.linked_main_website_id AS linked_main_website_id_22, c1_.site_id AS site_id_23 FROM castalis_pls_brulafine_sites c0_ LEFT JOIN castalis_pls_brulafine_sites_config c1_ ON c0_.site_id = c1_.site_id
{
    "sql": "SELECT c0_.site_id AS site_id_0, c0_.site_name AS site_name_1, c0_.site_display_name AS site_display_name_2, c0_.site_cookie_exp AS site_cookie_exp_3, c0_.site_default_currency AS site_default_currency_4, c0_.site_default_support_email AS site_default_support_email_5, c0_.site_default_coaching_support_email AS site_default_coaching_support_email_6, c0_.site_default_billing_apikey AS site_default_billing_apikey_7, c0_.site_default_billing_apihost AS site_default_billing_apihost_8, c0_.site_default_billing_callback AS site_default_billing_callback_9, c0_.is_default AS is_default_10, c0_.aliases AS aliases_11, c0_.coaching_site AS coaching_site_12, c0_.has_upsells AS has_upsells_13, c0_.has_pre_upsells AS has_pre_upsells_14, c0_.properties AS properties_15, c1_.id AS id_16, c1_.name AS name_17, c1_.value AS value_18, c1_.field_type AS field_type_19, c0_.site_default_affiliate_id AS site_default_affiliate_id_20, c0_.coaching_site_id AS coaching_site_id_21, c0_.linked_main_website_id AS linked_main_website_id_22, c1_.site_id AS site_id_23 FROM castalis_pls_brulafine_sites c0_ LEFT JOIN castalis_pls_brulafine_sites_config c1_ ON c0_.site_id = c1_.site_id"
}
DEBUG 02:50:27 doctrine Executing statement: SELECT c0_.affiliate_id AS affiliate_id_0, c0_.affiliate_name AS affiliate_name_1, c0_.affiliate_type AS affiliate_type_2, c0_.affiliate_rmkg AS affiliate_rmkg_3 FROM castalis_pls_brulafine_affiliates c0_ WHERE c0_.affiliate_id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT c0_.affiliate_id AS affiliate_id_0, c0_.affiliate_name AS affiliate_name_1, c0_.affiliate_type AS affiliate_type_2, c0_.affiliate_rmkg AS affiliate_rmkg_3 FROM castalis_pls_brulafine_affiliates c0_ WHERE c0_.affiliate_id = ?",
    "params": {
        "1": ""
    },
    "types": {
        "1": 2
    }
}
DEBUG 02:50:27 doctrine Executing statement: SELECT t0.affiliate_id AS affiliate_id_1, t0.affiliate_name AS affiliate_name_2, t0.affiliate_type AS affiliate_type_3, t0.affiliate_rmkg AS affiliate_rmkg_4 FROM castalis_pls_brulafine_affiliates t0 WHERE t0.affiliate_id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.affiliate_id AS affiliate_id_1, t0.affiliate_name AS affiliate_name_2, t0.affiliate_type AS affiliate_type_3, t0.affiliate_rmkg AS affiliate_rmkg_4 FROM castalis_pls_brulafine_affiliates t0 WHERE t0.affiliate_id = ?",
    "params": {
        "1": 1
    },
    "types": {
        "1": 1
    }
}
DEBUG 02:50:27 doctrine Executing statement: SELECT t0.id AS id_1, t0.alias AS alias_2, t0.config AS config_3, t0.stats AS stats_4, t0.active AS active_5, t0.marked_for_deletion AS marked_for_deletion_6, t0.date_started AS date_started_7, t0.date_ended AS date_ended_8, t0.site_id AS site_id_9 FROM castalis_pls_brulafine_sites_ab_test t0 WHERE t0.site_id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.id AS id_1, t0.alias AS alias_2, t0.config AS config_3, t0.stats AS stats_4, t0.active AS active_5, t0.marked_for_deletion AS marked_for_deletion_6, t0.date_started AS date_started_7, t0.date_ended AS date_ended_8, t0.site_id AS site_id_9 FROM castalis_pls_brulafine_sites_ab_test t0 WHERE t0.site_id = ?",
    "params": {
        "1": 1
    },
    "types": {
        "1": 1
    }
}
DEBUG 02:50:27 snc_redis Executing command "GET 'dev_bru_1_80__ab'"
DEBUG 02:50:27 snc_redis Executing command "GET 'dev_bru_1_80__ab'"
DEBUG 02:50:27 snc_redis Executing command "SETEX 'dev_bru_1_80__ab' 604800 '{"options":{"test_1":{"count":157240,"percent":25,"target":25},"test_2":{"count":157541,"percent":25,"target":25},"cv_1":{"count":157544,"percent":25,"target":25},"cv_2":{"count":157107,"percent":25,"target":25}},"total":629432}'"
DEBUG 02:50:27 doctrine Beginning transaction
DEBUG 02:50:27 doctrine Executing statement: INSERT INTO castalis_pls_brulafine_core_tracking (o1, o2, o3, o4, o5, t, rmkg, device, create_at, user_agent, aff, parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (parameters: {params}, types: {types})
{
    "sql": "INSERT INTO castalis_pls_brulafine_core_tracking (o1, o2, o3, o4, o5, t, rmkg, device, create_at, user_agent, aff, parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    "params": {
        "1": "deftrack",
        "2": "",
        "3": "",
        "4": "",
        "5": "",
        "6": "",
        "7": 0,
        "8": "N/A",
        "9": "2026-02-28 02:50:27",
        "10": "N/A",
        "11": 1,
        "12": null
    },
    "types": {
        "1": 2,
        "2": 2,
        "3": 2,
        "4": 2,
        "5": 2,
        "6": 2,
        "7": 1,
        "8": 2,
        "9": 2,
        "10": 2,
        "11": 1,
        "12": 1
    }
}
DEBUG 02:50:27 doctrine Executing statement: INSERT INTO castalis_pls_brulafine_core_tracking_has_ab_test (version, tracking_id, ab_test_id) VALUES (?, ?, ?) (parameters: {params}, types: {types})
{
    "sql": "INSERT INTO castalis_pls_brulafine_core_tracking_has_ab_test (version, tracking_id, ab_test_id) VALUES (?, ?, ?)",
    "params": {
        "1": "b_ship_page_cv_1",
        "2": 637889,
        "3": 80
    },
    "types": {
        "1": 2,
        "2": 1,
        "3": 1
    }
}
DEBUG 02:50:27 doctrine Committing transaction
DEBUG 02:50:27 doctrine Beginning transaction
DEBUG 02:50:27 doctrine Executing statement: UPDATE castalis_pls_brulafine_core_tracking SET user_agent = ? WHERE tracking_id = ? (parameters: {params}, types: {types})
{
    "sql": "UPDATE castalis_pls_brulafine_core_tracking SET user_agent = ? WHERE tracking_id = ?",
    "params": {
        "1": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
        "2": 637889
    },
    "types": {
        "1": 2,
        "2": 1
    }
}
DEBUG 02:50:27 doctrine Committing transaction

Stack Trace

ErrorException
ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)

  at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:87
  at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc()
     (vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64)
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc()
  at session_start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:296)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:201)
  at Symfony\Component\HttpFoundation\Session\Session->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:221)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (vendor/symfony/http-foundation/Session/Session.php:74)
  at Symfony\Component\HttpFoundation\Session\Session->set()
     (src/EventListener/Main/DebugListener.php:44)
  at App\EventListener\Main\DebugListener->onKernelRequest()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:139)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  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:29)
  at require_once('/mnt/data/www/projects/api.brulacoach.com/current/vendor/autoload_runtime.php')
     (public/index.php:5)