21:34:24.000
deprecation
Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::getNamespace() " might add "string " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\SensioFrameworkExtraExtension " now to avoid errors or add an explicit @return annotation to suppress this message.
21:34:24.000
deprecation
Since symfony/framework-bundle 5.3: Not setting the "framework.session.storage_factory_id " configuration option is deprecated, it will default to "session.storage.factory.native " and will replace the "framework.session.storage_id " configuration option in version 6.0.
21:34:24.000
deprecation
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() " might add "array " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener " now to avoid errors or add an explicit @return annotation to suppress this message.
21:34:24.000
deprecation
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() " might add "array " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener " now to avoid errors or add an explicit @return annotation to suppress this message.
21:34:24.000
deprecation
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() " might add "array " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener " now to avoid errors or add an explicit @return annotation to suppress this message.
21:34:24.000
deprecation
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() " might add "array " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener " now to avoid errors or add an explicit @return annotation to suppress this message.
21:34:24.000
deprecation
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() " might add "array " as a native return type declaration in the future. Do the same in implementation "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener " now to avoid errors or add an explicit @return annotation to suppress this message.
09:15:30.286
deprecation
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native " service is deprecated, use "session.storage.factory.native " instead.
09:15:30.288
deprecation
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag " service is deprecated, create your own "session.storage.factory " instead.
09:15:30.292
Matched route "sitemap_xml " .
09:15:30.308
Lock acquired, now computing item "sitemap_xml "
09:15:30.315
deprecation
User Deprecated: Since symfony/framework-bundle 5.1: Using type "Symfony\Component\Routing\RouteCollectionBuilder " for argument 1 of method "App\Kernel:configureRoutes() " is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator " instead.
php
Show context
Show trace
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:214 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
› if ($configuratorClass && !is_a(RoutingConfigurator::class, $configuratorClass, true)) {
› trigger_deprecation('symfony/framework-bundle', '5.1', 'Using type "%s" for argument 1 of method "%s:configureRoutes()" is deprecated, use "%s" instead.', RouteCollectionBuilder::class, self::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
[
"exception " => ErrorException {#257
#message : "User Deprecated: Since symfony/framework-bundle 5.1: Using type "Symfony\Component\Routing\RouteCollectionBuilder" for argument 1 of method "App\Kernel:configureRoutes()" is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator" instead. "
#code : 0
#file : "/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php "
#line : 214
#severity : E_USER_DEPRECATED
trace : {
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:214 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
› if ($configuratorClass && !is_a(RoutingConfigurator::class, $configuratorClass, true)) {
› trigger_deprecation('symfony/framework-bundle', '5.1', 'Using type "%s" for argument 1 of method "%s:configureRoutes()" is deprecated, use "%s" instead.', RouteCollectionBuilder::class, self::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
}
]
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:214 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
› if ($configuratorClass && !is_a(RoutingConfigurator::class, $configuratorClass, true)) {
› trigger_deprecation('symfony/framework-bundle', '5.1', 'Using type "%s" for argument 1 of method "%s:configureRoutes()" is deprecated, use "%s" instead.', RouteCollectionBuilder::class, self::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
09:15:30.316
deprecation
User Deprecated: Since symfony/routing 5.1: The "Symfony\Component\Routing\RouteCollectionBuilder " class is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator " instead.
php
Show context
Show trace
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ RouteCollectionBuilder.php:19 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
›
› trigger_deprecation('symfony/routing', '5.1', 'The "%s" class is deprecated, use "%s" instead.', RouteCollectionBuilder::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
[
"exception " => ErrorException {#246
#message : "User Deprecated: Since symfony/routing 5.1: The "Symfony\Component\Routing\RouteCollectionBuilder" class is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator" instead. "
#code : 0
#file : "/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ RouteCollectionBuilder.php "
#line : 19
#severity : E_USER_DEPRECATED
trace : {
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ RouteCollectionBuilder.php:19 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
›
› trigger_deprecation('symfony/routing', '5.1', 'The "%s" class is deprecated, use "%s" instead.', RouteCollectionBuilder::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
}
]
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ RouteCollectionBuilder.php:19 {
App \ Kernel->loadRoutes(LoaderInterface $loader): RouteCollection …
›
› trigger_deprecation('symfony/routing', '5.1', 'The "%s" class is deprecated, use "%s" instead.', RouteCollectionBuilder::class, RoutingConfigurator::class);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this, $this->env);
›
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:70 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null): RouteCollection …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:913 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add the static routes
› foreach ($router->getRouteCollection()->all() as $route) {
› if (!$route->getOption('in_sitemap')) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
09:15:30.341
Request: "GET https://api.hubapi.com/cms/v3/blogs/posts?hapikey=41d1972b-a2ce-454d-9e57-cd6355e00240 "
http_client
09:15:30.607
Response: "401 https://api.hubapi.com/cms/v3/blogs/posts?hapikey=41d1972b-a2ce-454d-9e57-cd6355e00240 "
http_client
09:15:30.608
error
Could not load blog posts from HubSpot
app
Show context
Show trace
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
[
"exception " => Symfony\Component\HttpClient\Exception \ ClientException {#438
#message : "HTTP/2 401 returned for "https://api.hubapi.com/cms/v3/blogs/posts?hapikey=41d1972b-a2ce-454d-9e57-cd6355e00240". "
#code : 401
#file : "/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php "
#line : 212
-response : Symfony\Component\HttpClient\Response \ TraceableResponse {#331 …}
trace : {
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
}
]
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
09:15:30.614
critical
Uncaught PHP Exception Symfony\Component\HttpClient\Exception\ClientException: "HTTP/2 401 returned for "https://api.hubapi.com/cms/v3/blogs/posts?hapikey=41d1972b-a2ce-454d-9e57-cd6355e00240". " at /var/www/invoiced/data/www/invoiced.project-release.info/vendor/symfony/http-client/Response/TraceableResponse.php line 212
request
Show context
Show trace
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
[
"exception " => Symfony\Component\HttpClient\Exception \ ClientException {#438
#message : "HTTP/2 401 returned for "https://api.hubapi.com/cms/v3/blogs/posts?hapikey=41d1972b-a2ce-454d-9e57-cd6355e00240". "
#code : 401
#file : "/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php "
#line : 212
-response : Symfony\Component\HttpClient\Response \ TraceableResponse {#331 …}
trace : {
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
}
]
{
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:212 {
Symfony\Component\HttpClient\Response \ TraceableResponse->checkStatusCode(int $code) …
› if (400 <= $code) {
› throw new ClientException($this);
› }
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-client/ Response/TraceableResponse.php:103 {
Symfony\Component\HttpClient\Response \ TraceableResponse->getContent(bool $throw = true): string …
› if ($throw) {
› $this->checkStatusCode($this->response->getStatusCode());
› }
arguments : {
$code : 401
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:228 {
App \ Blog->loadBlogPosts(string $after = null): array …
›
› $result = json_decode($response->getContent(), true);
› } catch (HttpExceptionInterface $e) {
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:211 {
App\Blog->App \ {closure} …
›
› return $this->loadBlogPosts();
› }, $beta);
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:95 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
› if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
› return $callback($item, $save);
› }
arguments : {
Symfony\Component\Cache \ CacheItem {#259 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:208 {
App \ Blog->getAllPosts(bool $bustCache = false): array …
› $beta = $bustCache ? INF : null;
› $this->posts = $this->cache->get('blog_posts', function (ItemInterface $item) {
› $item->expiresAfter(86400); // cache for 1 day
arguments : {
$key : "blog_posts "
$callback : Closure(CacheItem $item, bool &$save) {#260 …}
$beta : null
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Blog.php:67 {
App \ Blog->getPosts(int $perPage = 3, int $page = 1, string $tag = '', string $author = ''): array …
› $offset = ($page - 1) * $perPage;
› $posts = $this->getAllPosts();
›
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:926 {
App\Controller \ MarketingController->buildSitemapPages(RouterInterface $router, Request $request, Blog $blog, Content $content): array …
› // add blog routes
› foreach ($blog->getPosts(-1) as $post) {
› $pages[] = [
arguments : {
$perPage : -1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:898 {
App\Controller\MarketingController->App\Controller \ {closure} …
›
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:51 {
Symfony\Component\Cache\Adapter\TraceableAdapter->Symfony\Component\Cache\Adapter \ {closure} …
›
› return $callback($item, $save);
› };
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ LockRegistry.php:108 {
Symfony\Component\Cache \ LockRegistry::compute(callable $callback, ItemInterface $item, bool &$save, CacheInterface $pool, Closure $setMetadata = null, LoggerInterface $logger = null) …
›
› $value = $callback($item, $save);
›
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:100 {
Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits \ {closure} …
› $setMetadata($item, $startTime, $metadata);
› }, $this->logger ?? null);
› $setMetadata($item, $startTime, $metadata);
arguments : {
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$item : Symfony\Component\Cache \ CacheItem {#220 …}
&$save : true
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$setMetadata : Closure(CacheItem $item) {#211 …}
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:72 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->contractsGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null) …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
arguments : {
Symfony\Component\Cache \ CacheItem {#220 …}
true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Traits/ContractsTrait.php:107 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->doGet(AdapterInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null) …
› }
› }, $beta, $metadata, $this->logger ?? null);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#161 …}
$beta : 1.0
&$metadata : []
$logger : Symfony\Bridge\Monolog \ Logger {#144 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache-contracts/ CacheTrait.php:35 {
Symfony\Component\Cache\Adapter \ AbstractAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
arguments : {
$pool : Symfony\Component\Cache\Adapter \ FilesystemAdapter {#142 …}
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : 1.0
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/cache/ Adapter/TraceableAdapter.php:56 {
Symfony\Component\Cache\Adapter \ TraceableAdapter->get(string $key, callable $callback, float $beta = null, array &$metadata = null) …
› try {
› $value = $this->pool->get($key, $callback, $beta, $metadata);
› $event->result[$key] = get_debug_type($value);
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
$beta : null
&$metadata : []
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / src/Controller/MarketingController.php:899 {
App\Controller \ MarketingController->sitemapXml(RouterInterface $router, Request $request, CacheInterface $cache, Blog $blog, Content $content): Response …
› return $this->buildSitemapPages($router, $request, $blog, $content);
› });
› // build the sitemap.xml file using Twig
arguments : {
$key : "sitemap_xml "
$callback : Closure(CacheItem $item, bool &$save) {#212 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:152 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments : {
$router : Symfony\Bundle\FrameworkBundle\Routing \ Router {#110 …}
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$cache : Symfony\Component\Cache\Adapter \ TraceableAdapter {#140 …}
$blog : App \ Blog {#138 …}
$content : App \ Content {#219 …}
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ HttpKernel.php:74 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
}
}
/var/www/invoiced/data/www/invoiced.project-release.info/vendor /symfony/http-kernel/ Kernel.php:202 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
$type : 1
$catch : true
}
}
/var/www/invoiced/data/www/invoiced.project-release.info / public/index.php:34 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments : {
$request : Symfony\Component\HttpFoundation \ Request {#54 …}
}
}
}
09:15:30.677
deprecation
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service " service is deprecated, use "session.storage.factory.native ", "session.storage.factory.php_bridge " or "session.storage.factory.mock_file " instead.