/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura/templates/partials/blog_item.html.twig
{% if header_image_file %}
{% set header_image_media = page.media.images[header_image_file] %}
{% else %}
{% set header_image_media = page.media.images|first %}
{% endif %}
{{ header_image_media.cropZoom(header_image_width, header_image_height).html }}
{% endif %}
</div>
<div class="list-blog-padding">
{% if page.header.continue_link is sameas(false) %}
<div class="e-content">
{{ page.content }}
</div>
{% if not truncate %}
{% set show_prev_next = true %}
{% endif %}
{% elseif truncate and page.summary != page.content %}
<div class="p-summary e-content">
{{ page.summary }}
<p><a href="{{ page.url }}">{{ 'BLOG.ITEM.CONTINUE_READING'|t }}</a></p>
</div>
{% elseif truncate %}
<div class="p-summary e-content">
{{ page.content }}
<p><a href="{{ page.url }}">{{ 'BLOG.ITEM.CONTINUE_READING'|t }}</a></p>
</div>
{% else %}
<div class="e-content">
{{ page.content }}
</div>
{% set show_prev_next = true %}
{% endif %}
{% if show_prev_next %}
Arguments
"An exception has been thrown during the rendering of a template ("Trying to access array offset on value of type bool")."
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/classes/ExternalLinks.php
$width = 0;
$height = 0;
// Determine image dimensions based on "src" atrribute
if ($imgNode->hasAttribute('src')) {
$src = $imgNode->getAttribute('src');
// Simple check if the URL is internal i.e. check if path exists
$path = $_SERVER['DOCUMENT_ROOT'] . $src;
if (realpath($path) && is_file($path)) {
$size = @getimagesize($path);
} else {
// The URL is external; try to load it (default: 32 KB)
$size = $this->getRemoteImageSize($src, $limit * 1024);
}
}
// Read out width and height from <img> attributes
$width = $imgNode->hasAttribute('width') ?
$imgNode->getAttribute('width') : $size[0];
$height = $imgNode->hasAttribute('height') ?
$imgNode->getAttribute('height') : $size[1];
// Get width and height from style attribute
if ( $imgNode->hasAttribute('style') ) {
$style = $imgNode->getAttribute('style');
// Width
if (preg_match('~width:\s*(\d+)([a-z]+)~i', $style, $matches)) {
$width = $matches[1];
// Convert unit to pixel
if ( isset($units[$matches[2]]) ) {
$width *= $units[$matches[2]];
}
}
// Height
if (preg_match('~height:\s*(\d+)([a-z]+)~i', $style, $matches)) {
$height = $matches[1];
// Convert unit to pixel
Arguments
"Trying to access array offset on value of type bool"
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/classes/ExternalLinks.php
$width = 0;
$height = 0;
// Determine image dimensions based on "src" atrribute
if ($imgNode->hasAttribute('src')) {
$src = $imgNode->getAttribute('src');
// Simple check if the URL is internal i.e. check if path exists
$path = $_SERVER['DOCUMENT_ROOT'] . $src;
if (realpath($path) && is_file($path)) {
$size = @getimagesize($path);
} else {
// The URL is external; try to load it (default: 32 KB)
$size = $this->getRemoteImageSize($src, $limit * 1024);
}
}
// Read out width and height from <img> attributes
$width = $imgNode->hasAttribute('width') ?
$imgNode->getAttribute('width') : $size[0];
$height = $imgNode->hasAttribute('height') ?
$imgNode->getAttribute('height') : $size[1];
// Get width and height from style attribute
if ( $imgNode->hasAttribute('style') ) {
$style = $imgNode->getAttribute('style');
// Width
if (preg_match('~width:\s*(\d+)([a-z]+)~i', $style, $matches)) {
$width = $matches[1];
// Convert unit to pixel
if ( isset($units[$matches[2]]) ) {
$width *= $units[$matches[2]];
}
}
// Height
if (preg_match('~height:\s*(\d+)([a-z]+)~i', $style, $matches)) {
$height = $matches[1];
// Convert unit to pixel
Arguments
2
"Trying to access array offset on value of type bool"
"/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/classes/ExternalLinks.php"
294
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/classes/ExternalLinks.php
}
// Set rel="noopener noreferrer"
$rel = $a->hasAttribute('rel') ? $a->getAttribute('rel') : '';
$rel = array_filter(explode(' ', $rel));
$rel[] = 'noopener';
$rel[] = 'noreferrer';
$a->setAttribute('rel', implode(' ', array_unique($rel)));
// Add image class to <a> if it has at least one <img> child element
$imgs = $a->getElementsByTagName('img');
if ($imgs->length > 1) {
// Add "images" class to <a> element, if it has multiple child images
$classes[] = 'images';
} elseif ($imgs->length == 1) {
$imgNode = $imgs->item(0);
// Get image size
list($width, $height) = $this->getImageSize($imgNode);
// Determine maximum dimension of image size
$size = max($width, $height);
// Depending on size determine image type
$classes[] = ((0 < $size) && ($size <= 32)) ? 'icon' : 'image';
} else {
// Add "no-image" class to <a> element, if it has no child images
$classes[] = 'no-image';
}
// Add title (aka alert text)
if ($options->get('title')) {
$language = Grav::instance()['language'];
$message = $language->translate(['PLUGINS.EXTERNAL_LINKS.TITLE_MESSAGE']);
// Set default title to link else, set title as data attribute
$key = $a->hasAttribute('title') ? 'data-title' : 'title';
$a->setAttribute($key, $message);
}
Arguments
DOMElement {#1881
+nodeName: "img"
+nodeValue: ""
+nodeType: XML_ELEMENT_NODE
+parentNode: DOMElement {#2009 …}
+childNodes: DOMNodeList {#2011
+length: 0
}
+firstChild: null
+lastChild: null
+previousSibling: null
+nextSibling: null
+attributes: DOMNamedNodeMap {#2003
+length: 2
}
+ownerDocument: DOMDocument {#2002 …}
+namespaceURI: null
+prefix: ""
+localName: "img"
+baseURI: null
+textContent: ""
+tagName: "img"
+schemaTypeInfo: null
}
[internal]
Arguments
array:1 [
0 => "<a href="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png"><img src="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png" alt="" /></a>"
]
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/classes/ExternalLinks.php
*/
/** -------------
* Public methods
* --------------
*/
/**
* Process contents i.e. apply filer to the content.
*
* @param string $content The content to render.
* @param array $options Options to be passed to the renderer.
* @param null|Page $page Null or an instance of \Grav\Common\Page.
*
* @return string The rendered contents.
*/
public function render($content, $options = [], $page = null)
{
// Get all <a> tags and process them
$content = preg_replace_callback('~<a(?:\s[^>]*)?>.*?</a>~i',
function($match) use ($options, $page) {
// Load PHP built-in DOMDocument class
if (($dom = $this->loadDOMDocument($match[0])) === null) {
return $match[0];
}
// Check that there is really a link tag
$a = $dom->getElementsByTagName('a');
if ($a->length == 0) {
return $match[0];
}
$a = $a->item(0);
// Process links with non-empty href attribute
$href = $a->getAttribute('href');
if (strlen($href) == 0) {
return $match[0];
}
// Get the class of the <a> element
Arguments
"~<a(?:\s[^>]*)?>.*?</a>~i"
Closure($match) {#1968 …4}
"""
<p><a href="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png"><img src="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png" alt="" /></a></p>\n
<p>I live in the woods, so getting the internet here is not as obvious as it is to most of you. I few months back when I realised my neighbour had wired broadband I tried getting it to my house too. The technician came out in a van and a hi-viz vest, poked at the phone line connection to the house, made that ticking sound with his tongue and drove off. Soon after I got a letter saying I was too far from the exchange to support wired broadband, oh and please send back the modem they had couriered me.</p>\n
<p>So, excitement over, I continued using my phone as a wifi hotspot, sharing its 3G connection. That works quite well but my plan is capped at 3GB. When I say capped that means no more data after that. Some plans allow you to pay something and put a bit more data on. Not this one. Capped means capped. It is actually an old plan and, based on the odd letter and phone call I get from Vodafone they would like me to switch, but the only things they have to switch to have less data and more voice time. Since I almost always hit the end of my data and never run out of voice this is not attractive.</p>\n
<p>You may imagine I look at the wired broadband plans that offer 80GB caps (they’re pretty well always capped in NZ) with envy. I can add to my 3GB by going to the library where I get 200MB a day, but I feel kind of 3rd world doing that. My favourite cafes offer unlimited but if I camp there all day I end up drinking too much coffee, though I tend to get all my updates done by making sure I breakfast out most weeks.</p>\n
<p>But when I get doing something like installing new software, or developing new software (which inevitably needs me to pull down some new libraries) I can easily find my quota is blown. Checking G+ gobbles up about 50MB so I don’t do that every day.</p>\n
<p>Mrs has a T-stick, a little USB 3G modem she plugs into her laptop. It will actually plug into a wireless modem we have so it would be a lot like everyone else has, ie wifi all over the house connected to broadband. Her plan has a cap as well, an <em>extendable</em> cap. That’s because it is with Telecom instead of Vodafone. So I got thinking: if I got another T-stick I’d get another 3GB. Extending Mrs for another 3G is more expensive than a separate one, besides she doesn’t quite trust me not to chew through all her quota (and she is right not to).</p>\n
<p>These T-sticks come trumpeting their support for Windows and Mac machines… but not Linux. So I expected to have to scratch around on the web and find out what to do. Mrs’ T-stick doesn’t work OOTB, I tried it. I believe it is possible and when I convince her to switch to Linux I’ll need to figure that out. But my new T-stick (pictured… it’s not a tampon) just worked. No config, nothing at all. It shows up as a wired connection. For anyone else trying this it is the E3531 T-stick and I have it running on Ubuntu 13.10. It has a little web server in it you can browse to if you need to change the config or send/receive TXT, or you can ignore it. Just browse to http://192.168.8.1</p>\n
<p>I’m not actually in the woods right now, I’m down in the city (Auckland) so I have it on my laptop, but when I get home I will plug it into the modem and use the house wifi. I probably need about 4GB/month so I can either top it up when I need to or I can use my phone, though I expect I will change the plan on the phone now, quite possibly I’ll switch it over to Telecom since they seem to do a better job.</p>\n
<p>There’s a second reason to switch the phone to Telecom. We don’t have a land line connected. That’s our choice, we used to have one, but we never used it because we have the mobiles. So when we had a big storm a while back the Vodafone network went down. The Telecom one stayed up. It meant Mrs could get online but with both phones on Vodafone we could not voice-call (and I had no internet). We didn’t need to call anyone, but it might have been handy if we had an emergency. So it seems prudent to spread it around, especially since it is no longer vital to keep that 3GB plan.</p>\n
<p>With the house wifi providing internet I can use it like the rest of you do, ie multiple devices connecting to it, hang a USB drive off the modem for simple file exchange and backup and make better use of our wifi printer. My phone needs to be plugged into power to hotspot because that chews through the battery, so doing that less will be nice.</p>
"""
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/external_links.php
$this->grav['assets']->add('plugin://external_links/assets/css/external_links.css');
}
}
/**
* Filter to parse external links.
*
* @param string $content The content to be filtered.
* @param array $options Array of options for the External links filter.
*
* @return string The filtered content.
*/
public function externalLinksFilter($content, $params = [])
{
// Get custom user configuration
$page = func_num_args() > 2 ? func_get_arg(2) : $this->grav['page'];
$config = $this->mergeConfig($page, true, $params);
// Render
return $this->init()->render($content, $config, $page);
}
/** -------------------------------
* Private/protected helper methods
* --------------------------------
*/
/**
* Checks if a page has already been compiled yet.
*
* @param Page $page The page to check
* @return boolean Returns true if page has already been
* compiled yet, false otherwise
*/
protected function compileOnce(PageInterface $page)
{
static $processed = [];
$id = md5($page->path());
// Make sure that contents is only processed once
Arguments
"""
<p><a href="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png"><img src="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png" alt="" /></a></p>\n
<p>I live in the woods, so getting the internet here is not as obvious as it is to most of you. I few months back when I realised my neighbour had wired broadband I tried getting it to my house too. The technician came out in a van and a hi-viz vest, poked at the phone line connection to the house, made that ticking sound with his tongue and drove off. Soon after I got a letter saying I was too far from the exchange to support wired broadband, oh and please send back the modem they had couriered me.</p>\n
<p>So, excitement over, I continued using my phone as a wifi hotspot, sharing its 3G connection. That works quite well but my plan is capped at 3GB. When I say capped that means no more data after that. Some plans allow you to pay something and put a bit more data on. Not this one. Capped means capped. It is actually an old plan and, based on the odd letter and phone call I get from Vodafone they would like me to switch, but the only things they have to switch to have less data and more voice time. Since I almost always hit the end of my data and never run out of voice this is not attractive.</p>\n
<p>You may imagine I look at the wired broadband plans that offer 80GB caps (they’re pretty well always capped in NZ) with envy. I can add to my 3GB by going to the library where I get 200MB a day, but I feel kind of 3rd world doing that. My favourite cafes offer unlimited but if I camp there all day I end up drinking too much coffee, though I tend to get all my updates done by making sure I breakfast out most weeks.</p>\n
<p>But when I get doing something like installing new software, or developing new software (which inevitably needs me to pull down some new libraries) I can easily find my quota is blown. Checking G+ gobbles up about 50MB so I don’t do that every day.</p>\n
<p>Mrs has a T-stick, a little USB 3G modem she plugs into her laptop. It will actually plug into a wireless modem we have so it would be a lot like everyone else has, ie wifi all over the house connected to broadband. Her plan has a cap as well, an <em>extendable</em> cap. That’s because it is with Telecom instead of Vodafone. So I got thinking: if I got another T-stick I’d get another 3GB. Extending Mrs for another 3G is more expensive than a separate one, besides she doesn’t quite trust me not to chew through all her quota (and she is right not to).</p>\n
<p>These T-sticks come trumpeting their support for Windows and Mac machines… but not Linux. So I expected to have to scratch around on the web and find out what to do. Mrs’ T-stick doesn’t work OOTB, I tried it. I believe it is possible and when I convince her to switch to Linux I’ll need to figure that out. But my new T-stick (pictured… it’s not a tampon) just worked. No config, nothing at all. It shows up as a wired connection. For anyone else trying this it is the E3531 T-stick and I have it running on Ubuntu 13.10. It has a little web server in it you can browse to if you need to change the config or send/receive TXT, or you can ignore it. Just browse to http://192.168.8.1</p>\n
<p>I’m not actually in the woods right now, I’m down in the city (Auckland) so I have it on my laptop, but when I get home I will plug it into the modem and use the house wifi. I probably need about 4GB/month so I can either top it up when I need to or I can use my phone, though I expect I will change the plan on the phone now, quite possibly I’ll switch it over to Telecom since they seem to do a better job.</p>\n
<p>There’s a second reason to switch the phone to Telecom. We don’t have a land line connected. That’s our choice, we used to have one, but we never used it because we have the mobiles. So when we had a big storm a while back the Vodafone network went down. The Telecom one stayed up. It meant Mrs could get online but with both phones on Vodafone we could not voice-call (and I had no internet). We didn’t need to call anyone, but it might have been handy if we had an emergency. So it seems prudent to spread it around, especially since it is no longer vital to keep that 3GB plan.</p>\n
<p>With the house wifi providing internet I can use it like the rest of you do, ie multiple devices connecting to it, hang a USB drive off the modem for simple file exchange and backup and make better use of our wifi printer. My phone needs to be plugged into power to hotspot because that chews through the battery, so doing that less will be nice.</p>
"""
Grav\Common\Data\Data {#1954}
Grav\Common\Page\Page {#752}
/home4/shaynep1/public_html/rogerparkinson/www/user/plugins/external_links/external_links.php
/** @var Page $page */
$page = $event['page'];
$config = $this->mergeConfig($page);
$enabled = ($config->get('process') && $config->get('enabled')) ? true : false;
if ($enabled && $this->compileOnce($page)) {
// Do nothing, if a route for a given page does not exist and check if
// mode option is valid
$mode = strtolower($config->get('mode', 'passive'));
if (!$page->route() || !in_array($mode, array('active', 'passive'))) {
return;
}
// Get content and list of exclude tags
$content = $page->getRawContent();
// Apply external links filter and save modified page content
$page->setRawContent(
$this->externalLinksFilter($content, $config->toArray(), $page)
);
}
}
/**
* Initialize Twig configuration and filters.
*/
public function onTwigInitialized()
{
// Expose function
$this->grav['twig']->twig()->addFilter(
new \Twig_SimpleFilter('external_links', [$this, 'externalLinksFilter'], ['is_safe' => ['html']])
);
}
/**
* Set needed variables to display external links.
*/
public function onTwigSiteVariables()
{
Arguments
"""
<p><a href="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png"><img src="https://www.telecom.co.nz/content/dam/tnz/mobile/tablets/Telecom-E3531-T-stick.png" alt="" /></a></p>\n
<p>I live in the woods, so getting the internet here is not as obvious as it is to most of you. I few months back when I realised my neighbour had wired broadband I tried getting it to my house too. The technician came out in a van and a hi-viz vest, poked at the phone line connection to the house, made that ticking sound with his tongue and drove off. Soon after I got a letter saying I was too far from the exchange to support wired broadband, oh and please send back the modem they had couriered me.</p>\n
<p>So, excitement over, I continued using my phone as a wifi hotspot, sharing its 3G connection. That works quite well but my plan is capped at 3GB. When I say capped that means no more data after that. Some plans allow you to pay something and put a bit more data on. Not this one. Capped means capped. It is actually an old plan and, based on the odd letter and phone call I get from Vodafone they would like me to switch, but the only things they have to switch to have less data and more voice time. Since I almost always hit the end of my data and never run out of voice this is not attractive.</p>\n
<p>You may imagine I look at the wired broadband plans that offer 80GB caps (they’re pretty well always capped in NZ) with envy. I can add to my 3GB by going to the library where I get 200MB a day, but I feel kind of 3rd world doing that. My favourite cafes offer unlimited but if I camp there all day I end up drinking too much coffee, though I tend to get all my updates done by making sure I breakfast out most weeks.</p>\n
<p>But when I get doing something like installing new software, or developing new software (which inevitably needs me to pull down some new libraries) I can easily find my quota is blown. Checking G+ gobbles up about 50MB so I don’t do that every day.</p>\n
<p>Mrs has a T-stick, a little USB 3G modem she plugs into her laptop. It will actually plug into a wireless modem we have so it would be a lot like everyone else has, ie wifi all over the house connected to broadband. Her plan has a cap as well, an <em>extendable</em> cap. That’s because it is with Telecom instead of Vodafone. So I got thinking: if I got another T-stick I’d get another 3GB. Extending Mrs for another 3G is more expensive than a separate one, besides she doesn’t quite trust me not to chew through all her quota (and she is right not to).</p>\n
<p>These T-sticks come trumpeting their support for Windows and Mac machines… but not Linux. So I expected to have to scratch around on the web and find out what to do. Mrs’ T-stick doesn’t work OOTB, I tried it. I believe it is possible and when I convince her to switch to Linux I’ll need to figure that out. But my new T-stick (pictured… it’s not a tampon) just worked. No config, nothing at all. It shows up as a wired connection. For anyone else trying this it is the E3531 T-stick and I have it running on Ubuntu 13.10. It has a little web server in it you can browse to if you need to change the config or send/receive TXT, or you can ignore it. Just browse to http://192.168.8.1</p>\n
<p>I’m not actually in the woods right now, I’m down in the city (Auckland) so I have it on my laptop, but when I get home I will plug it into the modem and use the house wifi. I probably need about 4GB/month so I can either top it up when I need to or I can use my phone, though I expect I will change the plan on the phone now, quite possibly I’ll switch it over to Telecom since they seem to do a better job.</p>\n
<p>There’s a second reason to switch the phone to Telecom. We don’t have a land line connected. That’s our choice, we used to have one, but we never used it because we have the mobiles. So when we had a big storm a while back the Vodafone network went down. The Telecom one stayed up. It meant Mrs could get online but with both phones on Vodafone we could not voice-call (and I had no internet). We didn’t need to call anyone, but it might have been handy if we had an emergency. So it seems prudent to spread it around, especially since it is no longer vital to keep that 3GB plan.</p>\n
<p>With the house wifi providing internet I can use it like the rest of you do, ie multiple devices connecting to it, hang a USB drive off the modem for simple file exchange and backup and make better use of our wifi printer. My phone needs to be plugged into power to hotspot because that chews through the battery, so doing that less will be nice.</p>
"""
array:10 [
"enabled" => true
"built_in_css" => true
"weight" => 0
"exclude" => array:2 [
"classes" => array:1 [
0 => "exclude"
]
"domains" => null
]
"links" => array:3 [
"www" => false
"redirects" => false
"schemes" => array:13 [
0 => "http"
1 => "https"
2 => "ftp"
3 => "irc"
4 => "mailto"
5 => "news"
6 => "nntp"
7 => "rtsp"
8 => "sftp"
9 => "ssh"
10 => "tel"
11 => "telnet"
12 => "webcal"
]
]
"process" => true
"title" => false
"no_follow" => true
"target" => "_blank"
"mode" => "active"
]
Grav\Common\Page\Page {#752}
/home4/shaynep1/public_html/rogerparkinson/www/vendor/symfony/event-dispatcher/EventDispatcher.php
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
// @deprecated: the ternary operator is part of a BC layer and should be removed in 5.0
$listener($listener instanceof WrappedListener ? new LegacyEventProxy($event) : $event, $eventName, $this);
}
}
/**
* @deprecated since Symfony 4.3, use callListeners() instead
*/
protected function doDispatch($listeners, $eventName, Event $event)
{
foreach ($listeners as $listener) {
if ($event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
*/
private function sortListeners(string $eventName)
{
krsort($this->listeners[$eventName]);
$this->sorted[$eventName] = [];
foreach ($this->listeners[$eventName] as &$listeners) {
foreach ($listeners as $k => &$listener) {
if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
$listener[0] = $listener[0]();
$listener[1] = $listener[1] ?? '__invoke';
}
$this->sorted[$eventName][] = $listener;
}
}
Arguments
RocketTheme\Toolbox\Event\Event {#1864}
"onPageContentProcessed"
Symfony\Component\EventDispatcher\EventDispatcher {#133
-listeners: array:61 [
"onPluginsInitialized" => array:8 [
100002 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#113}
1 => "autoload"
]
]
100001 => array:6 [
0 => array:2 [
0 => Grav\Plugin\BreadcrumbsPlugin {#99}
1 => "autoload"
]
1 => array:2 [
0 => Grav\Plugin\MarkdownNoticesPlugin {#110}
1 => "autoload"
]
2 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "autoload"
]
3 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#113}
1 => "onPluginsInitialized"
]
4 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "autoload"
]
5 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#116}
1 => "autoload"
]
]
100000 => array:4 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "setup"
]
1 => array:2 [
0 => Grav\Plugin\FeedPlugin {#103}
1 => "autoload"
]
2 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "autoload"
]
3 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#120}
1 => "autoload"
]
]
10000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "initializeSession"
]
]
1001 => array:1 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onPluginsInitialized"
]
]
1000 => array:2 [
0 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "onPluginsInitialized"
]
1 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "initializeLogin"
]
]
10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onPluginsInitialized"
]
]
0 => array:13 [
0 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onPluginsInitialized"
]
1 => array:2 [
0 => Grav\Plugin\BreadcrumbsPlugin {#99}
1 => "onPluginsInitialized"
]
2 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onPluginsInitialized"
]
3 => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin {#102}
1 => "onPluginsInitialized"
]
4 => array:2 [
0 => Grav\Plugin\FeedPlugin {#103}
1 => "onPluginsInitialized"
]
5 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onPluginsInitialized"
]
6 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPluginsInitialized"
]
7 => array:2 [
0 => Grav\Plugin\GanalyticsPlugin {#106}
1 => "onPluginsInitialized"
]
8 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#111}
1 => "onPluginsInitialized"
]
9 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onPluginsInitialized"
]
10 => array:2 [
0 => Grav\Plugin\SocialSEOMetaTagsPlugin {#118}
1 => "onPluginsInitialized"
]
11 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#119}
1 => "onPluginsInitialized"
]
12 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#120}
1 => "onPluginsInitialized"
]
]
]
"onRequestHandlerInit" => array:1 [
100000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onRequestHandlerInit"
]
]
]
"onFormRegisterTypes" => array:1 [
0 => array:2 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onFormRegisterTypes"
]
1 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onFormRegisterTypes"
]
]
]
"onPageInitialized" => array:3 [
10000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "authorizePage"
]
]
10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "authorizeLoginPage"
]
]
0 => array:6 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onPageInitialized"
]
1 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "onPageInitialized"
]
2 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "authorizePage"
]
3 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPageInitialized"
]
4 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onPageInitialized"
]
5 => array:2 [
0 => Grav\Plugin\SocialSEOMetaTagsPlugin {#118}
1 => "onPageInitialized"
]
]
]
"onShutdown" => array:1 [
1000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onShutdown"
]
]
]
"Grav\Events\PermissionsRegisterEvent" => array:2 [
1000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onRegisterPermissions"
]
]
100 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onRegisterPermissions"
]
]
]
"onAdminCreatePageFrontmatter" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\AutoDatePlugin {#98}
1 => "onAdminCreatePageFrontmatter"
]
]
]
"onFormProcessed" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onFormProcessed"
]
1 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "onFormProcessed"
]
2 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onFormProcessed"
]
]
]
"onTwigTemplatePaths" => array:2 [
0 => array:11 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onTwigTemplatePaths"
]
1 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigTemplatePaths"
]
2 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onTwigTemplatePaths"
]
3 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#116}
1 => "onTwigTemplatePaths"
]
4 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onTwigTemplatePaths"
]
5 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onTwigTemplatePaths"
]
6 => array:2 [
0 => Grav\Plugin\BreadcrumbsPlugin {#99}
1 => "onTwigTemplatePaths"
]
7 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onTwigTemplatePaths"
]
8 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onTwigTemplatePaths"
]
9 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#119}
1 => "onTwigTemplatePaths"
]
10 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#120}
1 => "onTwigTemplatePaths"
]
]
-10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "onTwigTemplatePaths"
]
]
]
"onSchedulerInitialized" => array:1 [
0 => array:4 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onSchedulerInitialized"
]
1 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "onSchedulerInitialized"
]
2 => array:2 [
0 => Grav\Common\Cache {#196}
1 => "onSchedulerInitialized"
]
3 => array:2 [
0 => Grav\Common\Backup\Backups {#308}
1 => "onSchedulerInitialized"
]
]
]
"onAdminSave" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onAdminSave"
]
]
]
"onCliInitialize" => array:2 [
100000 => array:2 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "autoload"
]
1 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "autoload"
]
]
10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "initializeFlex"
]
]
]
"onPageNotFound" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "onPageNotFound"
]
]
]
"onGetPageTemplates" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "onGetPageTemplates"
]
]
]
"onDisplayErrorPage.404" => array:1 [
-1 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "onDisplayErrorPage404"
]
]
]
"onBlueprintCreated" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FeedPlugin {#103}
1 => "onBlueprintCreated"
]
]
]
"onPageHeaders" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FeedPlugin {#103}
1 => "onPageHeaders"
]
]
]
"Grav\Events\PluginsLoadedEvent" => array:1 [
10 => array:2 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "initializeFlex"
]
1 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onPluginsLoaded"
]
]
]
"Grav\Events\FlexRegisterEvent" => array:1 [
100 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onRegisterFlex"
]
]
]
"onTwigExtensions" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigExtensions"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#116}
1 => "onTwigExtensions"
]
2 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onTwigExtensions"
]
]
]
"onAssetsInitialized" => array:1 [
0 => array:2 [
0 => array:2 [
0 => Grav\Plugin\GanalyticsPlugin {#106}
1 => "onAssetsInitialized"
]
1 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onAssetsInitialized"
]
]
]
"Grav\Events\SessionStartEvent" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onSessionStart"
]
]
]
"Grav\Events\BeforeSessionStartEvent" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onBeforeSessionStart"
]
]
]
"Grav\Plugin\Login\Events\PageAuthorizeEvent" => array:1 [
-10000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onPageAuthorizeEvent"
]
]
]
"onTask.login.login" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.twofa" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.twofa_cancel" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.forgot" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.logout" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.reset" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onTask.login.regenerate2FASecret" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onPageTask.login.invite" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "loginController"
]
]
]
"onPagesInitialized" => array:2 [
0 => array:4 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "storeReferrerPage"
]
1 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "pageVisibility"
]
2 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPagesInitialized"
]
3 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#111}
1 => "onPagesInitialized"
]
]
-10000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onPagesInitialized"
]
]
]
"onDisplayErrorPage.401" => array:1 [
-1 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onDisplayErrorPage401"
]
]
]
"onDisplayErrorPage.403" => array:1 [
-1 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onDisplayErrorPage403"
]
]
]
"onPageFallBackUrl" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "authorizeFallBackUrl"
]
]
]
"onTwigSiteVariables" => array:2 [
0 => array:8 [
0 => array:2 [
0 => Grav\Plugin\MarkdownNoticesPlugin {#110}
1 => "onTwigSiteVariables"
]
1 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onTwigSiteVariables"
]
2 => array:2 [
0 => Grav\Plugin\BreadcrumbsPlugin {#99}
1 => "onTwigSiteVariables"
]
3 => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin {#102}
1 => "onTwigSiteVariables"
]
4 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigVariables"
]
5 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#119}
1 => "onTwigSiteVariables"
]
6 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#120}
1 => "onTwigSiteVariables"
]
7 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onTwigSiteVariables"
]
]
-100000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "onTwigSiteVariables"
]
]
]
"onUserLoginAuthenticate" => array:5 [
10003 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthenticateRateLimit"
]
]
10002 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthenticateByRegistration"
]
]
10001 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthenticateByRememberMe"
]
]
10000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthenticateByEmail"
]
]
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthenticate"
]
]
]
"onUserLoginAuthorize" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginAuthorize"
]
]
]
"onUserLoginFailure" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginGuest"
]
]
]
"onUserLoginGuest" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginGuest"
]
]
]
"onUserLogin" => array:2 [
1000 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLoginResetRateLimit"
]
]
10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLogin"
]
]
]
"onUserLogout" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "userLogout"
]
]
]
"onMarkdownInitialized" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\MarkdownFontAwesomePlugin {#109}
1 => "onMarkdownInitialized"
]
1 => array:2 [
0 => Grav\Plugin\MarkdownNoticesPlugin {#110}
1 => "onMarkdownInitialized"
]
2 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onMarkdownInitialized"
]
]
]
"registerNextGenEditorPlugin" => array:1 [
0 => array:4 [
0 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#111}
1 => "registerNextGenEditorPlugin"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "registerNextGenEditorPlugin"
]
2 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "registerNextGenEditorPluginShortcodes"
]
3 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#116}
1 => "registerNextGenEditorPluginShortcodes"
]
]
]
"onAdminGenerateReports" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#113}
1 => "onAdminGenerateReports"
]
]
]
"onAdminCompilePresetSCSS" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#113}
1 => "onAdminCompilePresetSCSS"
]
]
]
"onShortcodeHandlers" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#116}
1 => "onShortcodeHandlers"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onShortcodeHandlers"
]
2 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#111}
1 => "onShortcodeHandlers"
]
]
]
"onFatalException" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#113}
1 => "onFatalException"
]
]
]
"gitsync" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\GitSyncPlugin {#107}
1 => "synchronize"
]
]
]
"onThemeInitialized" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onThemeInitialized"
]
]
]
"onPageContentRaw" => array:1 [
0 => array:2 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onPageContentRaw"
]
1 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#111}
1 => "onPageContentRaw"
]
]
]
"onPageContentProcessed" => array:2 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin {#102}
1 => "onPageContentProcessed"
]
]
-10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onPageContentProcessed"
]
]
]
"onPageContent" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onPageContent"
]
]
]
"onTwigInitialized" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#115}
1 => "onTwigInitialized"
]
1 => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin {#102}
1 => "onTwigInitialized"
]
2 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigInitialized"
]
]
]
"onTwigPageVariables" => array:1 [
0 => array:2 [
0 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onTwigPageVariables"
]
1 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigVariables"
]
]
]
"onBeforeFlexFormInitialize" => array:1 [
-10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onBeforeFlexFormInitialize"
]
]
]
"onPageTask" => array:1 [
-10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onPageTask"
]
]
]
"onPageProcessed" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPageProcessed"
]
]
]
"onFormValidationProcessed" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onFormValidationProcessed"
]
]
]
"onCollectionProcessed" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#112}
1 => "onCollectionProcessed"
]
]
]
]
-sorted: []
-optimized: array:27 [
"Grav\Events\PluginsLoadedEvent" => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin::initializeFlex(): void {#147 …4}
1 => Grav\Plugin\LoginPlugin::onPluginsLoaded(): void {#154 …4}
]
"Grav\Events\SessionStartEvent" => array:1 [
0 => Grav\Plugin\LoginPlugin::onSessionStart(SessionStartEvent $event): void {#162 …4}
]
"onPluginsInitialized" => array:29 [
0 => Grav\Plugin\ProblemsPlugin::autoload(): ClassLoader {#166 …4}
1 => Grav\Plugin\BreadcrumbsPlugin::autoload() {#167 …3}
2 => Grav\Plugin\MarkdownNoticesPlugin::autoload() {#168 …3}
3 => Grav\Plugin\PaginationPlugin::autoload() {#169 …3}
4 => Grav\Plugin\ProblemsPlugin::onPluginsInitialized(): void {#170 …4}
5 => Grav\Plugin\ShortcodeCorePlugin::autoload() {#171 …3}
6 => Grav\Plugin\ShortcodeUiPlugin::autoload() {#172 …3}
7 => Grav\Plugin\AdminPlugin::setup() {#173 …3}
8 => Grav\Plugin\FeedPlugin::autoload() {#174 …3}
9 => Grav\Plugin\GitSyncPlugin::autoload(): ClassLoader {#175 …4}
10 => Grav\Plugin\TaxonomylistPlugin::autoload(): ClassLoader {#176 …4}
11 => Grav\Plugin\LoginPlugin::initializeSession(): void {#177 …4}
12 => Grav\Plugin\AdminPlugin::onPluginsInitialized() {#178 …3}
13 => Grav\Plugin\GitSyncPlugin::onPluginsInitialized() {#179 …3}
14 => Grav\Plugin\LoginPlugin::initializeLogin(): void {#180 …4}
15 => Grav\Plugin\ShortcodeCorePlugin::onPluginsInitialized() {#181 …3}
16 => Grav\Plugin\AboutMePlugin::onPluginsInitialized() {#182 …3}
17 => Grav\Plugin\BreadcrumbsPlugin::onPluginsInitialized() {#183 …3}
18 => Grav\Plugin\EmailPlugin::onPluginsInitialized() {#184 …3}
19 => Grav\Plugin\ExternalLinksPlugin::onPluginsInitialized() {#185 …3}
20 => Grav\Plugin\FeedPlugin::onPluginsInitialized() {#186 …3}
21 => Grav\Plugin\FlexObjectsPlugin::onPluginsInitialized(): void {#187 …4}
22 => Grav\Plugin\FormPlugin::onPluginsInitialized(): void {#188 …4}
23 => Grav\Plugin\GanalyticsPlugin::onPluginsInitialized() {#189 …3}
24 => Grav\Plugin\PageInjectPlugin::onPluginsInitialized() {#190 …3}
25 => Grav\Plugin\PaginationPlugin::onPluginsInitialized() {#191 …3}
26 => Grav\Plugin\SocialSEOMetaTagsPlugin::onPluginsInitialized() {#192 …3}
27 => Grav\Plugin\SocialButtonsPlugin::onPluginsInitialized() {#193 …3}
28 => Grav\Plugin\TaxonomylistPlugin::onPluginsInitialized() {#194 …3}
]
"onThemeInitialized" => array:1 [
0 => Grav\Plugin\ShortcodeCorePlugin::onThemeInitialized() {#230 …3}
]
"onShortcodeHandlers" => array:3 [
0 => Grav\Plugin\ShortcodeUiPlugin::onShortcodeHandlers() {#232 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onShortcodeHandlers() {#233 …3}
2 => Grav\Plugin\PageInjectPlugin::onShortcodeHandlers() {#234 …3}
]
"onRequestHandlerInit" => array:1 [
0 => Grav\Plugin\AdminPlugin::onRequestHandlerInit(RequestHandlerEvent $event) {#299 …3}
]
"onGetPageTemplates" => array:1 [
0 => Grav\Plugin\ErrorPlugin::onGetPageTemplates(Event $event): void {#304 …4}
]
"onSchedulerInitialized" => array:4 [
0 => Grav\Plugin\EmailPlugin::onSchedulerInitialized(Event $e) {#315 …3}
1 => Grav\Plugin\GitSyncPlugin::onSchedulerInitialized(Event $event) {#316 …3}
2 => Grav\Common\Cache::onSchedulerInitialized(Event $event) {#317 …3}
3 => Grav\Common\Backup\Backups::onSchedulerInitialized(Event $event) {#318 …3}
]
"onAssetsInitialized" => array:2 [
0 => Grav\Plugin\GanalyticsPlugin::onAssetsInitialized() {#349 …3}
1 => Grav\Plugin\AboutMePlugin::onAssetsInitialized() {#350 …3}
]
"onTwigTemplatePaths" => array:12 [
0 => Grav\Plugin\EmailPlugin::onTwigTemplatePaths() {#356 …3}
1 => Grav\Plugin\FormPlugin::onTwigTemplatePaths(): void {#357 …4}
2 => Grav\Plugin\LoginPlugin::onTwigTemplatePaths(): void {#358 …4}
3 => Grav\Plugin\ShortcodeUiPlugin::onTwigTemplatePaths() {#359 …3}
4 => Grav\Plugin\ShortcodeCorePlugin::onTwigTemplatePaths() {#360 …3}
5 => Grav\Plugin\AboutMePlugin::onTwigTemplatePaths() {#361 …3}
6 => Grav\Plugin\BreadcrumbsPlugin::onTwigTemplatePaths() {#362 …3}
7 => Grav\Plugin\FlexObjectsPlugin::onTwigTemplatePaths(): void {#363 …4}
8 => Grav\Plugin\PaginationPlugin::onTwigTemplatePaths() {#364 …3}
9 => Grav\Plugin\SocialButtonsPlugin::onTwigTemplatePaths() {#365 …3}
10 => Grav\Plugin\TaxonomylistPlugin::onTwigTemplatePaths() {#366 …3}
11 => Grav\Plugin\ErrorPlugin::onTwigTemplatePaths(): void {#367 …4}
]
"onTwigInitialized" => array:3 [
0 => Grav\Plugin\ShortcodeCorePlugin::onTwigInitialized() {#379 …3}
1 => Grav\Plugin\ExternalLinksPlugin::onTwigInitialized() {#380 …3}
2 => Grav\Plugin\FormPlugin::onTwigInitialized(): void {#381 …4}
]
"onTwigExtensions" => array:3 [
0 => Grav\Plugin\FormPlugin::onTwigExtensions(): void {#392 …4}
1 => Grav\Plugin\ShortcodeUiPlugin::onTwigExtensions() {#393 …3}
2 => Grav\Plugin\PaginationPlugin::onTwigExtensions() {#394 …3}
]
"onPageProcessed" => array:1 [
0 => Grav\Plugin\FormPlugin::onPageProcessed(Event $event): void {#419 …4}
]
"onPagesInitialized" => array:5 [
0 => Grav\Plugin\LoginPlugin::storeReferrerPage(): void {#410 …4}
1 => Grav\Plugin\LoginPlugin::pageVisibility(Event $event): void {#407 …4}
2 => Grav\Plugin\FormPlugin::onPagesInitialized(): void {#406 …4}
3 => Grav\Plugin\PageInjectPlugin::onPagesInitialized() {#404 …3}
4 => Grav\Plugin\FlexObjectsPlugin::onPagesInitialized(Event $event): void {#402 …4}
]
"Grav\Events\FlexRegisterEvent" => array:1 [
0 => Grav\Plugin\FlexObjectsPlugin::onRegisterFlex(FlexRegisterEvent $event): void {#476 …4}
]
"onPageInitialized" => array:8 [
0 => Grav\Plugin\FlexObjectsPlugin::authorizePage(Event $event): void {#414 …4}
1 => Grav\Plugin\LoginPlugin::authorizeLoginPage(Event $event): void {#545 …4}
2 => Grav\Plugin\AdminPlugin::onPageInitialized() {#544 …3}
3 => Grav\Plugin\GitSyncPlugin::onPageInitialized() {#543 …3}
4 => Grav\Plugin\LoginPlugin::authorizePage(): void {#542 …4}
5 => Grav\Plugin\FormPlugin::onPageInitialized(): void {#541 …4}
6 => Grav\Plugin\PaginationPlugin::onPageInitialized() {#540 …3}
7 => Grav\Plugin\SocialSEOMetaTagsPlugin::onPageInitialized(Event $e) {#539 …3}
]
"onUserLoginAuthenticate" => array:5 [
0 => Grav\Plugin\LoginPlugin::userLoginAuthenticateRateLimit(UserLoginEvent $event): void {#533 …4}
1 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByRegistration(UserLoginEvent $event): void {#532 …4}
2 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByRememberMe(UserLoginEvent $event): void {#531 …4}
3 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByEmail(UserLoginEvent $event): void {#530 …4}
4 => Grav\Plugin\LoginPlugin::userLoginAuthenticate(UserLoginEvent $event): void {#529 …4}
]
"onUserLoginGuest" => array:1 [
0 => Grav\Plugin\LoginPlugin::userLoginGuest(UserLoginEvent $event): void {#538 …4}
]
"Grav\Plugin\Login\Events\PageAuthorizeEvent" => array:1 [
0 => Grav\Plugin\LoginPlugin::onPageAuthorizeEvent(PageAuthorizeEvent $event): void {#535 …4}
]
"onFormRegisterTypes" => array:2 [
0 => Grav\Plugin\AdminPlugin::onFormRegisterTypes(Event $event): void {#521 …4}
1 => Grav\Plugin\FlexObjectsPlugin::onFormRegisterTypes(Event $event): void {#520 …4}
]
"onPageContentRaw" => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin::onPageContentRaw(Event $e) {#513 …3}
1 => Grav\Plugin\PageInjectPlugin::onPageContentRaw(Event $event) {#512 …3}
]
"onMarkdownInitialized" => array:3 [
0 => Grav\Plugin\MarkdownFontAwesomePlugin::onMarkdownInitialized(Event $event) {#508 …3}
1 => Grav\Plugin\MarkdownNoticesPlugin::onMarkdownInitialized(Event $event) {#509 …3}
2 => Grav\Plugin\ShortcodeCorePlugin::onMarkdownInitialized(Event $event) {#506 …3}
]
"onPageContentProcessed" => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin::onPageContentProcessed(Event $event) {#510 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#502 …3}
]
"onPageContent" => array:1 [
0 => Grav\Plugin\ShortcodeCorePlugin::onPageContent(Event $event) {#503 …3}
]
"onCollectionProcessed" => array:1 [
0 => Grav\Plugin\PaginationPlugin::onCollectionProcessed(Event $event) {#507 …3}
]
"onTwigSiteVariables" => array:9 [
0 => Grav\Plugin\MarkdownNoticesPlugin::onTwigSiteVariables() {#772 …3}
1 => Grav\Plugin\AboutMePlugin::onTwigSiteVariables() {#773 …3}
2 => Grav\Plugin\BreadcrumbsPlugin::onTwigSiteVariables() {#778 …3}
3 => Grav\Plugin\ExternalLinksPlugin::onTwigSiteVariables() {#777 …3}
4 => Grav\Plugin\FormPlugin::onTwigVariables(Event $event = null): void {#776 …4}
5 => Grav\Plugin\SocialButtonsPlugin::onTwigSiteVariables() {#775 …3}
6 => Grav\Plugin\TaxonomylistPlugin::onTwigSiteVariables() {#774 …3}
7 => Grav\Plugin\PaginationPlugin::onTwigSiteVariables() {#493 …3}
8 => Grav\Plugin\LoginPlugin::onTwigSiteVariables(): void {#494 …4}
]
"onFatalException" => array:1 [
0 => Grav\Plugin\ProblemsPlugin::onFatalException(): void {#298 …4}
]
]
}
/home4/shaynep1/public_html/rogerparkinson/www/vendor/symfony/event-dispatcher/EventDispatcher.php
} else {
$this->removeListener($eventName, [$subscriber, \is_string($params) ? $params : $params[0]]);
}
}
}
/**
* Triggers the listeners of an event.
*
* This method can be overridden to add functionality that is executed
* for each listener.
*
* @param callable[] $listeners The event listeners
* @param string $eventName The name of the event to dispatch
* @param object $event The event object to pass to the event handlers/listeners
*/
protected function callListeners(iterable $listeners, string $eventName, $event)
{
if ($event instanceof Event) {
$this->doDispatch($listeners, $eventName, $event);
return;
}
$stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
// @deprecated: the ternary operator is part of a BC layer and should be removed in 5.0
$listener($listener instanceof WrappedListener ? new LegacyEventProxy($event) : $event, $eventName, $this);
}
}
/**
* @deprecated since Symfony 4.3, use callListeners() instead
*/
protected function doDispatch($listeners, $eventName, Event $event)
{
Arguments
array:2 [
0 => Grav\Plugin\ExternalLinksPlugin::onPageContentProcessed(Event $event) {#510 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#502 …3}
]
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1864}
/home4/shaynep1/public_html/rogerparkinson/www/vendor/symfony/event-dispatcher/EventDispatcher.php
if (\is_object($event)) {
$eventName = $eventName ?? \get_class($event);
} elseif (\is_string($event) && (null === $eventName || $eventName instanceof ContractsEvent || $eventName instanceof Event)) {
@trigger_error(sprintf('Calling the "%s::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.', EventDispatcherInterface::class), \E_USER_DEPRECATED);
$swap = $event;
$event = $eventName ?? new Event();
$eventName = $swap;
} else {
throw new \TypeError(sprintf('Argument 1 passed to "%s::dispatch()" must be an object, "%s" given.', EventDispatcherInterface::class, \is_object($event) ? \get_class($event) : \gettype($event)));
}
if (null !== $this->optimized && null !== $eventName) {
$listeners = $this->optimized[$eventName] ?? (empty($this->listeners[$eventName]) ? [] : $this->optimizeListeners($eventName));
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($eventName = null)
{
if (null !== $eventName) {
if (empty($this->listeners[$eventName])) {
return [];
}
if (!isset($this->sorted[$eventName])) {
$this->sortListeners($eventName);
}
return $this->sorted[$eventName];
Arguments
array:2 [
0 => Grav\Plugin\ExternalLinksPlugin::onPageContentProcessed(Event $event) {#510 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#502 …3}
]
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1864}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Grav.php
return $event;
}
/**
* Fires an event with optional parameters.
*
* @param string $eventName
* @param Event|null $event
* @return Event
*/
public function fireEvent($eventName, Event $event = null)
{
/** @var EventDispatcherInterface $events */
$events = $this['events'];
if (null === $event) {
$event = new Event();
}
$timestamp = microtime(true);
$events->dispatch($event, $eventName);
/** @var Debugger $debugger */
$debugger = $this['debugger'];
$debugger->addEvent($eventName, $event, $events, $timestamp);
return $event;
}
/**
* Set the final content length for the page and flush the buffer
*
* @return void
*/
public function shutdown(): void
{
// Prevent user abort allowing onShutdown event to run without interruptions.
if (function_exists('ignore_user_abort')) {
@ignore_user_abort(true);
}
Arguments
RocketTheme\Toolbox\Event\Event {#1864}
"onPageContentProcessed"
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Page/Page.php
}
if ($process_twig) {
$this->processTwig();
}
} else {
if ($this->content === false || $cache_enable === false) {
$this->content = $this->raw_content;
Grav::instance()->fireEvent('onPageContentRaw', new Event(['page' => $this]));
if ($twig_first) {
if ($process_twig) {
$this->processTwig();
}
if ($process_markdown) {
$this->processMarkdown();
}
// Content Processed but not cached yet
Grav::instance()->fireEvent('onPageContentProcessed', new Event(['page' => $this]));
} else {
if ($process_markdown) {
$this->processMarkdown($process_twig);
}
// Content Processed but not cached yet
Grav::instance()->fireEvent('onPageContentProcessed', new Event(['page' => $this]));
if ($process_twig) {
$this->processTwig();
}
}
if ($cache_enable) {
$this->cachePageContent();
}
}
}
// Handle summary divider
Arguments
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1864}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Page/Page.php
*
* @param int|null $size Max summary size.
* @param bool $textOnly Only count text size.
* @return string
*/
public function summary($size = null, $textOnly = false)
{
$config = (array)Grav::instance()['config']->get('site.summary');
if (isset($this->header->summary)) {
$config = array_merge($config, $this->header->summary);
}
// Return summary based on settings in site config file
if (!$config['enabled']) {
return $this->content();
}
// Set up variables to process summary from page or from custom summary
if ($this->summary === null) {
$content = $textOnly ? strip_tags($this->content()) : $this->content();
$summary_size = $this->summary_size;
} else {
$content = $textOnly ? strip_tags($this->summary) : $this->summary;
$summary_size = mb_strwidth($content, 'utf-8');
}
// Return calculated summary based on summary divider's position
$format = $config['format'];
// Return entire page content on wrong/ unknown format
if (!in_array($format, ['short', 'long'])) {
return $content;
}
if (($format === 'short') && isset($summary_size)) {
// Slice the string
if (mb_strwidth($content, 'utf8') > $summary_size) {
return mb_substr($content, 0, $summary_size);
}
return $content;
}
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Template.php
if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
return;
}
throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), -1, $this->getSourceContext());
}
if ($isDefinedTest) {
return true;
}
if ($this->env->hasExtension('\Twig\Extension\SandboxExtension')) {
$this->env->getExtension('\Twig\Extension\SandboxExtension')->checkMethodAllowed($object, $method);
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
if (!$arguments) {
$ret = $object->$method();
} else {
$ret = \call_user_func_array([$object, $method], $arguments);
}
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
return;
}
throw $e;
}
// @deprecated in 1.28
if ($object instanceof \Twig_TemplateInterface) {
$self = $object->getTemplateName() === $this->getTemplateName();
$message = sprintf('Calling "%s" on template "%s" from template "%s" is deprecated since version 1.28 and won\'t be supported anymore in 2.0.', $item, $object->getTemplateName(), $this->getTemplateName());
if ('renderBlock' === $method || 'displayBlock' === $method) {
$message .= sprintf(' Use block("%s"%s) instead).', $arguments[0], $self ? '' : ', template');
} elseif ('hasBlock' === $method) {
$message .= sprintf(' Use "block("%s"%s) is defined" instead).', $arguments[0], $self ? '' : ', template');
} elseif ('render' === $method || 'display' === $method) {
$message .= sprintf(' Use include("%s") instead).', $object->getTemplateName());
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
Grav\Common\Page\Page {#752}
"summary"
[]
/home4/shaynep1/public_html/rogerparkinson/www/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:53 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#752}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
"child" => Grav\Common\Page\Page {#752}
"blog" => Grav\Common\Page\Page {#441}
"truncate" => true
"header_image" => true
"header_image_width" => 900
"header_image_height" => 300
"header_image_file" => null
"_parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"_seq" => Grav\Common\Page\Collection {#1241}
"loop" => array:8 [
"parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"index0" => 9
"index" => 10
"first" => false
"revindex0" => 0
"revindex" => 1
"length" => 10
"last" => true
]
"_key" => "connectivity"
"header_image_media" => false
]
[]
/home4/shaynep1/public_html/rogerparkinson/www/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:48 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#752}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
"_parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"_seq" => Grav\Common\Page\Collection {#1241}
"loop" => array:8 [
"parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"index0" => 9
"index" => 10
"first" => false
"revindex0" => 0
"revindex" => 1
"length" => 10
"last" => true
]
"child" => Grav\Common\Page\Page {#752}
"_key" => "connectivity"
"blog" => Grav\Common\Page\Page {#441}
"truncate" => true
]
[]
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
array:48 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#752}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
"_parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"_seq" => Grav\Common\Page\Collection {#1241}
"loop" => array:8 [
"parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"index0" => 9
"index" => 10
"first" => false
"revindex0" => 0
"revindex" => 1
"length" => 10
"last" => true
]
"child" => Grav\Common\Page\Page {#752}
"_key" => "connectivity"
"blog" => Grav\Common\Page\Page {#441}
"truncate" => true
]
/home4/shaynep1/public_html/rogerparkinson/www/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:46 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
"_parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"_seq" => Grav\Common\Page\Collection {#1241}
"loop" => array:8 [
"parent" => array:41 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"blog_image" => null
]
"index0" => 9
"index" => 10
"first" => false
"revindex0" => 0
"revindex" => 1
"length" => 10
"last" => true
]
"child" => Grav\Common\Page\Page {#752}
"_key" => "connectivity"
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
"content"
array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/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:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
"body"
array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/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:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
"theme_config" => array:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/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:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_6d2bfa9c28d59ae03353544ee8ae6837cf963627bb0c03196605e676f8a7f07f {#2162}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
array:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/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:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1241}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/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:38 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_bdb9c785830510c4c2cd19be9cfd8c5ae21ce1212bf2c0066dc9f4c246bb09d1___1505823 {#1402}
1 => "block_content"
]
]
/home4/shaynep1/public_html/rogerparkinson/www/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
array:38 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
/home4/shaynep1/public_html/rogerparkinson/www/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:38 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
[]
/home4/shaynep1/public_html/rogerparkinson/www/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:38 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
[]
/home4/shaynep1/public_html/rogerparkinson/www/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
]
/home4/shaynep1/public_html/rogerparkinson/www/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
]
[]
/home4/shaynep1/public_html/rogerparkinson/www/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
]
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Twig/Twig.php
$twig_vars = $this->twig_vars;
$twig_vars['theme'] = $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 = $grav['uri']->params(null, true);
if (!empty($params)) {
$this->twig->setCache(false);
}
// Get Twig template layout
$template = $this->getPageTwigTemplate($page, $format);
$page->templateFormat($format);
$output = $this->twig->render($template, $vars + $twig_vars);
} catch (LoaderError $e) {
throw new RuntimeException($e->getMessage(), 400, $e);
} catch (RuntimeError $e) {
$prev = $e->getPrevious();
if ($prev instanceof TwigException) {
$code = $prev->getCode() ?: 500;
// Fire onPageNotFound event.
$event = new Event([
'page' => $page,
'code' => $code,
'message' => $prev->getMessage(),
'exception' => $prev,
'route' => $grav['route'],
'request' => $grav['request']
]);
$event = $grav->fireEvent("onDisplayErrorPage.{$code}", $event);
$newPage = $event['page'];
if ($newPage && $newPage !== $page) {
unset($grav['page']);
$grav['page'] = $newPage;
Arguments
"blog.html.twig"
array:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#383}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => null
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => null
"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:12 [
"supported" => null
"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
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => false
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "madura"
"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" => true
"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" => null
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "302"
"redirect_trailing_slash" => 1
"redirect_default_route" => 0
"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:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:15 [
"enabled" => true
"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" => true
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => false
"redis" => array:5 [
"socket" => "0"
"password" => null
"database" => null
"server" => null
"port" => null
]
"memcache" => array:2 [
"server" => null
"port" => null
]
"memcached" => array:2 [
"server" => null
"port" => 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:16 [
"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_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_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" => 1
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => "1"
]
"defaults" => array:2 [
"loading" => "auto"
"decoding" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => null
"allowed_fallback_types" => null
"auto_metadata_exif" => false
"upload_limit" => 536870912
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => false
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"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:1 [
"streams" => array:1 [
"schemes" => array:1 [
"theme" => array:2 [
"type" => "ReadOnlyStream"
"prefixes" => array:1 [
"" => array:2 [
0 => "user/themes/madura"
1 => "user/themes/antimatter"
]
]
]
]
]
]
"site" => array:10 [
"title" => "Roger Parkinson"
"default_lang" => "en"
"author" => array:2 [
"name" => "Roger Parkinson"
"email" => "roger.parkinson35@gmail.com"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:2 [
"description" => "Roger Parkinson"
"keywords" => "Books, Fantasy, Dragons, Sheep, Cats"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
"menu" => null
]
"uri" => Grav\Common\Uri {#158}
"assets" => Grav\Common\Assets {#347}
"taxonomy" => Grav\Common\Taxonomy {#391}
"browser" => Grav\Common\Browser {#398}
"base_dir" => "/home4/shaynep1/public_html/rogerparkinson/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://roger-parkinson.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/rogerparkinson/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#399}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => "I spend the most of my time writing software, making furniture and working in my garden and orchard with my wife and our four sheep.\r\n"
"aboutme_picture_src" => "user/plugins/aboutme/assets/avatars/santa.jpg"
"aboutme_pages" => array:6 [
"facebook" => array:4 [
"icon_type" => "b"
"icon" => "facebook-official"
"title" => "Facebook"
"position" => 1
]
"twitter" => array:4 [
"icon_type" => "b"
"icon" => "twitter"
"title" => "Twitter"
"position" => 2
]
"google_plus" => array:3 [
"icon" => "google-plus-square"
"title" => "Google+"
"position" => 3
]
"github" => array:4 [
"icon_type" => "b"
"icon" => "github"
"title" => "GitHub"
"position" => 4
]
"linkedin" => array:4 [
"icon_type" => "b"
"icon" => "linkedin-square"
"title" => "LinkedIn"
"position" => 5
]
"instagram" => array:4 [
"icon_type" => "b"
"icon" => "instagram"
"title" => "Instagram"
"position" => 6
]
]
"breadcrumbs" => Grav\Plugin\Breadcrumbs\Breadcrumbs {#421}
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://roger-parkinson.com"
"socialbuttons_buttons" => array:13 [
"facebook" => array:2 [
"enabled" => true
"label" => "Facebook"
]
"twitter" => array:2 [
"enabled" => true
"label" => "twitter"
]
"googleplus" => array:2 [
"enabled" => false
"label" => "Google+"
]
"linkedin" => array:2 [
"enabled" => true
"label" => "Linkedin"
]
"reddit" => array:2 [
"enabled" => true
"label" => "Reddit"
]
"youtube" => array:2 [
"enabled" => false
"label" => "Youtube"
]
"hackernews" => array:2 [
"enabled" => false
"label" => "Hackernews"
]
"pinterest" => array:2 [
"enabled" => false
"label" => "Pinterest"
]
"pocket" => array:2 [
"enabled" => false
"label" => "Pocket"
]
"tumblr" => array:2 [
"enabled" => true
"label" => "Tumblr"
]
"vk" => array:2 [
"enabled" => false
"label" => "VK"
]
"github" => array:2 [
"enabled" => true
"label" => "Github"
]
"email" => array:2 [
"enabled" => true
"label" => "Email"
]
]
"taxonomylist" => Grav\Plugin\Taxonomylist {#782}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#415}
"page" => Grav\Common\Page\Page {#441}
"header" => {#550}
"media" => Grav\Common\Page\Media {#516}
"content" => ""
]
/home4/shaynep1/public_html/rogerparkinson/www/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
/home4/shaynep1/public_html/rogerparkinson/www/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
*/
#[\ReturnTypeWillChange]
public function offsetExists($id)
{
return isset($this->keys[$id]);
}
Arguments
/home4/shaynep1/public_html/rogerparkinson/www/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
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#424}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#501}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Processors/PagesProcessor.php
/** @var Forms $forms */
$forms = $this->container['forms'] ?? null;
$form = $forms ? $forms->getActiveForm() : null;
$options = ['page' => $page, 'form' => $form, 'request' => $request];
if ($task) {
$event = new Event(['task' => $task] + $options);
$this->container->fireEvent('onPageTask', $event);
$this->container->fireEvent('onPageTask.' . $task, $event);
} elseif ($action) {
$event = new Event(['action' => $action] + $options);
$this->container->fireEvent('onPageAction', $event);
$this->container->fireEvent('onPageAction.' . $action, $event);
}
}
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#401}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#354}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#346}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#312}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#307}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#300}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Processors/RequestProcessor.php
$uri = $request->getUri();
$ext = mb_strtolower(Utils::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 {#236}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#236}
Grav\Framework\RequestHandler\RequestHandler {#231}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#66}
Grav\Framework\RequestHandler\RequestHandler {#215}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#66}
Grav\Framework\RequestHandler\RequestHandler {#164}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/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
*/
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Common/Processors/InitializeProcessor.php
$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);
// Load plugins.
Arguments
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#66}
Grav\Framework\RequestHandler\RequestHandler {#89}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Middlewares/MultipartRequestSupport.php
use function in_array;
use function is_array;
use function strlen;
/**
* Multipart request support for PUT and PATCH.
*/
class MultipartRequestSupport implements MiddlewareInterface
{
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$contentType = $request->getHeaderLine('content-type');
$method = $request->getMethod();
if (!str_starts_with($contentType, 'multipart/form-data') || !in_array($method, ['PUT', 'PATH'], true)) {
return $handler->handle($request);
}
$boundary = explode('; boundary=', $contentType, 2)[1] ?? '';
$parts = explode("--{$boundary}", $request->getBody()->getContents());
$parts = array_slice($parts, 1, count($parts) - 2);
$params = [];
$files = [];
foreach ($parts as $part) {
$this->processPart($params, $files, $part);
}
return $handler->handle($request->withParsedBody($params)->withUploadedFiles($files));
}
/**
* @param array $params
* @param array $files
* @param string $part
* @return void
Arguments
Nyholm\Psr7\ServerRequest {#66}
/home4/shaynep1/public_html/rogerparkinson/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $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 {#66}
Grav\Framework\RequestHandler\RequestHandler {#87}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/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 {#66}
/home4/shaynep1/public_html/rogerparkinson/www/index.php
// Register the auto-loader.
$loader = require $autoload;
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());
// Set internal encoding.
@ini_set('default_charset', 'UTF-8');
mb_internal_encoding('UTF-8');
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|\Exception $e) {
$grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
throw $e;
}