Exceptions
An exception has been thrown during the rendering of a template ("Warning: A non-numeric value encountered").
500 Internal Server Error - RuntimeError
1 linked Exception:
- ContextErrorException »
[2/2]
RuntimeError: An exception has been thrown during the rendering of a template ("Warning: A non-numeric value encountered").

-
in src/DemoBakery/BlogBundle/Resources/views/Default/index.html.twig at line 100
</a>
{% endif %}
{% if allPosts|length == limit %}
<a href="{{ path('blog_home',{'p':app.request.get('p',1)+1}) }}"
class="text-dark-gray hover-opacity">
Older Posts
-
at
Template
->displayBlock
('content', array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/twig/ef/ef21fc41c415dd0958672ead52f6952f0dbd0a9ade315878f213483262f88fa1.php at line 217\t\t";
// line 91
echo "\t\t";
$this->displayBlock('content', $context, $blocks);
// line 93
echo "
\t\t";
-
at
__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5
->doDisplay
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/classes.php at line 5441protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
-
at
Template
->displayWithErrorHandling
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/classes.php at line 5413}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
-
at
Template
->display
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php at line 42$context["page"] = "blog";
// line 2
$this->parent = $this->loadTemplate("@DemoBakeryMainV2/base.html.twig", "DemoBakeryBlogBundle:Default:index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
-
at
__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8
->doDisplay
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/classes.php at line 5441protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
-
at
Template
->displayWithErrorHandling
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar')), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/classes.php at line 5413}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
-
at
Template
->display
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in app/cache/dev/classes.php at line 5424ob_start(function () { return''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
-
at
Template
->render
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 49*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 68public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (Error $e) {
if ($name instanceof TemplateReference && !method_exists($e, 'setSourceContext')) {
try {
-
at
TwigEngine
->render
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 95$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/sensio/framework-extra-bundle/EventListener/TemplateListener.php at line 107$event->setResponse(new StreamedResponse($callback));
} else {
$event->setResponse($templating->renderResponse($template->getTemplate(), $parameters));
}
// make sure the owner (controller+dependencies) is not cached or stored elsewhere
-
at
TemplateListener
->onKernelView
(object(GetResponseForControllerResultEvent), 'kernel.view', object(TraceableEventDispatcher))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61$e = $this->stopwatch->start($this->name, 'event_listener');
\call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher);
if ($e->isStarted()) {
$e->stop();
-
at
WrappedListener
->__invoke
(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher))
in app/cache/dev/classes.php at line 1885if ($event->isPropagationStopped()) {
break;
}
\call_user_func($listener, $event, $eventName, $this);
}
}
private function sortListeners($eventName)
-
at
EventDispatcher
->doDispatch
(array(object(WrappedListener)), 'kernel.view', object(GetResponseForControllerResultEvent))
in app/cache/dev/classes.php at line 1800$event->setDispatcher($this);
$event->setName($eventName);
if ($listeners = $this->getListeners($eventName)) {
$this->doDispatch($listeners, $eventName, $event);
}
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.view', object(GetResponseForControllerResultEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 133$e = $this->stopwatch->start($eventName, 'section');
$this->dispatcher->dispatch($eventName, $event);
if ($e->isStarted()) {
$e->stop();
-
at
TraceableEventDispatcher
->dispatch
('kernel.view', object(GetResponseForControllerResultEvent))
in app/bootstrap.php.cache at line 3278$response = \call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
if ($event->hasResponse()) {
$response = $event->getResponse();
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3234{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof ConflictingHeadersException) {
$e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 67$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null, 'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2594if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in web/app_dev.php at line 30$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$domain = '.'.Helper::getContainerInstance()->getParameter('main_domain');
if($request->getHost() === 'polyglot.travel'){
[1/2]
ContextErrorException: Warning: A non-numeric value encountered

-
in app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php at line 259
if ((twig_length_filter($this->env, ($context["allPosts"] ?? $this->getContext($context, "allPosts"))) == ($context["limit"] ?? $this->getContext($context, "limit")))) {
// line 100
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("blog_home", ["p" => ($this->getAttribute($this->getAttribute(($context["app"] ?? $this->getContext($context, "app")), "request", []), "get", [0 => "p", 1 => 1], "method") + 1)]), "html", null, true);
echo "\"
class=\"text-dark-gray hover-opacity\">
Older Posts
-
at
ErrorHandler
->handleError
('2', 'A non-numeric value encountered', '/var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php', '259', array('context' => array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), 'blocks' => array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')), '__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02' => object(ProfilerExtension), '__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof' => object(Profile), 'length' => '10', '_parent' => array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!')))
in app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php at line 259if ((twig_length_filter($this->env, ($context["allPosts"] ?? $this->getContext($context, "allPosts"))) == ($context["limit"] ?? $this->getContext($context, "limit")))) {
// line 100
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("blog_home", ["p" => ($this->getAttribute($this->getAttribute(($context["app"] ?? $this->getContext($context, "app")), "request", []), "get", [0 => "p", 1 => 1], "method") + 1)]), "html", null, true);
echo "\"
class=\"text-dark-gray hover-opacity\">
Older Posts
-
at
__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8
->block_content
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/classes.php at line 5302}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
-
at
Template
->displayBlock
('content', array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/twig/ef/ef21fc41c415dd0958672ead52f6952f0dbd0a9ade315878f213483262f88fa1.php at line 217\t\t";
// line 91
echo "\t\t";
$this->displayBlock('content', $context, $blocks);
// line 93
echo "
\t\t";
-
at
__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5
->doDisplay
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/classes.php at line 5441protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
-
at
Template
->displayWithErrorHandling
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')))
in app/cache/dev/classes.php at line 5413}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
-
at
Template
->display
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php at line 42$context["page"] = "blog";
// line 2
$this->parent = $this->loadTemplate("@DemoBakeryMainV2/base.html.twig", "DemoBakeryBlogBundle:Default:index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
-
at
__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8
->doDisplay
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/classes.php at line 5441protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
-
at
Template
->displayWithErrorHandling
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar')), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content')))
in app/cache/dev/classes.php at line 5413}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
-
at
Template
->display
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in app/cache/dev/classes.php at line 5424ob_start(function () { return''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
-
at
Template
->render
(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 49*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 68public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (Error $e) {
if ($name instanceof TemplateReference && !method_exists($e, 'setSourceContext')) {
try {
-
at
TwigEngine
->render
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 95$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post)))
in vendor/sensio/framework-extra-bundle/EventListener/TemplateListener.php at line 107$event->setResponse(new StreamedResponse($callback));
} else {
$event->setResponse($templating->renderResponse($template->getTemplate(), $parameters));
}
// make sure the owner (controller+dependencies) is not cached or stored elsewhere
-
at
TemplateListener
->onKernelView
(object(GetResponseForControllerResultEvent), 'kernel.view', object(TraceableEventDispatcher))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61$e = $this->stopwatch->start($this->name, 'event_listener');
\call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher);
if ($e->isStarted()) {
$e->stop();
-
at
WrappedListener
->__invoke
(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher))
in app/cache/dev/classes.php at line 1885if ($event->isPropagationStopped()) {
break;
}
\call_user_func($listener, $event, $eventName, $this);
}
}
private function sortListeners($eventName)
-
at
EventDispatcher
->doDispatch
(array(object(WrappedListener)), 'kernel.view', object(GetResponseForControllerResultEvent))
in app/cache/dev/classes.php at line 1800$event->setDispatcher($this);
$event->setName($eventName);
if ($listeners = $this->getListeners($eventName)) {
$this->doDispatch($listeners, $eventName, $event);
}
return $event;
}
-
at
EventDispatcher
->dispatch
('kernel.view', object(GetResponseForControllerResultEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 133$e = $this->stopwatch->start($eventName, 'section');
$this->dispatcher->dispatch($eventName, $event);
if ($e->isStarted()) {
$e->stop();
-
at
TraceableEventDispatcher
->dispatch
('kernel.view', object(GetResponseForControllerResultEvent))
in app/bootstrap.php.cache at line 3278$response = \call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
if ($event->hasResponse()) {
$response = $event->getResponse();
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3234{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof ConflictingHeadersException) {
$e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 67$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null, 'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2594if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in web/app_dev.php at line 30$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$domain = '.'.Helper::getContainerInstance()->getParameter('main_domain');
if($request->getHost() === 'polyglot.travel'){
Stack Trace (Plain Text)

[1] Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Warning: A non-numeric value encountered"). at n/a in /var/www/html/src/DemoBakery/BlogBundle/Resources/views/Default/index.html.twig line 100 at Twig\Template->displayBlock('content', array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/twig/ef/ef21fc41c415dd0958672ead52f6952f0dbd0a9ade315878f213483262f88fa1.php line 217 at __TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5->doDisplay(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/classes.php line 5441 at Twig\Template->displayWithErrorHandling(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/classes.php line 5413 at Twig\Template->display(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php line 42 at __TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8->doDisplay(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/classes.php line 5441 at Twig\Template->displayWithErrorHandling(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar')), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/classes.php line 5413 at Twig\Template->display(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/app/cache/dev/classes.php line 5424 at Twig\Template->render(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 49 at Symfony\Bridge\Twig\TwigEngine->render(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 68 at Symfony\Bundle\TwigBundle\TwigEngine->render(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 95 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/sensio/framework-extra-bundle/EventListener/TemplateListener.php line 107 at Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener->onKernelView(object(GetResponseForControllerResultEvent), 'kernel.view', object(TraceableEventDispatcher)) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher)) in /var/www/html/app/cache/dev/classes.php line 1885 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener)), 'kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/app/cache/dev/classes.php line 1800 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 133 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/app/bootstrap.php.cache line 3278 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/html/app/bootstrap.php.cache line 3234 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 67 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/html/app/bootstrap.php.cache line 2594 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/html/web/app_dev.php line 30 [2] Symfony\Component\Debug\Exception\ContextErrorException: Warning: A non-numeric value encountered at n/a in /var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php line 259 at Symfony\Component\Debug\ErrorHandler->handleError('2', 'A non-numeric value encountered', '/var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php', '259', array('context' => array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), 'blocks' => array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end')), '__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02' => object(ProfilerExtension), '__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof' => object(Profile), 'length' => '10', '_parent' => array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'))) in /var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php line 259 at __TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8->block_content(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/classes.php line 5302 at Twig\Template->displayBlock('content', array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/twig/ef/ef21fc41c415dd0958672ead52f6952f0dbd0a9ade315878f213483262f88fa1.php line 217 at __TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5->doDisplay(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog', 'logged_in' => false, 'meta_og_title' => '360 Stories', 'meta_og_image' => 'https://cdn.360stories.com/og/360stories.png', 'meta_description' => 'We're an Online Community featuring Thousands Users with a Passion for Travel. Join our community and share your stories with the world!'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/classes.php line 5441 at Twig\Template->displayWithErrorHandling(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('additional_css' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_css'), 'header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'), 'modals' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_modals'), 'footer' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_footer'), 'additional_js' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_additional_js'), 'end' => array(object(__TwigTemplate_00cc2cdce2efd1d9cff8197957ada313936c22bd0d80e8c7e534b3c029ed01b5), 'block_end'))) in /var/www/html/app/cache/dev/classes.php line 5413 at Twig\Template->display(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/twig/8a/8abb3493cf67dba034243898332d5265d9f7c32e4921c34a940a841cb4cda9c9.php line 42 at __TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8->doDisplay(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar'), 'page' => 'blog'), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/classes.php line 5441 at Twig\Template->displayWithErrorHandling(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'translator' => object(Translator), 'demobakery_helper' => object(Helper), 'KMLPath' => 'https://staging.360stories.co/gmap_res/routes.kml', 'UploadsPath' => 'https://cdn.360stories.com/uploads/', 'cdn_domain' => 'https://cdn.360stories.com/', 'stripe_key' => 'pk_live_dnBJe6s8PuzRQ8Qp2ROyGqwX0063ZyujJo', 'stripe_key_test' => 'pk_test_G4tN4k4SqxiBnj8qP4ZwkZL800leTeZB1y', 'sonata_block' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'poly', 'ar')), array('header' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_header'), 'content' => array(object(__TwigTemplate_0eb3135b0a4f108ef5064654a9c76f68a67e9d2533ccbdf31a1777184f5302f8), 'block_content'))) in /var/www/html/app/cache/dev/classes.php line 5413 at Twig\Template->display(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/app/cache/dev/classes.php line 5424 at Twig\Template->render(array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 49 at Symfony\Bridge\Twig\TwigEngine->render(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 68 at Symfony\Bundle\TwigBundle\TwigEngine->render(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 95 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse(object(TemplateReference), array('featuredPost' => object(Post), 'allPosts' => array(object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post), object(Post)), 'popularPosts' => array(object(Post), object(Post), object(Post), object(Post)), 'limit' => '10', 'lastPost' => object(Post))) in /var/www/html/vendor/sensio/framework-extra-bundle/EventListener/TemplateListener.php line 107 at Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener->onKernelView(object(GetResponseForControllerResultEvent), 'kernel.view', object(TraceableEventDispatcher)) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher)) in /var/www/html/app/cache/dev/classes.php line 1885 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener)), 'kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/app/cache/dev/classes.php line 1800 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 133 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in /var/www/html/app/bootstrap.php.cache line 3278 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/html/app/bootstrap.php.cache line 3234 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 67 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/html/app/bootstrap.php.cache line 2594 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/html/web/app_dev.php line 30