/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic/templates/partials/head.html.twig
{% if browser.getBrowser == 'msie' and browser.getVersion <= 8 %}
{% do assets.addCss('theme://css/ie.css') %}
{% endif %}
{% endblock %}
{{ assets.css() }}
{% block javascripts %}
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://vendor/bootstrap/js/bootstrap.min.js', 100) %}
{% do assets.addJs('theme://js/clean-blog.min.js') %}
{% if browser.getBrowser == 'msie' and browser.getVersion < 9 %}
{% do assets.addJs('https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js') %}
{% do assets.addJs('https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js') %}
{% endif %}
{% endblock %}
{# Site URL is not correct if Grav is in subfolder #}
{% set site_url = base_url_absolute|replace({(base_url): ''}) %}
{% if page.header.header_image %}
{% set og_image = site_url ~ page.media.images[page.header.header_image].cache.url() %}
{% elseif page.media.images|length > 0 %}
{% set og_image = site_url ~ page.media.images|first.cache.url() %}
{% else %}
{% set og_image = '' %}
{% endif %}
<meta property="og:url" content="{{ page.url(true) }}" />
<meta property="og:title" content="{{ page.title|e('html_attr') }}" />
<meta property="og:description" content="{{ page.header.metadata.description|e('html_attr') }}" />
{% if og_image is not empty %}
<meta property="og:image" content="{{ og_image }}" />
{% endif %}
Arguments
"An exception has been thrown during the rendering of a template ("strtr(): Ignoring replacement of empty string")."
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Extension/CoreExtension.php
*
* @param string $str String to replace in
* @param array|\Traversable $from Replace values
* @param string|null $to Replace to, deprecated (@see https://secure.php.net/manual/en/function.strtr.php)
*
* @return string
*/
function twig_replace_filter($str, $from, $to = null)
{
if (\is_string($from) && \is_string($to)) {
@trigger_error('Using "replace" with character by character replacement is deprecated since version 1.22 and will be removed in Twig 2.0', E_USER_DEPRECATED);
return strtr($str, $from, $to);
}
if (!twig_test_iterable($from)) {
throw new RuntimeError(sprintf('The "replace" filter expects an array or "Traversable" as replace values, got "%s".', \is_object($from) ? \get_class($from) : \gettype($from)));
}
return strtr($str, twig_to_array($from));
}
/**
* Rounds a number.
*
* @param int|float $value The value to round
* @param int|float $precision The rounding precision
* @param string $method The method to use for rounding
*
* @return int|float The rounded number
*/
function twig_round($value, $precision = 0, $method = 'common')
{
if ('common' === $method) {
return round($value, $precision);
}
if ('ceil' !== $method && 'floor' !== $method) {
throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.');
}
Arguments
"strtr(): Ignoring replacement of empty string"
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Extension/CoreExtension.php
*
* @param string $str String to replace in
* @param array|\Traversable $from Replace values
* @param string|null $to Replace to, deprecated (@see https://secure.php.net/manual/en/function.strtr.php)
*
* @return string
*/
function twig_replace_filter($str, $from, $to = null)
{
if (\is_string($from) && \is_string($to)) {
@trigger_error('Using "replace" with character by character replacement is deprecated since version 1.22 and will be removed in Twig 2.0', E_USER_DEPRECATED);
return strtr($str, $from, $to);
}
if (!twig_test_iterable($from)) {
throw new RuntimeError(sprintf('The "replace" filter expects an array or "Traversable" as replace values, got "%s".', \is_object($from) ? \get_class($from) : \gettype($from)));
}
return strtr($str, twig_to_array($from));
}
/**
* Rounds a number.
*
* @param int|float $value The value to round
* @param int|float $precision The rounding precision
* @param string $method The method to use for rounding
*
* @return int|float The rounded number
*/
function twig_round($value, $precision = 0, $method = 'common')
{
if ('common' === $method) {
return round($value, $precision);
}
if ('ceil' !== $method && 'floor' !== $method) {
throw new RuntimeError('The round filter only supports the "common", "ceil", and "floor" methods.');
}
Arguments
"http://mindfulmagicleicester.co.uk"
array:1 [
"" => ""
]
/home/domains/vol4/652/2907652/user/htdocs/cache/twig/1a/1a08f25b93375576360ddc856347f3e696882ffdfa59731faa835eb898c907bf.php
echo "</title>
";
// line 22
$this->displayBlock('stylesheets', $context, $blocks);
// line 37
echo "
";
// line 38
echo $this->getAttribute(($context["assets"] ?? null), "css", [], "method");
echo "
";
// line 40
$this->displayBlock('javascripts', $context, $blocks);
// line 50
echo "
";
// line 52
$context["site_url"] = twig_replace_filter(($context["base_url_absolute"] ?? null), [($context["base_url"] ?? null) => ""]);
// line 53
echo "
";
// line 54
if ($this->getAttribute($this->getAttribute(($context["page"] ?? null), "header", []), "header_image", [])) {
// line 55
echo " ";
$context["og_image"] = (($context["site_url"] ?? null) . $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["page"] ?? null), "media", []), "images", []), $this->getAttribute($this->getAttribute(($context["page"] ?? null), "header", []), "header_image", []), [], "array"), "cache", []), "url", [], "method"));
} elseif ((twig_length_filter($this->env, $this->getAttribute($this->getAttribute( // line 56
($context["page"] ?? null), "media", []), "images", [])) > 0)) {
// line 57
echo " ";
$context["og_image"] = (($context["site_url"] ?? null) . $this->getAttribute($this->getAttribute(twig_first($this->env, $this->getAttribute($this->getAttribute(($context["page"] ?? null), "media", []), "images", [])), "cache", []), "url", [], "method"));
} else {
// line 59
echo " ";
$context["og_image"] = "";
}
// line 61
echo "
Arguments
"http://mindfulmagicleicester.co.uk"
array:1 [
"" => ""
]
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} 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:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
array:2 [
"stylesheets" => array:2 [
0 => __TwigTemplate_a3e3c04803f03935af2140933680b339c8e5e859b7aaade25e48b269d5e062fc {#314}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_a3e3c04803f03935af2140933680b339c8e5e859b7aaade25e48b269d5e062fc {#314}
1 => "block_javascripts"
]
]
/home/domains/vol4/652/2907652/user/htdocs/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 (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
array:2 [
"stylesheets" => array:2 [
0 => __TwigTemplate_a3e3c04803f03935af2140933680b339c8e5e859b7aaade25e48b269d5e062fc {#314}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_a3e3c04803f03935af2140933680b339c8e5e859b7aaade25e48b269d5e062fc {#314}
1 => "block_javascripts"
]
]
/home/domains/vol4/652/2907652/user/htdocs/cache/twig/76/76674c628f81f5157f3e4ea1970888bb808ba4d7e4e20ae37f08023a21afc2b2.php
window.onload = initDeferImg;
</script>
";
// line 36
$this->displayBlock('bottom', $context, $blocks);
// line 39
echo "</body>
</html>
";
}
// line 6
public function block_head($context, array $blocks = [])
{
// line 7
echo " ";
$this->loadTemplate("partials/head.html.twig", "partials/base.html.twig", 7)->display($context);
// line 8
echo " ";
}
// line 12
public function block_navigation($context, array $blocks = [])
{
// line 13
echo " ";
$this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 13)->display($context);
// line 14
echo " ";
}
// line 16
public function block_content($context, array $blocks = [])
{
}
// line 18
Arguments
array:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
/home/domains/vol4/652/2907652/user/htdocs/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);
Arguments
array:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
array:5 [
"head" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_head"
]
"navigation" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_navigation"
]
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_footer"
]
"bottom" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_bottom"
]
]
/home/domains/vol4/652/2907652/user/htdocs/cache/twig/76/76674c628f81f5157f3e4ea1970888bb808ba4d7e4e20ae37f08023a21afc2b2.php
'footer' => [$this, 'block_footer'],
'bottom' => [$this, 'block_bottom'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["theme_config"] = $this->getAttribute($this->getAttribute(($context["config"] ?? null), "themes", []), $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", []), "pages", []), "theme", []));
// line 2
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
echo (($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getLanguage", [])) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getLanguage", [])) : ("en"));
echo "\">
<head>
";
// line 6
$this->displayBlock('head', $context, $blocks);
// line 9
echo "</head>
<body>
";
// line 12
$this->displayBlock('navigation', $context, $blocks);
// line 15
echo "
";
// line 16
$this->displayBlock('content', $context, $blocks);
// line 17
echo "
";
// line 18
$this->displayBlock('footer', $context, $blocks);
// line 21
echo "
<script>
Arguments
"head"
array:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
array:5 [
"head" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_head"
]
"navigation" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_navigation"
]
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_footer"
]
"bottom" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_bottom"
]
]
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} 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:28 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
"theme_config" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
]
array:5 [
"head" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_head"
]
"navigation" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_navigation"
]
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_footer"
]
"bottom" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_bottom"
]
]
/home/domains/vol4/652/2907652/user/htdocs/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 (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:27 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
]
array:5 [
"head" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_head"
]
"navigation" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_navigation"
]
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_footer"
]
"bottom" => array:2 [
0 => __TwigTemplate_730bcd4f1112d8386e492ae858e46ba8ebf29f7f310d06073ad123c841f09812 {#315}
1 => "block_bottom"
]
]
/home/domains/vol4/652/2907652/user/htdocs/cache/twig/7b/7b1131b685ced3f3b94796d83e3239ed7f3b76390852d72f6520df2976774aad.php
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "partials/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("partials/base.html.twig", "modular.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 2
public function block_content($context, array $blocks = [])
{
// line 3
echo " ";
$this->loadTemplate("partials/left-right-header.html.twig", "modular.html.twig", 3)->display(twig_array_merge($context, ["page" => ($context["page"] ?? null)]));
// line 4
echo " ";
$this->loadTemplate("partials/svg-birds.html.twig", "modular.html.twig", 4)->display($context);
// line 5
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "collection", [], "method"));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 6
echo " ";
echo $this->getAttribute($context["module"], "content", []);
echo "
Arguments
array:27 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
]
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} 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:27 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
]
/home/domains/vol4/652/2907652/user/htdocs/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 (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:27 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
"grav" => Grav\Common\Grav {#3}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_4167019469bb79eaf73408077785d52bdd9dd1b1a6512d6ebd2ab5aded0f56ed {#305}
1 => "block_content"
]
]
/home/domains/vol4/652/2907652/user/htdocs/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 (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} 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 {
Arguments
array:26 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
]
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/TemplateWrapper.php
* @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
*
* @return string The rendered template
*/
public function render($context = [])
{
// 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_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Displays the template.
*
* @param array $context An array of parameters to pass to the template
*/
public function display($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_num_args() > 1 ? func_get_arg(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:26 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
]
[]
/home/domains/vol4/652/2907652/user/htdocs/vendor/twig/twig/src/Environment.php
@trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
return $this->templateClassPrefix;
}
/**
* Renders a template.
*
* @param string|TemplateWrapper $name The template name
* @param array $context An array of parameters to pass to the template
*
* @return string The rendered template
*
* @throws LoaderError When the template cannot be found
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
* @param string|TemplateWrapper $name The template name
* @param array $context An array of parameters to pass to the template
*
* @throws LoaderError When the template cannot be found
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function display($name, array $context = [])
{
$this->load($name)->display($context);
}
/**
* Loads a template.
*
Arguments
array:26 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
]
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Twig/Twig.php
$twig_vars['theme'] = $this->grav['config']->get('theme');
$twig_vars['pages'] = $pages->root();
$twig_vars['page'] = $page;
$twig_vars['header'] = $page->header();
$twig_vars['media'] = $page->media();
$twig_vars['content'] = $content;
// determine if params are set, if so disable twig cache
$params = $this->grav['uri']->params(null, true);
if (!empty($params)) {
$this->twig->setCache(false);
}
// Get Twig template layout
$template = $this->getPageTwigTemplate($page, $format);
$page->templateFormat($format);
try {
$output = $this->twig->render($template, $vars + $twig_vars);
} catch (LoaderError $e) {
$error_msg = $e->getMessage();
throw new RuntimeException($error_msg, 400, $e);
}
return $output;
}
/**
* Wraps the FilesystemLoader addPath method (should be used only in `onTwigLoader()` event
* @param string $template_path
* @param string $namespace
* @throws LoaderError
*/
public function addPath($template_path, $namespace = '__main__')
{
$this->loader->addPath($template_path, $namespace);
}
/**
Arguments
"modular.html.twig"
array:26 [
"config" => Grav\Common\Config\Config {#87}
"system" => array:29 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:11 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"theme" => "mindful-magic"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 301
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:1 [
0 => "form"
]
]
"markdown_extra" => false
]
"cache" => array:13 [
"enabled" => false
"check" => array:1 [
"method" => "file"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:13 [
"css_pipeline" => false
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => false
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => false
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => true
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:1 [
"facility" => "local6"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:8 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => true
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 135266304
]
"session" => array:11 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "mm-lecs"
"uniqueness" => "path"
"secure" => false
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:5 [
"releases" => "stable"
"proxy_url" => null
"method" => "auto"
"verify_peer" => true
"official_gpm_only" => true
]
"accounts" => array:2 [
"type" => "regular"
"storage" => "file"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
]
"theme" => array:5 [
"enabled" => true
"copyright" => "Copyright © Mindful Magic Leicester 2021"
"favicon" => "favicon.png"
"error_header_image" => "home-bg.jpg"
"social_icons" => array:3 [
0 => array:2 [
"icon" => "fa-twitter-f"
"url" => "https://www.twitter.com/"
]
1 => array:2 [
"icon" => "fa-facebook-f"
"url" => "https://www.facebook.com/"
]
2 => array:2 [
"icon" => "fa-github-f"
"url" => "https://www.github.com/"
]
]
]
"site" => array:9 [
"title" => "Clean Blog"
"default_lang" => "en"
"author" => array:2 [
"name" => "Joe Bloggs"
"email" => "[email protected]"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:1 [
"description" => "Grav is an easy to use, yet powerful, open source flat-file CMS"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#113}
"assets" => Grav\Common\Assets {#193}
"taxonomy" => Grav\Common\Taxonomy {#221}
"browser" => Grav\Common\Browser {#222}
"base_dir" => "/home/domains/vol4/652/2907652/user/htdocs"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "http://mindfulmagicleicester.co.uk"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home/domains/vol4/652/2907652/user/htdocs/user/themes/mindful-magic"
"theme_url" => "/user/themes/mindful-magic"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#223}
"form" => null
"form_max_filesize" => 129
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#226}
"page" => Grav\Common\Page\Page {#237}
"header" => {#248}
"media" => Grav\Common\Page\Media {#307}
"content" => """
<h4>Enrol In My Poetry 4 Therapy - A Workshop on Writing for Wellbeing</h4>\n
<!-- Noscript content for added SEO -->\n
<noscript><a class="btn btn-primary" href="https://www.eventbrite.co.uk/e/poetry-4-therapy-a-workshop-on-writing-for-wellbeing-tickets-148403782709" rel="noopener noreferrer" target="_blank"></noscript>\n
<!-- You can customize this button any way you like -->\n
<button id="eventbrite-widget-modal-trigger-148403782709" type="button" class="btn btn-primary">Enrol In Workshop</button>\n
<noscript></a>Buy Tickets on Eventbrite</noscript>\n
<script src="https://www.eventbrite.co.uk/static/widgets/eb_widgets.js"></script>\n
<script type="text/javascript">\n
\n
var eventsCallback = function() {\n
\n
console.log('Order complete!');\n
\n
};\n
\n
window.EBWidgets.createWidget({\n
\n
widgetType: 'checkout',\n
\n
eventId: '148403782709',\n
\n
modal: true,\n
\n
modalTriggerElementId: 'eventbrite-widget-modal-trigger-148403782709',\n
\n
onOrderComplete: eventsCallback\n
\n
});\n
\n
</script>
"""
]
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Service/OutputServiceProvider.php
/**
* Class OutputServiceProvider
* @package Grav\Common\Service
*/
class OutputServiceProvider implements ServiceProviderInterface
{
/**
* @param Container $container
* @return void
*/
public function register(Container $container)
{
$container['output'] = function ($c) {
/** @var Twig $twig */
$twig = $c['twig'];
/** @var PageInterface $page */
$page = $c['page'];
return $twig->processSite($page->templateFormat());
};
}
}
Arguments
/home/domains/vol4/652/2907652/user/htdocs/vendor/pimple/pimple/src/Pimple/Container.php
{
if (!isset($this->keys[$id])) {
throw new UnknownIdentifierException($id);
}
if (
isset($this->raw[$id])
|| !\is_object($this->values[$id])
|| isset($this->protected[$this->values[$id]])
|| !\method_exists($this->values[$id], '__invoke')
) {
return $this->values[$id];
}
if (isset($this->factories[$this->values[$id]])) {
return $this->values[$id]($this);
}
$raw = $this->values[$id];
$val = $this->values[$id] = $raw($this);
$this->raw[$id] = $raw;
$this->frozen[$id] = true;
return $val;
}
/**
* Checks if a parameter or an object is set.
*
* @param string $id The unique identifier for the parameter or object
*
* @return bool
*/
public function offsetExists($id)
{
return isset($this->keys[$id]);
}
/**
Arguments
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/RenderProcessor.php
* @package Grav\Common\Processors
*/
class RenderProcessor extends ProcessorBase
{
/** @var string */
public $id = 'render';
/** @var string */
public $title = 'Render';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$container = $this->container;
$output = $container['output'];
if ($output instanceof ResponseInterface) {
return $output;
}
/** @var PageInterface $page */
$page = $this->container['page'];
// Use internal Grav output.
$container->output = $output;
ob_start();
$event = new Event(['page' => $page, 'output' => &$container->output]);
$container->fireEvent('onOutputGenerated', $event);
echo $container->output;
$html = ob_get_clean();
Arguments
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#299}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/DebuggerAssetsProcessor.php
*/
class DebuggerAssetsProcessor extends ProcessorBase
{
/** @var string */
public $id = 'debugger_assets';
/** @var string */
public $title = 'Debugger Assets';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['debugger']->addAssets();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#235}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/PagesProcessor.php
$this->addMessage("Routed to page {$page->rawRoute()} (type: {$page->template()}) [Not Found fallback]");
} else {
$this->addMessage("Routed to page {$page->rawRoute()} (type: {$page->template()})");
$task = $this->container['task'];
$action = $this->container['action'];
if ($task) {
$event = new Event(['task' => $task, 'page' => $page]);
$this->container->fireEvent('onPageTask', $event);
$this->container->fireEvent('onPageTask.' . $task, $event);
} elseif ($action) {
$event = new Event(['action' => $action, 'page' => $page]);
$this->container->fireEvent('onPageAction', $event);
$this->container->fireEvent('onPageAction.' . $action, $event);
}
}
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#225}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/TwigProcessor.php
*/
class TwigProcessor extends ProcessorBase
{
/** @var string */
public $id = 'twig';
/** @var string */
public $title = 'Twig';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['twig']->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#195}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/AssetsProcessor.php
class AssetsProcessor extends ProcessorBase
{
/** @var string */
public $id = '_assets';
/** @var string */
public $title = 'Assets';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['assets']->init();
$this->container->fireEvent('onAssetsInitialized');
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#192}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/SchedulerProcessor.php
class SchedulerProcessor extends ProcessorBase
{
/** @var string */
public $id = '_scheduler';
/** @var string */
public $title = 'Scheduler';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$scheduler = $this->container['scheduler'];
$this->container->fireEvent('onSchedulerInitialized', new Event(['scheduler' => $scheduler]));
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#159}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/BackupsProcessor.php
class BackupsProcessor extends ProcessorBase
{
/** @var string */
public $id = '_backups';
/** @var string */
public $title = 'Backups';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$backups = $this->container['backups'];
$backups->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#156}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/TasksProcessor.php
$response = $handler->handle($request);
}
$this->stopTimer();
return $response;
} catch (NotFoundException $e) {
// Task not found: Let it pass through.
}
}
if ($task) {
$this->container->fireEvent('onTask.' . $task);
} elseif ($action) {
$this->container->fireEvent('onAction.' . $action);
}
}
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#154}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/RequestProcessor.php
$uri = $request->getUri();
$ext = mb_strtolower(pathinfo($uri->getPath(), PATHINFO_EXTENSION));
$request = $request
->withAttribute('grav', $this->container)
->withAttribute('time', $_SERVER['REQUEST_TIME_FLOAT'] ?? GRAV_REQUEST_TIME)
->withAttribute('route', Uri::getCurrentRoute()->withExtension($ext))
->withAttribute('referrer', $this->container['uri']->referrer());
$event = new RequestHandlerEvent(['request' => $request, 'handler' => $handler]);
/** @var RequestHandlerEvent $event */
$event = $this->container->fireEvent('onRequestHandlerInit', $event);
$response = $event->getResponse();
$this->stopTimer();
if ($response) {
return $response;
}
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#150}
Grav\Framework\RequestHandler\RequestHandler {#148}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/ThemesProcessor.php
*/
class ThemesProcessor extends ProcessorBase
{
/** @var string */
public $id = 'themes';
/** @var string */
public $title = 'Themes';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['themes']->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
Grav\Framework\RequestHandler\RequestHandler {#141}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/PluginsProcessor.php
class PluginsProcessor extends ProcessorBase
{
/** @var string */
public $id = 'plugins';
/** @var string */
public $title = 'Initialize Plugins';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$grav = $this->container;
$grav->fireEvent('onPluginsInitialized');
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
Grav\Framework\RequestHandler\RequestHandler {#118}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/InitializeProcessor.php
// Initialize URI (uses session, see issue #3269).
$this->initializeUri($config);
// Grav may return redirect response right away.
$redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
if ($redirectCode) {
$response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
if ($response) {
$this->stopTimer('_init');
return $response;
}
}
$this->stopTimer('_init');
// Wrap call to next handler so that debugger can profile it.
/** @var Response $response */
$response = $debugger->profile(static function () use ($handler, $request) {
return $handler->handle($request);
});
// Log both request and response and return the response.
return $debugger->logRequest($request, $response);
}
public function processCli(): void
{
// Load configuration.
$config = $this->initializeConfig();
// Initialize logger.
$this->initializeLogger($config);
// Disable debugger.
$this->container['debugger']->enabled(false);
// Set timezone, locale.
$this->initializeLocale($config);
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Debugger.php
}
$this->addMeasures();
$this->addDeprecations();
$this->timers = [];
return $this->debugbar->getData();
}
/**
* Hierarchical Profiler support.
*
* @param callable $callable
* @param string|null $message
* @return mixed
*/
public function profile(callable $callable, string $message = null)
{
$this->startProfiling();
$response = $callable();
$this->stopProfiling($message);
return $response;
}
public function addTwigProfiler(Environment $twig): void
{
$clockwork = $this->getClockwork();
if ($clockwork) {
$source = new TwigClockworkDataSource($twig);
$source->listenToEvents();
$clockwork->addDataSource($source);
}
}
/**
* Start profiling code.
*
* @return void
*/
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Processors/InitializeProcessor.php
// Initialize URI (uses session, see issue #3269).
$this->initializeUri($config);
// Grav may return redirect response right away.
$redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
if ($redirectCode) {
$response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
if ($response) {
$this->stopTimer('_init');
return $response;
}
}
$this->stopTimer('_init');
// Wrap call to next handler so that debugger can profile it.
/** @var Response $response */
$response = $debugger->profile(static function () use ($handler, $request) {
return $handler->handle($request);
});
// Log both request and response and return the response.
return $debugger->logRequest($request, $response);
}
public function processCli(): void
{
// Load configuration.
$config = $this->initializeConfig();
// Initialize logger.
$this->initializeLogger($config);
// Disable debugger.
$this->container['debugger']->enabled(false);
// Set timezone, locale.
$this->initializeLocale($config);
Arguments
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
private $handler;
/** @var ContainerInterface|null */
private $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
Grav\Framework\RequestHandler\RequestHandler {#84}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/system/src/Grav/Common/Grav.php
},
'pagesProcessor' => function () {
return new PagesProcessor($this);
},
'debuggerAssetsProcessor' => function () {
return new DebuggerAssetsProcessor($this);
},
'renderProcessor' => function () {
return new RenderProcessor($this);
},
]
);
$default = static function () {
return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-store, max-age=0'], 'Not Found');
};
$collection = new RequestHandler($this->middleware, $default, $container);
$response = $collection->handle($this['request']);
$body = $response->getBody();
/** @var Messages $messages */
$messages = $this['messages'];
// Prevent caching if session messages were displayed in the page.
$noCache = $messages->isCleared();
if ($noCache) {
$response = $response->withHeader('Cache-Control', 'no-store, max-age=0');
}
// Handle ETag and If-None-Match headers.
if ($response->getHeaderLine('ETag') === '1') {
$etag = md5($body);
$response = $response->withHeader('ETag', '"' . $etag . '"');
$search = trim($this['request']->getHeaderLine('If-None-Match'), '"');
if ($noCache === false && $search === $etag) {
$response = $response->withStatus(304);
$body = '';
Arguments
Nyholm\Psr7\ServerRequest {#63}
/home/domains/vol4/652/2907652/user/htdocs/index.php
if (!is_file($autoload)) {
die('Please run: <i>bin/grav install</i>');
}
// Register the auto-loader.
$loader = require $autoload;
use Grav\Common\Grav;
use RocketTheme\Toolbox\Event\Event;
// Get the Grav instance
$grav = Grav::instance(
array(
'loader' => $loader
)
);
// Process the page
try {
$grav->process();
} catch (\Error $e) {
$grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
throw $e;
} catch (\Exception $e) {
$grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
throw $e;
}