/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/src/views/components/hero/hero-single-fxb-news.twig
{# <?php #}
<div class="hero __single-news __orange-light" style="background-image: url({{ post.hero_background.sizes.hero }})">
<div class="container">
{% include "components/breadcrumb/breadcrumb.twig" %}
<div class="hero__content">
<h1 class="hero__title"><span>{{ post.title}} </span></h1>
<div class="hero__tags">
<a href="{{ post.country.link }}" class="tag __gray">{{ post.country.title }}</a>
<a href="{{ post.category.link }}" class="tag " style="background-color: {{post.tag_color}}">{{ post.category }}</a>
</div>
<div class="hero__publish-date">
<span class="tag __gray __sm"> {{ __('Posted on', 'fxb') }} {{ post.date}} </span>
</div>
</div>
</div>
<div class="hero__details-context">
<div class="container">
<div class="hero__details-context__content">{{post.meta('hero_context')}}</div>
</div>
</div>
</div>
Arguments
"An exception has been thrown during the rendering of a template ("Undefined property: App\Models\FxbNewsPost::$country")."
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/App/Models/FxbNewsPost.php
return 'bg-blue-green';
} elseif ($cat->slug == "nutrition" or $cat->slug == "nutrition-fr") {
return 'bg-blue-second';
}
}
}
public function hero_background()
{
if (!$this->_hero_background || is_string($this->_hero_background)) {
$this->_hero_background = get_field('hero_background', $this->ID);
}
return $this->_hero_background;
}
public function country()
{
if (!$this->_country || is_string($this->_country)) {
$this->_country = new CountryPost($this->country);
}
return $this->_country;
}
public function title()
{
if (!$this->_title || is_string($this->_title)) {
$this->_title = $this->post_title;
}
return $this->_title;
}
public function post_same_category()
{
if (!$this->_post_same_category && !$this->_post_same_category instanceof \App\Models\FxbNewsPost) {
$args = array(
'post_type' => 'fxb-news',
'orderby' => 'rand',
Arguments
"Undefined property: App\Models\FxbNewsPost::$country"
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/App/Models/FxbNewsPost.php
return 'bg-blue-green';
} elseif ($cat->slug == "nutrition" or $cat->slug == "nutrition-fr") {
return 'bg-blue-second';
}
}
}
public function hero_background()
{
if (!$this->_hero_background || is_string($this->_hero_background)) {
$this->_hero_background = get_field('hero_background', $this->ID);
}
return $this->_hero_background;
}
public function country()
{
if (!$this->_country || is_string($this->_country)) {
$this->_country = new CountryPost($this->country);
}
return $this->_country;
}
public function title()
{
if (!$this->_title || is_string($this->_title)) {
$this->_title = $this->post_title;
}
return $this->_title;
}
public function post_same_category()
{
if (!$this->_post_same_category && !$this->_post_same_category instanceof \App\Models\FxbNewsPost) {
$args = array(
'post_type' => 'fxb-news',
'orderby' => 'rand',
Arguments
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Extension/CoreExtension.php
if ($ignoreStrictCheck || !$env->isStrictVariables()) {
return;
}
throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()"/"has%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), $lineno, $source);
}
if ($isDefinedTest) {
return true;
}
if ($sandboxed) {
$env->getExtension(SandboxExtension::class)->checkMethodAllowed($object, $method, $lineno, $source);
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
$ret = $object->$method(...$arguments);
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
return;
}
throw $e;
}
return $ret;
}
/**
* Returns the values from a single column in the input array.
*
* <pre>
* {% set items = [{ 'fruit' : 'apple'}, {'fruit' : 'orange' }] %}
*
* {% set fruits = items|column('fruit') %}
*
* {# fruits now contains ['apple', 'orange'] #}
* </pre>
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Environment.php
$key = $this->cache->generateKey($name, $mainCls);
if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
$this->cache->load($key);
}
$source = null;
if (!class_exists($cls, false)) {
$source = $this->getLoader()->getSourceContext($name);
$content = $this->compileSource($source);
$this->cache->write($key, $content);
$this->cache->load($key);
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
}
// to be removed in 3.0
$this->extensionSet->initRuntime($this);
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
* @param string $template The template source
Arguments
Twig\Environment {#15137}
Twig\Source {#14691}
App\Models\FxbNewsPost {#13222}
"country"
[]
"any"
false
false
false
11
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
[]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
[]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Environment.php
$key = $this->cache->generateKey($name, $mainCls);
if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
$this->cache->load($key);
}
$source = null;
if (!class_exists($cls, false)) {
$source = $this->getLoader()->getSourceContext($name);
$content = $this->compileSource($source);
$this->cache->write($key, $content);
$this->cache->load($key);
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
}
// to be removed in 3.0
$this->extensionSet->initRuntime($this);
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
* @param string $template The template source
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
{
if ($useBlocks && isset($blocks[$name])) {
$template = $blocks[$name][0];
$block = $blocks[$name][1];
} elseif (isset($this->blocks[$name])) {
$template = $this->blocks[$name][0];
$block = $this->blocks[$name][1];
} else {
$template = null;
$block = null;
}
// avoid RCEs when sandbox is enabled
if (null !== $template && !$template instanceof self) {
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
$e->guess();
throw $e;
}
} elseif (false !== $parent = $this->getParent($context)) {
$parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Environment.php
$key = $this->cache->generateKey($name, $mainCls);
if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
$this->cache->load($key);
}
$source = null;
if (!class_exists($cls, false)) {
$source = $this->getLoader()->getSourceContext($name);
$content = $this->compileSource($source);
$this->cache->write($key, $content);
$this->cache->load($key);
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
}
// to be removed in 3.0
$this->extensionSet->initRuntime($this);
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
* @param string $template The template source
Arguments
"content"
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Environment.php
$key = $this->cache->generateKey($name, $mainCls);
if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
$this->cache->load($key);
}
$source = null;
if (!class_exists($cls, false)) {
$source = $this->getLoader()->getSourceContext($name);
$content = $this->compileSource($source);
$this->cache->write($key, $content);
$this->cache->load($key);
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
}
// to be removed in 3.0
$this->extensionSet->initRuntime($this);
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
* @param string $template The template source
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_16b359b413f70a6c52b10215c4ce2adc {#14889}
1 => "block_content"
]
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/Template.php
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/twig/twig/src/TemplateWrapper.php
* directly (use Twig\Environment::load() instead).
*
* @internal
*/
public function __construct(Environment $env, Template $template)
{
$this->env = $env;
$this->template = $template;
}
/**
* Renders the template.
*
* @param array $context An array of parameters to pass to the template
*/
public function render(array $context = []): string
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_get_args()[1] ?? []);
}
/**
* Displays the template.
*
* @param array $context An array of parameters to pass to the template
*/
public function display(array $context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
$this->template->display($context, \func_get_args()[1] ?? []);
}
/**
* Checks if a block is defined.
*
* @param string $name The block name
* @param array $context An array of parameters to pass to the template
*/
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
[]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/timber/timber/lib/Loader.php
$key = null;
$output = false;
if ( false !== $expires ) {
ksort($data);
$key = md5($file.json_encode($data));
$output = $this->get_cache($key, self::CACHEGROUP, $cache_mode);
}
if ( false === $output || null === $output ) {
$twig = $this->get_twig();
if ( strlen($file) ) {
$loader = $this->get_loader();
$result = $loader->getCacheKey($file);
do_action('timber_loader_render_file', $result);
}
$data = apply_filters('timber_loader_render_data', $data);
$data = apply_filters('timber/loader/render_data', $data, $file);
$template = $twig->load($file);
$output = $template->render($data);
}
if ( false !== $output && false !== $expires && null !== $key ) {
$this->delete_cache();
$this->set_cache($key, $output, self::CACHEGROUP, $expires, $cache_mode);
}
$output = apply_filters('timber_output', $output);
return apply_filters('timber/output', $output, $data, $file);
}
protected function delete_cache() {
Cleaner::delete_transients();
}
/**
* Get first existing template.
*
* @param array|string $templates Name(s) of the Twig template(s) to choose from.
* @return string|bool Name of chosen template, otherwise false.
*/
Arguments
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/timber/timber/lib/Timber.php
if ( $via_render ) {
$file = apply_filters('timber_render_file', $file);
} else {
$file = apply_filters('timber_compile_file', $file);
}
$output = false;
if ($file !== false) {
if ( is_null($data) ) {
$data = array();
}
if ( $via_render ) {
$data = apply_filters('timber_render_data', $data);
} else {
$data = apply_filters('timber_compile_data', $data);
}
$output = $loader->render($file, $data, $expires, $cache_mode);
} else {
if ( is_array($filenames) ) {
$filenames = implode(", ", $filenames);
}
Helper::error_log( 'Error loading your template files: '.$filenames.'. Make sure one of these files exists.' );
}
do_action('timber_compile_done');
return $output;
}
/**
* Compile a string.
*
* @api
* @example
* ```php
* $data = array(
* 'username' => 'Jane Doe',
* );
Arguments
"templates/single-fxb-news.twig"
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
false
"default"
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/timber/timber/lib/Timber.php
$twig = $dummy_loader->get_twig();
$template = $twig->createTemplate($string);
return $template->render($data);
}
/**
* Fetch function.
*
* @api
* @param array|string $filenames Name of the Twig file to render. If this is an array of files, Timber will
* render the first file that exists.
* @param array $data Optional. An array of data to use in Twig template.
* @param bool|int $expires Optional. In seconds. Use false to disable cache altogether. When passed an
* array, the first value is used for non-logged in visitors, the second for users.
* Default false.
* @param string $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
* @return bool|string The returned output.
*/
public static function fetch( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
$output = self::compile($filenames, $data, $expires, $cache_mode, true);
$output = apply_filters('timber_compile_result', $output);
return $output;
}
/**
* Render function.
*
* Passes data to a Twig file and echoes the output.
*
* @api
* @example
* ```php
* $context = Timber::context();
*
* Timber::render( 'index.twig', $context );
* ```
* @param array|string $filenames Name of the Twig file to render. If this is an array of files, Timber will
* render the first file that exists.
* @param array $data Optional. An array of data to use in Twig template.
* @param bool|int $expires Optional. In seconds. Use false to disable cache altogether. When passed an
Arguments
array:2 [
0 => "templates/single-fxb-news.twig"
1 => "single.twig"
]
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
false
"default"
true
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/vendor/timber/timber/lib/Timber.php
* Passes data to a Twig file and echoes the output.
*
* @api
* @example
* ```php
* $context = Timber::context();
*
* Timber::render( 'index.twig', $context );
* ```
* @param array|string $filenames Name of the Twig file to render. If this is an array of files, Timber will
* render the first file that exists.
* @param array $data Optional. An array of data to use in Twig template.
* @param bool|int $expires Optional. In seconds. Use false to disable cache altogether. When passed an
* array, the first value is used for non-logged in visitors, the second for users.
* Default false.
* @param string $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
* @return bool|string The echoed output.
*/
public static function render( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
$output = self::fetch($filenames, $data, $expires, $cache_mode);
echo $output;
return $output;
}
/**
* Render a string with Twig variables.
*
* @api
* @example
* ```php
* $data = array(
* 'username' => 'Jane Doe',
* );
*
* Timber::render_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
* ```
* @param string $string A string with Twig variables.
* @param array $data An array of data to use in Twig template.
* @return bool|string
*/
Arguments
array:2 [
0 => "templates/single-fxb-news.twig"
1 => "single.twig"
]
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
false
"default"
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/app/themes/fxb/single-fxb-news.php
<?php
use Timber\Timber;
use App\Models\FxbNewsPost;
use App\Modules\ModuleLoader;
$context = Timber::context();
$context['post'] = new FxbNewsPost();
// dd($context['post']->modules_footer);
// End load erms data
$aboutus = new ModuleLoader("about-us");
$context['post']->modules_footer = [
[
"slug" => "about-us",
"acf_data" => $aboutus->acf_data,
"module_data" => $aboutus->module_data,
]
];
Timber::render(['templates/single-fxb-news.twig', 'single.twig'], $context );
Arguments
array:2 [
0 => "templates/single-fxb-news.twig"
1 => "single.twig"
]
array:25 [
"http_host" => "https://fxb.org"
"wp_title" => "Covid-19 has orphaned 5.2 million children - FXB | Ending poverty, restoring dignity"
"body_class" => "fxb-news-template-default single single-fxb-news postid-7429 covid-19-has-orphaned-5-2-million-children"
"site" => Timber\Site {#13225}
"request" => Timber\Request {#13219}
"user" => false
"theme" => Timber\Theme {#13221}
"posts" => Timber\PostQuery {#13217
+found_posts: 1
found_posts: 1
#userQuery: false
#queryIterator: Timber\QueryIterator {#13220}
#pagination: null
-storage: array:1 [
0 => App\Models\FxbNewsPost {#13216}
]
flag::STD_PROP_LIST: false
flag::ARRAY_AS_PROPS: false
iteratorClass: "Timber\PostsIterator"
}
"wp_head" => Timber\FunctionWrapper {#13215}
"wp_footer" => Timber\FunctionWrapper {#13213}
"menu" => Timber\Menu {#13212}
"footer_links" => Timber\Menu {#13442}
"footer_sites" => Timber\Menu {#15255}
"favicon" => "https://fxb.org/app/themes/fxb/assets/images/favicon.png"
"logo" => "https://fxb.org/app/themes/fxb/assets/images/logo.png"
"env" => "development"
"thanos_test" => "https://fxb.org/app/themes/fxb/assets/images/thanos.jpg"
"zewo_logo" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certification.png"
"footer_fxb_logo" => "https://fxb.org/app/themes/fxb/assets/images/fxb_logo_signatureless.png"
"footer_zewo_certification" => "https://fxb.org/app/themes/fxb/assets/images/zewo_certif_logo.svg"
"breadcrumb" => "<p id="breadcrumbs"><span><span><a href="https://fxb.org/fxb-news/">FXB News</a></span> <i class="fa fas fa-chevron-right"></i> <span class="breadcrumb_last" aria-current="page">Covid-19 has orphaned 5.2 million children</span></span></p>"
"options" => array:11 [
"donate_url" => WP_Post {#15277}
"facebook" => "https://www.facebook.com/FXBinternational"
"instagram" => "https://www.instagram.com/fxb_international/"
"jauge" => "90326"
"legal_notice" => "https://fxb.org/politique-de-confidentialite/"
"linkedin" => "https://www.linkedin.com/company/fxb-international"
"privacy_policy" => "https://fxb.org/politique-de-confidentialite/"
"read_more" => "https://fxb.org/who-we-are/vision-mission/"
"shop_url" => "https://fxbshop.org/fr-fr"
"twitter" => "https://twitter.com/FXBIntl"
"youtube" => "https://www.youtube.com/user/FXBinternational"
]
"language_switcher" => array:2 [
"en" => array:13 [
"code" => "en"
"id" => "1"
"native_name" => "English"
"major" => "1"
"active" => "1"
"default_locale" => "en_US"
"encode_url" => "0"
"tag" => "en"
"missing" => 0
"translated_name" => "English"
"url" => "https://fxb.org/fxb-news/global/covid-19-has-orphaned-5-2-million-children/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/en.png"
"language_code" => "en"
]
"fr" => array:13 [
"code" => "fr"
"id" => "4"
"native_name" => "Français"
"major" => "1"
"active" => 0
"default_locale" => "fr_FR"
"encode_url" => "0"
"tag" => "fr"
"missing" => 0
"translated_name" => "French"
"url" => "https://fxb.org/fr/fxb-news/global-2/les-orphelins-de-la-pandemie-de-la-covid-19/"
"country_flag_url" => "https://fxb.org/app/plugins/sitepress-multilingual-cms/res/flags/fr.png"
"language_code" => "fr"
]
]
"active_lang" => "en"
"post" => App\Models\FxbNewsPost {#13222}
]
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/wp/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/app/themes/fxb/single-fxb-news.php"
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/wp/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/wp/wp-includes/template-loader.php"
/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/index.php
<?php
/** WordPress view bootstrapper */
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
Arguments
"/home/clients/d72ec93e3770f8d1b3105782883d6419/sites/fxb.org/web/wp/wp-blog-header.php"