/home4/shaynep1/public_html/madura/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 %}
<p class="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/madura/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/madura/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/madura/www/user/plugins/external_links/classes/ExternalLinks.php"
294
/home4/shaynep1/public_html/madura/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 {#1803
+nodeName: "img"
+nodeValue: ""
+nodeType: XML_ELEMENT_NODE
+parentNode: DOMElement {#1860 …}
+childNodes: DOMNodeList {#1858
+length: 0
}
+firstChild: null
+lastChild: null
+previousSibling: null
+nextSibling: null
+attributes: DOMNamedNodeMap {#1853
+length: 2
}
+ownerDocument: DOMDocument {#1850 …}
+namespaceURI: null
+prefix: ""
+localName: "img"
+baseURI: null
+textContent: ""
+tagName: "img"
+schemaTypeInfo: null
}
[internal]
Arguments
array:1 [
0 => "<a href="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg"><img src="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg" alt="" /></a>"
]
/home4/shaynep1/public_html/madura/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) {#1794 …4}
"""
<p><a href="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg"><img src="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg" alt="" /></a></p>\n
<p>I’ve re-deployed my demos. This is more interesting than it sounds, well I hope it is anyway. I’ve already posted about each of them. This is about the pain of getting them up there and running in the cloud.</p>\n
<p>Long ago I had them running on CloudFoundry and they worked fine, then the CloudFoundry business model changed and their free option went away. Since I make no money from this stuff the demo site has to be free, so I went to AppFrog who were running the same CloudFoundry software and they lived there for a while…until the same thing happened.</p>\n
<p>Recently, after completing the Workflow project, I had some free time so I thought I’d try and get them going on Google Application Engine. But I gave up on that yesterday (yes, it was only yesterday) and loaded them onto OpenShift (Red Hat’s cloud offering). They worked first time. It was so easy. I was surprised.</p>\n
<p>The reason I was surprised was that it was so very hard to do Google Application Engine. There were two main issues.</p>\n
<p>First, GAE doesn’t like Logback, which is a commonly used logging mechanism and I use it everywhere (because <em>commonly used</em> means it should work everywhere, right?) GAE only likes JUL and no one I know uses JUL. JUL is the native Java logging mechanism and it is the reason for products like Logback, ie people hate JUL and want something else.</p>\n
<p>But switching to JUL was not a big deal. I wouldn’t want to have to work with it, but these demos are already debugged so that’s mostly okay.</p>\n
<p>Next GAE needs lots of classes to be serializable so it can flick sessions between servers. I see the sense of this and I went off and made all my classes serializable. It didn’t take very long, actually. Of course I tried it out using GAE’s Eclipse plugin to make sure it was working and it was.</p>\n
<p>But when I deployed it for real it complained of more classes that needed to be serializable. However these aren’t my classes, they’re libraries from other people. Spring etc. I can’t change them (well, not unless I want to maintain them ever after, and I don’t). I suspect there is a solution to that particular problem but I’d noticed that the only way to find out any of this stuff is with the remote deploy. The local test told me nothing. This was true of the Logback issue too. So I realised this might go on forever and I bailed.</p>\n
<p>Openshift, in contrast, was quite happy with Logback and didn’t care about Serialization. That may cost them something in efficiency, but it sure got up and running fast.</p>\n
<p>There seem to be two general approaches with Openshift: using Git and using scp. The Git option assumes you store your project source on their Git repository and they build and deploy from there when you tell them. Sounds fine, but I already have a public Git repository at GitHub, and my maven build works just fine. I don’t feel a pressing need to learn their build syntax etc, though it is likely easy enough.</p>\n
<p>The scp option is basically ‘I have this war file, upload it and deploy it’. Great! That’s what I did. Worked first time. I suspect the running applications are not as fast as they might be but for a free service I can live with that. I’ll even listen to arguments that GAE’s serialization requirements really help Google deliver a faster application. But working trumps speed and I have it working.</p>
"""
/home4/shaynep1/public_html/madura/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.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg"><img src="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg" alt="" /></a></p>\n
<p>I’ve re-deployed my demos. This is more interesting than it sounds, well I hope it is anyway. I’ve already posted about each of them. This is about the pain of getting them up there and running in the cloud.</p>\n
<p>Long ago I had them running on CloudFoundry and they worked fine, then the CloudFoundry business model changed and their free option went away. Since I make no money from this stuff the demo site has to be free, so I went to AppFrog who were running the same CloudFoundry software and they lived there for a while…until the same thing happened.</p>\n
<p>Recently, after completing the Workflow project, I had some free time so I thought I’d try and get them going on Google Application Engine. But I gave up on that yesterday (yes, it was only yesterday) and loaded them onto OpenShift (Red Hat’s cloud offering). They worked first time. It was so easy. I was surprised.</p>\n
<p>The reason I was surprised was that it was so very hard to do Google Application Engine. There were two main issues.</p>\n
<p>First, GAE doesn’t like Logback, which is a commonly used logging mechanism and I use it everywhere (because <em>commonly used</em> means it should work everywhere, right?) GAE only likes JUL and no one I know uses JUL. JUL is the native Java logging mechanism and it is the reason for products like Logback, ie people hate JUL and want something else.</p>\n
<p>But switching to JUL was not a big deal. I wouldn’t want to have to work with it, but these demos are already debugged so that’s mostly okay.</p>\n
<p>Next GAE needs lots of classes to be serializable so it can flick sessions between servers. I see the sense of this and I went off and made all my classes serializable. It didn’t take very long, actually. Of course I tried it out using GAE’s Eclipse plugin to make sure it was working and it was.</p>\n
<p>But when I deployed it for real it complained of more classes that needed to be serializable. However these aren’t my classes, they’re libraries from other people. Spring etc. I can’t change them (well, not unless I want to maintain them ever after, and I don’t). I suspect there is a solution to that particular problem but I’d noticed that the only way to find out any of this stuff is with the remote deploy. The local test told me nothing. This was true of the Logback issue too. So I realised this might go on forever and I bailed.</p>\n
<p>Openshift, in contrast, was quite happy with Logback and didn’t care about Serialization. That may cost them something in efficiency, but it sure got up and running fast.</p>\n
<p>There seem to be two general approaches with Openshift: using Git and using scp. The Git option assumes you store your project source on their Git repository and they build and deploy from there when you tell them. Sounds fine, but I already have a public Git repository at GitHub, and my maven build works just fine. I don’t feel a pressing need to learn their build syntax etc, though it is likely easy enough.</p>\n
<p>The scp option is basically ‘I have this war file, upload it and deploy it’. Great! That’s what I did. Worked first time. I suspect the running applications are not as fast as they might be but for a free service I can live with that. I’ll even listen to arguments that GAE’s serialization requirements really help Google deliver a faster application. But working trumps speed and I have it working.</p>
"""
Grav\Common\Data\Data {#1800}
Grav\Common\Page\Page {#609}
/home4/shaynep1/public_html/madura/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.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg"><img src="https://www.openshift.com/sites/default/files/file_downloads/ScalingGraphic_Online.svg" alt="" /></a></p>\n
<p>I’ve re-deployed my demos. This is more interesting than it sounds, well I hope it is anyway. I’ve already posted about each of them. This is about the pain of getting them up there and running in the cloud.</p>\n
<p>Long ago I had them running on CloudFoundry and they worked fine, then the CloudFoundry business model changed and their free option went away. Since I make no money from this stuff the demo site has to be free, so I went to AppFrog who were running the same CloudFoundry software and they lived there for a while…until the same thing happened.</p>\n
<p>Recently, after completing the Workflow project, I had some free time so I thought I’d try and get them going on Google Application Engine. But I gave up on that yesterday (yes, it was only yesterday) and loaded them onto OpenShift (Red Hat’s cloud offering). They worked first time. It was so easy. I was surprised.</p>\n
<p>The reason I was surprised was that it was so very hard to do Google Application Engine. There were two main issues.</p>\n
<p>First, GAE doesn’t like Logback, which is a commonly used logging mechanism and I use it everywhere (because <em>commonly used</em> means it should work everywhere, right?) GAE only likes JUL and no one I know uses JUL. JUL is the native Java logging mechanism and it is the reason for products like Logback, ie people hate JUL and want something else.</p>\n
<p>But switching to JUL was not a big deal. I wouldn’t want to have to work with it, but these demos are already debugged so that’s mostly okay.</p>\n
<p>Next GAE needs lots of classes to be serializable so it can flick sessions between servers. I see the sense of this and I went off and made all my classes serializable. It didn’t take very long, actually. Of course I tried it out using GAE’s Eclipse plugin to make sure it was working and it was.</p>\n
<p>But when I deployed it for real it complained of more classes that needed to be serializable. However these aren’t my classes, they’re libraries from other people. Spring etc. I can’t change them (well, not unless I want to maintain them ever after, and I don’t). I suspect there is a solution to that particular problem but I’d noticed that the only way to find out any of this stuff is with the remote deploy. The local test told me nothing. This was true of the Logback issue too. So I realised this might go on forever and I bailed.</p>\n
<p>Openshift, in contrast, was quite happy with Logback and didn’t care about Serialization. That may cost them something in efficiency, but it sure got up and running fast.</p>\n
<p>There seem to be two general approaches with Openshift: using Git and using scp. The Git option assumes you store your project source on their Git repository and they build and deploy from there when you tell them. Sounds fine, but I already have a public Git repository at GitHub, and my maven build works just fine. I don’t feel a pressing need to learn their build syntax etc, though it is likely easy enough.</p>\n
<p>The scp option is basically ‘I have this war file, upload it and deploy it’. Great! That’s what I did. Worked first time. I suspect the running applications are not as fast as they might be but for a free service I can live with that. I’ll even listen to arguments that GAE’s serialization requirements really help Google deliver a faster application. But working trumps speed and I have it working.</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 {#609}
/home4/shaynep1/public_html/madura/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 {#1792}
"onPageContentProcessed"
Symfony\Component\EventDispatcher\EventDispatcher {#134
-listeners: array:60 [
"onPluginsInitialized" => array:8 [
100002 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#117}
1 => "autoload"
]
]
100001 => array:5 [
0 => array:2 [
0 => Grav\Plugin\MarkdownNoticesPlugin {#110}
1 => "autoload"
]
1 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
1 => "autoload"
]
2 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#117}
1 => "onPluginsInitialized"
]
3 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "autoload"
]
4 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#120}
1 => "autoload"
]
]
100000 => array:3 [
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\TaxonomylistPlugin {#124}
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:1 [
0 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "initializeLogin"
]
]
10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onPluginsInitialized"
]
]
0 => array:13 [
0 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onPluginsInitialized"
]
1 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onPluginsInitialized"
]
2 => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin {#102}
1 => "onPluginsInitialized"
]
3 => array:2 [
0 => Grav\Plugin\FeedPlugin {#103}
1 => "onPluginsInitialized"
]
4 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onPluginsInitialized"
]
5 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPluginsInitialized"
]
6 => array:2 [
0 => Grav\Plugin\GanalyticsPlugin {#106}
1 => "onPluginsInitialized"
]
7 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#114}
1 => "onPluginsInitialized"
]
8 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
1 => "onPluginsInitialized"
]
9 => array:2 [
0 => Grav\Plugin\SocialSEOMetaTagsPlugin {#122}
1 => "onPluginsInitialized"
]
10 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#123}
1 => "onPluginsInitialized"
]
11 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#124}
1 => "onPluginsInitialized"
]
12 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
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:5 [
0 => array:2 [
0 => Grav\Plugin\AdminPlugin {#94}
1 => "onPageInitialized"
]
1 => array:2 [
0 => Grav\Plugin\LoginPlugin {#108}
1 => "authorizePage"
]
2 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onPageInitialized"
]
3 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
1 => "onPageInitialized"
]
4 => array:2 [
0 => Grav\Plugin\SocialSEOMetaTagsPlugin {#122}
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:2 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onFormProcessed"
]
1 => 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 {#120}
1 => "onTwigTemplatePaths"
]
4 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onTwigTemplatePaths"
]
5 => array:2 [
0 => Grav\Plugin\AboutMePlugin {#95}
1 => "onTwigTemplatePaths"
]
6 => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin {#104}
1 => "onTwigTemplatePaths"
]
7 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
1 => "onTwigTemplatePaths"
]
8 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#123}
1 => "onTwigTemplatePaths"
]
9 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#124}
1 => "onTwigTemplatePaths"
]
10 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
1 => "onTwigTemplatePaths"
]
]
-10 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ErrorPlugin {#101}
1 => "onTwigTemplatePaths"
]
]
]
"onSchedulerInitialized" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\EmailPlugin {#100}
1 => "onSchedulerInitialized"
]
1 => array:2 [
0 => Grav\Common\Cache {#192}
1 => "onSchedulerInitialized"
]
2 => array:2 [
0 => Grav\Common\Backup\Backups {#302}
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:4 [
0 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigExtensions"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#120}
1 => "onTwigExtensions"
]
2 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
1 => "onTwigExtensions"
]
3 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
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 {#114}
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\ExternalLinksPlugin {#102}
1 => "onTwigSiteVariables"
]
3 => array:2 [
0 => Grav\Plugin\FormPlugin {#105}
1 => "onTwigVariables"
]
4 => array:2 [
0 => Grav\Plugin\SocialButtonsPlugin {#123}
1 => "onTwigSiteVariables"
]
5 => array:2 [
0 => Grav\Plugin\TaxonomylistPlugin {#124}
1 => "onTwigSiteVariables"
]
6 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
1 => "onTwigSiteVariables"
]
7 => array:2 [
0 => Grav\Plugin\PaginationPlugin {#116}
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 {#119}
1 => "onMarkdownInitialized"
]
]
]
"registerNextGenEditorPlugin" => array:1 [
0 => array:5 [
0 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#114}
1 => "registerNextGenEditorPlugin"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "registerNextGenEditorPlugin"
]
2 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "registerNextGenEditorPluginShortcodes"
]
3 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#120}
1 => "registerNextGenEditorPluginShortcodes"
]
4 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
1 => "registerNextGenEditorPluginShortcodes"
]
]
]
"onAdminGenerateReports" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#117}
1 => "onAdminGenerateReports"
]
]
]
"onAdminCompilePresetSCSS" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#117}
1 => "onAdminCompilePresetSCSS"
]
]
]
"onShortcodeHandlers" => array:1 [
0 => array:4 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeUiPlugin {#120}
1 => "onShortcodeHandlers"
]
1 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onShortcodeHandlers"
]
2 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#114}
1 => "onShortcodeHandlers"
]
3 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
1 => "onShortcodeHandlers"
]
]
]
"onFatalException" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ProblemsPlugin {#117}
1 => "onFatalException"
]
]
]
"onThemeInitialized" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onThemeInitialized"
]
]
]
"onPageContentRaw" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onPageContentRaw"
]
1 => array:2 [
0 => Grav\Plugin\PageInjectPlugin {#114}
1 => "onPageContentRaw"
]
2 => array:2 [
0 => Grav\Plugin\YoutubePlugin {#125}
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 {#119}
1 => "onPageContentProcessed"
]
]
]
"onPageContent" => array:1 [
0 => array:1 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
1 => "onPageContent"
]
]
]
"onTwigInitialized" => array:1 [
0 => array:3 [
0 => array:2 [
0 => Grav\Plugin\ShortcodeCorePlugin {#119}
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 {#116}
1 => "onCollectionProcessed"
]
]
]
]
-sorted: []
-optimized: array:25 [
"Grav\Events\PluginsLoadedEvent" => array:2 [
0 => Grav\Plugin\FlexObjectsPlugin::initializeFlex(): void {#146 …4}
1 => Grav\Plugin\LoginPlugin::onPluginsLoaded(): void {#153 …4}
]
"Grav\Events\SessionStartEvent" => array:1 [
0 => Grav\Plugin\LoginPlugin::onSessionStart(SessionStartEvent $event): void {#161 …4}
]
"onPluginsInitialized" => array:26 [
0 => Grav\Plugin\ProblemsPlugin::autoload(): ClassLoader {#165 …4}
1 => Grav\Plugin\MarkdownNoticesPlugin::autoload() {#166 …3}
2 => Grav\Plugin\PaginationPlugin::autoload() {#167 …3}
3 => Grav\Plugin\ProblemsPlugin::onPluginsInitialized(): void {#168 …4}
4 => Grav\Plugin\ShortcodeCorePlugin::autoload() {#169 …3}
5 => Grav\Plugin\ShortcodeUiPlugin::autoload() {#170 …3}
6 => Grav\Plugin\AdminPlugin::setup() {#171 …3}
7 => Grav\Plugin\FeedPlugin::autoload() {#172 …3}
8 => Grav\Plugin\TaxonomylistPlugin::autoload(): ClassLoader {#173 …4}
9 => Grav\Plugin\LoginPlugin::initializeSession(): void {#174 …4}
10 => Grav\Plugin\AdminPlugin::onPluginsInitialized() {#175 …3}
11 => Grav\Plugin\LoginPlugin::initializeLogin(): void {#176 …4}
12 => Grav\Plugin\ShortcodeCorePlugin::onPluginsInitialized() {#177 …3}
13 => Grav\Plugin\AboutMePlugin::onPluginsInitialized() {#178 …3}
14 => Grav\Plugin\EmailPlugin::onPluginsInitialized() {#179 …3}
15 => Grav\Plugin\ExternalLinksPlugin::onPluginsInitialized() {#180 …3}
16 => Grav\Plugin\FeedPlugin::onPluginsInitialized() {#181 …3}
17 => Grav\Plugin\FlexObjectsPlugin::onPluginsInitialized(): void {#182 …4}
18 => Grav\Plugin\FormPlugin::onPluginsInitialized(): void {#183 …4}
19 => Grav\Plugin\GanalyticsPlugin::onPluginsInitialized() {#184 …3}
20 => Grav\Plugin\PageInjectPlugin::onPluginsInitialized() {#185 …3}
21 => Grav\Plugin\PaginationPlugin::onPluginsInitialized() {#186 …3}
22 => Grav\Plugin\SocialSEOMetaTagsPlugin::onPluginsInitialized() {#187 …3}
23 => Grav\Plugin\SocialButtonsPlugin::onPluginsInitialized() {#188 …3}
24 => Grav\Plugin\TaxonomylistPlugin::onPluginsInitialized() {#189 …3}
25 => Grav\Plugin\YoutubePlugin::onPluginsInitialized() {#190 …3}
]
"onThemeInitialized" => array:1 [
0 => Grav\Plugin\ShortcodeCorePlugin::onThemeInitialized() {#220 …3}
]
"onShortcodeHandlers" => array:4 [
0 => Grav\Plugin\ShortcodeUiPlugin::onShortcodeHandlers() {#222 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onShortcodeHandlers() {#223 …3}
2 => Grav\Plugin\PageInjectPlugin::onShortcodeHandlers() {#224 …3}
3 => Grav\Plugin\YoutubePlugin::onShortcodeHandlers() {#225 …3}
]
"onRequestHandlerInit" => array:1 [
0 => Grav\Plugin\AdminPlugin::onRequestHandlerInit(RequestHandlerEvent $event) {#292 …3}
]
"onSchedulerInitialized" => array:3 [
0 => Grav\Plugin\EmailPlugin::onSchedulerInitialized(Event $e) {#307 …3}
1 => Grav\Common\Cache::onSchedulerInitialized(Event $event) {#308 …3}
2 => Grav\Common\Backup\Backups::onSchedulerInitialized(Event $event) {#309 …3}
]
"onAssetsInitialized" => array:2 [
0 => Grav\Plugin\GanalyticsPlugin::onAssetsInitialized() {#340 …3}
1 => Grav\Plugin\AboutMePlugin::onAssetsInitialized() {#341 …3}
]
"onTwigTemplatePaths" => array:12 [
0 => Grav\Plugin\EmailPlugin::onTwigTemplatePaths() {#347 …3}
1 => Grav\Plugin\FormPlugin::onTwigTemplatePaths(): void {#348 …4}
2 => Grav\Plugin\LoginPlugin::onTwigTemplatePaths(): void {#349 …4}
3 => Grav\Plugin\ShortcodeUiPlugin::onTwigTemplatePaths() {#350 …3}
4 => Grav\Plugin\ShortcodeCorePlugin::onTwigTemplatePaths() {#351 …3}
5 => Grav\Plugin\AboutMePlugin::onTwigTemplatePaths() {#352 …3}
6 => Grav\Plugin\FlexObjectsPlugin::onTwigTemplatePaths(): void {#353 …4}
7 => Grav\Plugin\PaginationPlugin::onTwigTemplatePaths() {#354 …3}
8 => Grav\Plugin\SocialButtonsPlugin::onTwigTemplatePaths() {#355 …3}
9 => Grav\Plugin\TaxonomylistPlugin::onTwigTemplatePaths() {#356 …3}
10 => Grav\Plugin\YoutubePlugin::onTwigTemplatePaths() {#357 …3}
11 => Grav\Plugin\ErrorPlugin::onTwigTemplatePaths(): void {#358 …4}
]
"onTwigInitialized" => array:3 [
0 => Grav\Plugin\ShortcodeCorePlugin::onTwigInitialized() {#370 …3}
1 => Grav\Plugin\ExternalLinksPlugin::onTwigInitialized() {#371 …3}
2 => Grav\Plugin\FormPlugin::onTwigInitialized(): void {#372 …4}
]
"onTwigExtensions" => array:4 [
0 => Grav\Plugin\FormPlugin::onTwigExtensions(): void {#383 …4}
1 => Grav\Plugin\ShortcodeUiPlugin::onTwigExtensions() {#384 …3}
2 => Grav\Plugin\PaginationPlugin::onTwigExtensions() {#385 …3}
3 => Grav\Plugin\YoutubePlugin::onTwigExtensions() {#386 …3}
]
"onPagesInitialized" => array:5 [
0 => Grav\Plugin\LoginPlugin::storeReferrerPage(): void {#677 …4}
1 => Grav\Plugin\LoginPlugin::pageVisibility(Event $event): void {#678 …4}
2 => Grav\Plugin\FormPlugin::onPagesInitialized(): void {#679 …4}
3 => Grav\Plugin\PageInjectPlugin::onPagesInitialized() {#680 …3}
4 => Grav\Plugin\FlexObjectsPlugin::onPagesInitialized(Event $event): void {#681 …4}
]
"Grav\Events\FlexRegisterEvent" => array:1 [
0 => Grav\Plugin\FlexObjectsPlugin::onRegisterFlex(FlexRegisterEvent $event): void {#684 …4}
]
"onPageInitialized" => array:7 [
0 => Grav\Plugin\FlexObjectsPlugin::authorizePage(Event $event): void {#683 …4}
1 => Grav\Plugin\LoginPlugin::authorizeLoginPage(Event $event): void {#688 …4}
2 => Grav\Plugin\AdminPlugin::onPageInitialized() {#689 …3}
3 => Grav\Plugin\LoginPlugin::authorizePage(): void {#690 …4}
4 => Grav\Plugin\FormPlugin::onPageInitialized(): void {#691 …4}
5 => Grav\Plugin\PaginationPlugin::onPageInitialized() {#692 …3}
6 => Grav\Plugin\SocialSEOMetaTagsPlugin::onPageInitialized(Event $e) {#693 …3}
]
"onUserLoginAuthenticate" => array:5 [
0 => Grav\Plugin\LoginPlugin::userLoginAuthenticateRateLimit(UserLoginEvent $event): void {#699 …4}
1 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByRegistration(UserLoginEvent $event): void {#700 …4}
2 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByRememberMe(UserLoginEvent $event): void {#701 …4}
3 => Grav\Plugin\LoginPlugin::userLoginAuthenticateByEmail(UserLoginEvent $event): void {#702 …4}
4 => Grav\Plugin\LoginPlugin::userLoginAuthenticate(UserLoginEvent $event): void {#703 …4}
]
"onUserLoginGuest" => array:1 [
0 => Grav\Plugin\LoginPlugin::userLoginGuest(UserLoginEvent $event): void {#694 …4}
]
"Grav\Plugin\Login\Events\PageAuthorizeEvent" => array:1 [
0 => Grav\Plugin\LoginPlugin::onPageAuthorizeEvent(PageAuthorizeEvent $event): void {#697 …4}
]
"onFormRegisterTypes" => array:2 [
0 => Grav\Plugin\AdminPlugin::onFormRegisterTypes(Event $event): void {#711 …4}
1 => Grav\Plugin\FlexObjectsPlugin::onFormRegisterTypes(Event $event): void {#712 …4}
]
"onPageContent" => array:1 [
0 => Grav\Plugin\ShortcodeCorePlugin::onPageContent(Event $event) {#719 …3}
]
"onCollectionProcessed" => array:1 [
0 => Grav\Plugin\PaginationPlugin::onCollectionProcessed(Event $event) {#718 …3}
]
"onTwigSiteVariables" => array:9 [
0 => Grav\Plugin\MarkdownNoticesPlugin::onTwigSiteVariables() {#724 …3}
1 => Grav\Plugin\AboutMePlugin::onTwigSiteVariables() {#733 …3}
2 => Grav\Plugin\ExternalLinksPlugin::onTwigSiteVariables() {#738 …3}
3 => Grav\Plugin\FormPlugin::onTwigVariables(Event $event = null): void {#737 …4}
4 => Grav\Plugin\SocialButtonsPlugin::onTwigSiteVariables() {#736 …3}
5 => Grav\Plugin\TaxonomylistPlugin::onTwigSiteVariables() {#735 …3}
6 => Grav\Plugin\YoutubePlugin::onTwigSiteVariables() {#734 …3}
7 => Grav\Plugin\PaginationPlugin::onTwigSiteVariables() {#732 …3}
8 => Grav\Plugin\LoginPlugin::onTwigSiteVariables(): void {#731 …4}
]
"onPageContentRaw" => array:3 [
0 => Grav\Plugin\ShortcodeCorePlugin::onPageContentRaw(Event $e) {#1788 …3}
1 => Grav\Plugin\PageInjectPlugin::onPageContentRaw(Event $event) {#1789 …3}
2 => Grav\Plugin\YoutubePlugin::onPageContentRaw(Event $event) {#1790 …3}
]
"onMarkdownInitialized" => array:3 [
0 => Grav\Plugin\MarkdownFontAwesomePlugin::onMarkdownInitialized(Event $event) {#1793 …3}
1 => Grav\Plugin\MarkdownNoticesPlugin::onMarkdownInitialized(Event $event) {#1791 …3}
2 => Grav\Plugin\ShortcodeCorePlugin::onMarkdownInitialized(Event $event) {#1796 …3}
]
"onPageContentProcessed" => array:2 [
0 => Grav\Plugin\ExternalLinksPlugin::onPageContentProcessed(Event $event) {#1787 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#1802 …3}
]
"onFatalException" => array:1 [
0 => Grav\Plugin\ProblemsPlugin::onFatalException(): void {#291 …4}
]
]
}
/home4/shaynep1/public_html/madura/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) {#1787 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#1802 …3}
]
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1792}
/home4/shaynep1/public_html/madura/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) {#1787 …3}
1 => Grav\Plugin\ShortcodeCorePlugin::onPageContentProcessed(Event $e) {#1802 …3}
]
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1792}
/home4/shaynep1/public_html/madura/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 {#1792}
"onPageContentProcessed"
/home4/shaynep1/public_html/madura/www/system/src/Grav/Common/Page/Page.php
$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
$delimiter = $config->get('site.summary.delimiter', '===');
$divider_pos = mb_strpos($this->content, "<p>{$delimiter}</p>");
if ($divider_pos !== false) {
$this->summary_size = $divider_pos;
$this->content = str_replace("<p>{$delimiter}</p>", '', $this->content);
}
Arguments
"onPageContentProcessed"
RocketTheme\Toolbox\Event\Event {#1792}
/home4/shaynep1/public_html/madura/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/madura/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/madura/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 {#609}
"summary"
[]
/home4/shaynep1/public_html/madura/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:52 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#609}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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 {#609}
"blog" => Grav\Common\Page\Page {#455}
"truncate" => true
"header_image" => true
"header_image_width" => 900
"header_image_height" => 300
"header_image_file" => null
"_parent" => array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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 {#1371}
"loop" => array:8 [
"parent" => array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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" => 0
"index" => 1
"first" => true
"revindex0" => 0
"revindex" => 1
"length" => 1
"last" => true
]
"_key" => "madura-demos"
"header_image_media" => false
]
[]
/home4/shaynep1/public_html/madura/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:47 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#609}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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 {#1371}
"loop" => array:8 [
"parent" => array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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" => 0
"index" => 1
"first" => true
"revindex0" => 0
"revindex" => 1
"length" => 1
"last" => true
]
"child" => Grav\Common\Page\Page {#609}
"_key" => "madura-demos"
"blog" => Grav\Common\Page\Page {#455}
"truncate" => true
]
[]
/home4/shaynep1/public_html/madura/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:47 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#609}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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 {#1371}
"loop" => array:8 [
"parent" => array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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" => 0
"index" => 1
"first" => true
"revindex0" => 0
"revindex" => 1
"length" => 1
"last" => true
]
"child" => Grav\Common\Page\Page {#609}
"_key" => "madura-demos"
"blog" => Grav\Common\Page\Page {#455}
"truncate" => true
]
/home4/shaynep1/public_html/madura/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:45 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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 {#1371}
"loop" => array:8 [
"parent" => array:40 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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" => 0
"index" => 1
"first" => true
"revindex0" => 0
"revindex" => 1
"length" => 1
"last" => true
]
"child" => Grav\Common\Page\Page {#609}
"_key" => "madura-demos"
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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:39 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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 {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
"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_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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 {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
]
array:12 [
"head" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_head"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_stylesheets"
]
"javascripts" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_javascripts"
]
"header" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header"
]
"header_extra" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_extra"
]
"header_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_header_navigation"
]
"showcase" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_showcase"
]
"body" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_body"
]
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_footer"
]
"sidebar_navigation" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_sidebar_navigation"
]
"bottom" => array:2 [
0 => __TwigTemplate_cd992e0e586864b3ff07751726a3bbf31402af91d16dfe1ac98dc9dfc76dd521 {#2100}
1 => "block_bottom"
]
]
/home4/shaynep1/public_html/madura/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 {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
]
/home4/shaynep1/public_html/madura/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 {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"collection" => Grav\Common\Page\Collection {#1371}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
]
/home4/shaynep1/public_html/madura/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
array:1 [
"content" => array:2 [
0 => __TwigTemplate_798deedce9a4b164ab4e8ef20d74892bde0fd34a7703faa5577c59395ae99985___1761586111 {#1210}
1 => "block_content"
]
]
/home4/shaynep1/public_html/madura/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
/home4/shaynep1/public_html/madura/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
[]
/home4/shaynep1/public_html/madura/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:37 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
[]
/home4/shaynep1/public_html/madura/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:36 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
]
/home4/shaynep1/public_html/madura/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:36 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
]
[]
/home4/shaynep1/public_html/madura/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:36 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
]
/home4/shaynep1/public_html/madura/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'] = $page->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:36 [
"shortcode" => Grav\Plugin\ShortcodeCore\ShortcodeTwigVar {#374}
"config" => Grav\Common\Config\Config {#92}
"system" => array:30 [
"absolute_urls" => false
"timezone" => ""
"default_locale" => null
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => false
"force_lowercase_urls" => true
"custom_base_url" => ""
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => []
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => true
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"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" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => 302
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"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" => false
"allow_webserver_gzip" => false
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => true
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array: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" => true
"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:1 [
"loading" => "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" => []
"allowed_fallback_types" => []
"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:5 [
"releases" => "stable"
"official_gpm_only" => true
"proxy_url" => null
"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:9 [
"title" => "Madura Software"
"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" => "Madura Software"
"keywords" => "Rules, Rule Based Programming, Workflow, Teensy, ESP8266, ATTiny85, C++"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#157}
"assets" => Grav\Common\Assets {#338}
"taxonomy" => Grav\Common\Taxonomy {#382}
"browser" => Grav\Common\Browser {#391}
"base_dir" => "/home4/shaynep1/public_html/madura/www"
"home_url" => "/"
"base_url" => ""
"base_url_absolute" => "https://madurasoftware.com"
"base_url_relative" => ""
"base_url_simple" => ""
"theme_dir" => "/home4/shaynep1/public_html/madura/www/user/themes/madura"
"theme_url" => "/user/themes/madura"
"html_lang" => "en"
"language_codes" => Grav\Common\Language\LanguageCodes {#392}
"aboutme_name" => "Roger Parkinson"
"aboutme_title" => "Software Developer"
"aboutme_description" => """
Madura Software is the publication arm of Prometheus Consulting, a New Zealand based software consultancy. Prometheus has a long history of working with rule based systems, workflow, Java and C++. The C++ expertise has naturally led to work in embedded systems as well, hence the electronics section.\r\n
\r\n
We prefer to use open tools like Linux, Eclipse, Arduino. Our preferred hardware platforms include Teensy, BeagleBone and ATTiny85.\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
]
]
"form" => null
"form_max_filesize" => 512
"form_json_response" => []
"socialbuttons_domain" => "https://madurasoftware.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" => false
"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" => false
"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 {#740}
"list_url" => "/blog"
"pages" => Grav\Common\Page\Page {#405}
"page" => Grav\Common\Page\Page {#455}
"header" => {#456}
"media" => Grav\Common\Page\Media {#716}
"content" => ""
]
/home4/shaynep1/public_html/madura/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/madura/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/madura/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/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#726}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#720}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#394}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#345}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#337}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#304}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#301}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#293}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
/home4/shaynep1/public_html/madura/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 {#227}
Grav\Framework\RequestHandler\RequestHandler {#221}
/home4/shaynep1/public_html/madura/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/madura/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/madura/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 {#205}
/home4/shaynep1/public_html/madura/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/madura/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/madura/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 {#163}
/home4/shaynep1/public_html/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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/madura/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;
}