Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("Template "modular/single-section.txt.twig" is not defined.").
Previous exceptions
  • Template "modular/single-section.txt.twig" is not defined. (404)
  • Template "modular/single-section.txt.twig" is not defined. (0)
Twig\Error\RuntimeError thrown with message "An exception has been thrown during the rendering of a template ("Template "modular/single-section.txt.twig" is not defined.")." Stacktrace: #76 Twig\Error\RuntimeError in /home/bcmenergga/www/user/themes/bcm-template/templates/modular.html.twig:19 #75 RuntimeException in /home/bcmenergga/www/system/src/Grav/Common/Twig/Twig.php:292 #74 Twig\Error\LoaderError in /home/bcmenergga/www/vendor/twig/twig/src/Loader/ChainLoader.php:142 #73 Twig\Loader\ChainLoader:getCacheKey in /home/bcmenergga/www/vendor/twig/twig/src/Environment.php:351 #72 Twig\Environment:getTemplateClass in /home/bcmenergga/www/vendor/twig/twig/src/Environment.php:445 #71 Twig\Environment:loadTemplate in /home/bcmenergga/www/vendor/twig/twig/src/Environment.php:423 #70 Twig\Environment:load in /home/bcmenergga/www/vendor/twig/twig/src/Environment.php:384 #69 Twig\Environment:render in /home/bcmenergga/www/system/src/Grav/Common/Twig/Twig.php:281 #68 Grav\Common\Twig\Twig:processPage in /home/bcmenergga/www/system/src/Grav/Common/Page/Page.php:859 #67 Grav\Common\Page\Page:processTwig in /home/bcmenergga/www/system/src/Grav/Common/Page/Page.php:732 #66 Grav\Common\Page\Page:content in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:690 #65 Twig\Template:getAttribute in /home/bcmenergga/www/cache/twig/24/24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php:76 #64 __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0:block_content in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:216 #63 Twig\Template:displayBlock in /home/bcmenergga/www/cache/twig/98/98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php:212 #62 __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc:block_body in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:216 #61 Twig\Template:displayBlock in /home/bcmenergga/www/cache/twig/98/98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php:79 #60 __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc:doDisplay in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:443 #59 Twig\Template:displayWithErrorHandling in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:414 #58 Twig\Template:display in /home/bcmenergga/www/cache/twig/24/24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php:39 #57 __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0:doDisplay in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:443 #56 Twig\Template:displayWithErrorHandling in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:414 #55 Twig\Template:display in /home/bcmenergga/www/vendor/twig/twig/src/Template.php:422 #54 Twig\Template:render in /home/bcmenergga/www/vendor/twig/twig/src/TemplateWrapper.php:47 #53 Twig\TemplateWrapper:render in /home/bcmenergga/www/vendor/twig/twig/src/Environment.php:384 #52 Twig\Environment:render in /home/bcmenergga/www/system/src/Grav/Common/Twig/Twig.php:395 #51 Grav\Common\Twig\Twig:processSite in /home/bcmenergga/www/system/src/Grav/Common/Service/OutputServiceProvider.php:28 #50 Grav\Common\Service\OutputServiceProvider:Grav\Common\Service\{closure} in /home/bcmenergga/www/vendor/pimple/pimple/src/Pimple/Container.php:118 #49 Pimple\Container:offsetGet in /home/bcmenergga/www/system/src/Grav/Common/Processors/RenderProcessor.php:28 #48 Grav\Common\Processors\RenderProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #47 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #46 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/DebuggerAssetsProcessor.php:28 #45 Grav\Common\Processors\DebuggerAssetsProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #44 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #43 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/PagesProcessor.php:69 #42 Grav\Common\Processors\PagesProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #41 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #40 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/TwigProcessor.php:27 #39 Grav\Common\Processors\TwigProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #38 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #37 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/AssetsProcessor.php:28 #36 Grav\Common\Processors\AssetsProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #35 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #34 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/SchedulerProcessor.php:29 #33 Grav\Common\Processors\SchedulerProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #32 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #31 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/BackupsProcessor.php:28 #30 Grav\Common\Processors\BackupsProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #29 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #28 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/TasksProcessor.php:59 #27 Grav\Common\Processors\TasksProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #26 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #25 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/RequestProcessor.php:52 #24 Grav\Common\Processors\RequestProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #23 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #22 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/ThemesProcessor.php:27 #21 Grav\Common\Processors\ThemesProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #20 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #19 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/PluginsProcessor.php:30 #18 Grav\Common\Processors\PluginsProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #17 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #16 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/InitializeProcessor.php:78 #15 Grav\Common\Processors\InitializeProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #14 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #13 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/DebuggerProcessor.php:27 #12 Grav\Common\Processors\DebuggerProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #11 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #10 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/ErrorsProcessor.php:27 #9 Grav\Common\Processors\ErrorsProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #8 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #7 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/LoggerProcessor.php:48 #6 Grav\Common\Processors\LoggerProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #5 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #4 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Processors/ConfigurationProcessor.php:28 #3 Grav\Common\Processors\ConfigurationProcessor:process in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #2 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #1 Grav\Framework\RequestHandler\RequestHandler:handle in /home/bcmenergga/www/system/src/Grav/Common/Grav.php:249 #0 Grav\Common\Grav:process in /home/bcmenergga/www/index.php:53
Stack frames (77)
76
Twig
\
Error
\
RuntimeError
/
user
/
themes
/
bcm-template
/
templates
/
modular.html.twig
19
75
RuntimeException
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
292
74
Twig
\
Error
\
LoaderError
/
vendor
/
twig
/
twig
/
src
/
Loader
/
ChainLoader.php
142
73
Twig
\
Loader
\
ChainLoader
getCacheKey
/
vendor
/
twig
/
twig
/
src
/
Environment.php
351
72
Twig
\
Environment
getTemplateClass
/
vendor
/
twig
/
twig
/
src
/
Environment.php
445
71
Twig
\
Environment
loadTemplate
/
vendor
/
twig
/
twig
/
src
/
Environment.php
423
70
Twig
\
Environment
load
/
vendor
/
twig
/
twig
/
src
/
Environment.php
384
69
Twig
\
Environment
render
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
281
68
Grav
\
Common
\
Twig
\
Twig
processPage
/
system
/
src
/
Grav
/
Common
/
Page
/
Page.php
859
67
Grav
\
Common
\
Page
\
Page
processTwig
/
system
/
src
/
Grav
/
Common
/
Page
/
Page.php
732
66
Grav
\
Common
\
Page
\
Page
content
/
vendor
/
twig
/
twig
/
src
/
Template.php
690
65
Twig
\
Template
getAttribute
/
cache
/
twig
/
24
/
24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php
76
64
__TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0
block_content
/
vendor
/
twig
/
twig
/
src
/
Template.php
216
63
Twig
\
Template
displayBlock
/
cache
/
twig
/
98
/
98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php
212
62
__TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc
block_body
/
vendor
/
twig
/
twig
/
src
/
Template.php
216
61
Twig
\
Template
displayBlock
/
cache
/
twig
/
98
/
98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php
79
60
__TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc
doDisplay
/
vendor
/
twig
/
twig
/
src
/
Template.php
443
59
Twig
\
Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
src
/
Template.php
414
58
Twig
\
Template
display
/
cache
/
twig
/
24
/
24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php
39
57
__TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0
doDisplay
/
vendor
/
twig
/
twig
/
src
/
Template.php
443
56
Twig
\
Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
src
/
Template.php
414
55
Twig
\
Template
display
/
vendor
/
twig
/
twig
/
src
/
Template.php
422
54
Twig
\
Template
render
/
vendor
/
twig
/
twig
/
src
/
TemplateWrapper.php
47
53
Twig
\
TemplateWrapper
render
/
vendor
/
twig
/
twig
/
src
/
Environment.php
384
52
Twig
\
Environment
render
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
395
51
Grav
\
Common
\
Twig
\
Twig
processSite
/
system
/
src
/
Grav
/
Common
/
Service
/
OutputServiceProvider.php
28
50
Grav
\
Common
\
Service
\
OutputServiceProvider
Grav
\
Common
\
Service
\
{closure}
/
vendor
/
pimple
/
pimple
/
src
/
Pimple
/
Container.php
118
49
Pimple
\
Container
offsetGet
/
system
/
src
/
Grav
/
Common
/
Processors
/
RenderProcessor.php
28
48
Grav
\
Common
\
Processors
\
RenderProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
47
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
46
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
DebuggerAssetsProcessor.php
28
45
Grav
\
Common
\
Processors
\
DebuggerAssetsProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
44
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
43
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
PagesProcessor.php
69
42
Grav
\
Common
\
Processors
\
PagesProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
41
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
40
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
TwigProcessor.php
27
39
Grav
\
Common
\
Processors
\
TwigProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
38
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
37
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
AssetsProcessor.php
28
36
Grav
\
Common
\
Processors
\
AssetsProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
35
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
34
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
SchedulerProcessor.php
29
33
Grav
\
Common
\
Processors
\
SchedulerProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
32
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
31
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
BackupsProcessor.php
28
30
Grav
\
Common
\
Processors
\
BackupsProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
29
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
28
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
TasksProcessor.php
59
27
Grav
\
Common
\
Processors
\
TasksProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
26
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
25
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
RequestProcessor.php
52
24
Grav
\
Common
\
Processors
\
RequestProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
23
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
22
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
ThemesProcessor.php
27
21
Grav
\
Common
\
Processors
\
ThemesProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
20
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
19
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
PluginsProcessor.php
30
18
Grav
\
Common
\
Processors
\
PluginsProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
17
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
16
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
InitializeProcessor.php
78
15
Grav
\
Common
\
Processors
\
InitializeProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
14
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
13
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
DebuggerProcessor.php
27
12
Grav
\
Common
\
Processors
\
DebuggerProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
11
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
10
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
ErrorsProcessor.php
27
9
Grav
\
Common
\
Processors
\
ErrorsProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
8
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
7
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
LoggerProcessor.php
48
6
Grav
\
Common
\
Processors
\
LoggerProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
5
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
4
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Processors
/
ConfigurationProcessor.php
28
3
Grav
\
Common
\
Processors
\
ConfigurationProcessor
process
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
45
2
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
57
1
Grav
\
Framework
\
RequestHandler
\
RequestHandler
handle
/
system
/
src
/
Grav
/
Common
/
Grav.php
249
0
Grav
\
Common
\
Grav
process
/
index.php
53
/
home
/
bcmenergga
/
www
/
user
/
themes
/
bcm-template
/
templates
/
modular.html.twig
{% extends 'partials/base.html.twig' %}
 
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
 
 
{% block header %}
    {% if page.header.is_home %}
        {% include('partials/header-home.html.twig') %}
    {% else %}
        {% include('partials/header-page.html.twig') %}
    {% endif %}
{% endblock %}
 
{% block content %}
 
    {% for module in page.collection() %}
        
            {{ module.content }}
       
    {% endfor %}
 
{% endblock %}
 
Arguments
  1. "An exception has been thrown during the rendering of a template ("Template "modular/single-section.txt.twig" is not defined.")."
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
        $output = '';
        try {
            // Process Modular Twig
            if ($item->modularTwig()) {
                $twig_vars['content'] = $content;
                $extension = $item->templateFormat();
                $extension = $extension ? ".{$extension}.twig" : TEMPLATE_EXT;
                $template = $item->template() . $extension;
                $output = $content = $local_twig->render($template, $twig_vars);
            }
 
            // Process in-page Twig
            if ($item->shouldProcess('twig')) {
                $name = '@Page:' . $item->path();
                $this->setTemplate($name, $content);
                $output = $local_twig->render($name, $twig_vars);
            }
 
        } catch (\Twig_Error_Loader $e) {
            throw new \RuntimeException($e->getRawMessage(), 404, $e);
        }
 
        return $output;
    }
 
    /**
     * Process a Twig template directly by using a template name
     * and optional array of variables
     *
     * @param string $template template to render with
     * @param array  $vars     Optional variables
     *
     * @return string
     */
    public function processTemplate($template, $vars = [])
    {
        // override the twig header vars for local resolution
        $this->grav->fireEvent('onTwigTemplateVariables');
        $vars += $this->twig_vars;
 
Arguments
  1. "Template "modular/single-section.txt.twig" is not defined."
    
Exception message: Template "modular/single-section.txt.twig" is not defined.
/
home
/
bcmenergga
/
www
/
vendor
/
twig
/
twig
/
src
/
Loader
/
ChainLoader.php
 
        return $this->hasSourceCache[$name] = false;
    }
 
    public function getCacheKey($name)
    {
        $exceptions = [];
        foreach ($this->loaders as $loader) {
            if ($loader instanceof ExistsLoaderInterface && !$loader->exists($name)) {
                continue;
            }
 
            try {
                return $loader->getCacheKey($name);
            } catch (LoaderError $e) {
                $exceptions[] = \get_class($loader).': '.$e->getMessage();
            }
        }
 
        throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode(', ', $exceptions).')' : ''));
    }
 
    public function isFresh($name, $time)
    {
        $exceptions = [];
        foreach ($this->loaders as $loader) {
            if ($loader instanceof ExistsLoaderInterface && !$loader->exists($name)) {
                continue;
            }
 
            try {
                return $loader->isFresh($name, $time);
            } catch (LoaderError $e) {
                $exceptions[] = \get_class($loader).': '.$e->getMessage();
            }
        }
 
        throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode(', ', $exceptions).')' : ''));
    }
}
Arguments
  1. "Template "modular/single-section.txt.twig" is not defined."
    
Exception message: Template "modular/single-section.txt.twig" is not defined.
/
home
/
bcmenergga
/
www
/
vendor
/
twig
/
twig
/
src
/
Environment.php
    /**
     * Gets the template class associated with the given string.
     *
     * The generated template class is based on the following parameters:
     *
     *  * The cache key for the given template;
     *  * The currently enabled extensions;
     *  * Whether the Twig C extension is available or not;
     *  * PHP version;
     *  * Twig version;
     *  * Options with what environment was created.
     *
     * @param string   $name  The name for which to calculate the template class name
     * @param int|null $index The index if it is an embedded template
     *
     * @return string The template class name
     */
    public function getTemplateClass($name, $index = null)
    {
        $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
 
        return $this->templateClassPrefix.hash('sha256', $key).(null === $index ? '' : '___'.$index);
    }
 
    /**
     * Gets the template class prefix.
     *
     * @return string The template class prefix
     *
     * @deprecated since 1.22 (to be removed in 2.0)
     */
    public function getTemplateClassPrefix()
    {
        @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.
Arguments
  1. "modular/single-section.txt.twig"
    
/
home
/
bcmenergga
/
www
/
vendor
/
twig
/
twig
/
src
/
Environment.php
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return \Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
    {
        return $this->loadClass($this->getTemplateClass($name), $name, $index);
    }
 
    /**
     * @internal
     */
    public function loadClass($cls, $name, $index = null)
    {
        $mainCls = $cls;
        if (null !== $index) {
            $cls .= '___'.$index;
        }
 
        if (isset($this->loadedTemplates[$cls])) {
            return $this->loadedTemplates[$cls];
        }
 
        if (!class_exists($cls, false)) {
            if ($this->bcGetCacheFilename) {
                $key = $this->getCacheFilename($name);
            } else {
Arguments
  1. "modular/single-section.txt.twig"
    
/
home
/
bcmenergga
/
www
/
vendor
/
twig
/
twig
/
src
/
Environment.php
     *
     * @param string|TemplateWrapper|\Twig\Template $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @return TemplateWrapper
     */
    public function load($name)
    {
        if ($name instanceof TemplateWrapper) {
            return $name;
        }
 
        if ($name instanceof Template) {
            return new TemplateWrapper($this, $name);
        }
 
        return new TemplateWrapper($this, $this->loadTemplate($name));
    }
 
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return \Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
Arguments
  1. "modular/single-section.txt.twig"
    
/
home
/
bcmenergga
/
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
  1. "modular/single-section.txt.twig"
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
 
        // override the twig header vars for local resolution
        $this->grav->fireEvent('onTwigPageVariables', new Event(['page' => $item]));
        $twig_vars = $this->twig_vars;
 
        $twig_vars['page'] = $item;
        $twig_vars['media'] = $item->media();
        $twig_vars['header'] = $item->header();
 
        $local_twig = clone $this->twig;
 
        $output = '';
        try {
            // Process Modular Twig
            if ($item->modularTwig()) {
                $twig_vars['content'] = $content;
                $extension = $item->templateFormat();
                $extension = $extension ? ".{$extension}.twig" : TEMPLATE_EXT;
                $template = $item->template() . $extension;
                $output = $content = $local_twig->render($template, $twig_vars);
            }
 
            // Process in-page Twig
            if ($item->shouldProcess('twig')) {
                $name = '@Page:' . $item->path();
                $this->setTemplate($name, $content);
                $output = $local_twig->render($name, $twig_vars);
            }
 
        } catch (\Twig_Error_Loader $e) {
            throw new \RuntimeException($e->getRawMessage(), 404, $e);
        }
 
        return $output;
    }
 
    /**
     * Process a Twig template directly by using a template name
     * and optional array of variables
     *
Arguments
  1. "modular/single-section.txt.twig"
    
  2. array:26 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "page" => Page {}
      "media" => Media {}
      "header" => {}
      "content" => """
        <p>In a fast-changing sector, between energy transition and new technologies, BCM Energy is innovating to meet new challenges related to the liberalization of the energy market.</p>\n
        <p>Fully independent, BCM Energy now covers the entire electricity value chain, from production to the end customer, thanks in particular to its brand, the electricity supplier OUI Energy. </p>\n
        <p>BCM Energy's goal is to accelerate the integration and development of renewable energies through:</p>\n
        <ul>\n
        <li>Long-term partnerships for market integration</li>\n
        <li>An attractive distribution of the added value created</li>\n
        </ul>
        """
    ]
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Page
/
Page.php
        $excerpts = new Excerpts($this, $defaults);
 
        // Initialize the preferred variant of Parsedown
        if ($extra) {
            $parsedown = new ParsedownExtra($excerpts);
        } else {
            $parsedown = new Parsedown($excerpts);
        }
 
        $this->content = $parsedown->text($this->content);
    }
 
 
    /**
     * Process the Twig page content.
     */
    private function processTwig()
    {
        $twig = Grav::instance()['twig'];
        $this->content = $twig->processPage($this, $this->content);
    }
 
    /**
     * Fires the onPageContentProcessed event, and caches the page content using a unique ID for the page
     */
    public function cachePageContent()
    {
        $cache = Grav::instance()['cache'];
        $cache_id = md5('page' . $this->id());
        $cache->save($cache_id, ['content' => $this->content, 'content_meta' => $this->content_meta]);
    }
 
    /**
     * Needed by the onPageContentProcessed event to get the raw page content
     *
     * @return string   the current page content
     */
    public function getRawContent()
    {
        return $this->content;
Arguments
  1. Page {}
    
  2. """
    <p>In a fast-changing sector, between energy transition and new technologies, BCM Energy is innovating to meet new challenges related to the liberalization of the energy market.</p>\n
    <p>Fully independent, BCM Energy now covers the entire electricity value chain, from production to the end customer, thanks in particular to its brand, the electricity supplier OUI Energy. </p>\n
    <p>BCM Energy's goal is to accelerate the integration and development of renewable energies through:</p>\n
    <ul>\n
    <li>Long-term partnerships for market integration</li>\n
    <li>An attractive distribution of the added value created</li>\n
    </ul>
    """
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Page
/
Page.php
                        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();
                        }
 
                        // 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);
            }
 
            // Fire event when Page::content() is called
            Grav::instance()->fireEvent('onPageContent', new Event(['page' => $this]));
        }
/
home
/
bcmenergga
/
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());
/
home
/
bcmenergga
/
www
/
cache
/
twig
/
24
/
24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php
            // line 12
            echo "\t";
        }
    }
 
    // line 15
    public function block_content($context, array $blocks = [])
    {
        // line 16
        echo "
    ";
        // line 17
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "collection", [], "method"));
        foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
            // line 18
            echo "    \t
            ";
            // line 19
            echo $this->getAttribute($context["module"], "content", []);
            echo "
       
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 22
        echo "
";
    }
 
    // line 4
    public function getpageLinkName($__text__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "text" => $__text__,
            "varargs" => $__varargs__,
        ]);
 
Arguments
  1. Page {}
    
  2. "content"
    
  3. []
    
/
home
/
bcmenergga
/
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
  1. array:34 [
      "config" => Config {#1}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {#2}
      "assets" => Assets {#3}
      "taxonomy" => Taxonomy {#4}
      "browser" => Browser {#5}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {#6}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {#7}
      "pages" => Page {#8}
      "page" => Page {#9}
      "header" => {#10}
      "media" => Media {#11}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {#12}
      "show_onpage_menu" => true
      "theme_config" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "_parent" => array:30 [
        "config" => Config {#1}
        "system" => array:27 [
          "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
          "languages" => array:9 [
            "supported" => array:2 [
              0 => "fr"
              1 => "en"
            ]
            "default_lang" => null
            "include_default_lang" => true
            "pages_fallback_only" => false
            "translations" => true
            "translations_fallback" => true
            "session_store_active" => false
            "http_accept_language" => false
            "override_locale" => false
          ]
          "home" => array:2 [
            "alias" => "/home"
            "hide_in_urls" => false
          ]
          "pages" => array:26 [
            "theme" => "bcm-template"
            "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:5 [
              "extra" => false
              "auto_line_breaks" => false
              "auto_url_links" => false
              "escape_markup" => false
              "special_chars" => array:2 [
                ">" => "gt"
                "<" => "lt"
              ]
            ]
            "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_route" => false
            "redirect_default_code" => "302"
            "redirect_trailing_slash" => true
            "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" => false
            "check" => array:1 [
              "method" => "file"
            ]
            "driver" => "auto"
            "prefix" => "g"
            "purge_at" => "0 4 * * *"
            "clear_at" => "0 3 * * *"
            "clear_job_type" => "standard"
            "clear_images_by_default" => true
            "cli_compatibility" => false
            "lifetime" => 604800
            "gzip" => false
            "allow_webserver_gzip" => false
            "redis" => array:1 [
              "socket" => false
            ]
          ]
          "twig" => array:7 [
            "cache" => true
            "debug" => true
            "auto_reload" => true
            "autoescape" => false
            "undefined_functions" => true
            "undefined_filters" => true
            "umask_fix" => false
          ]
          "assets" => array:12 [
            "css_pipeline" => false
            "css_pipeline_include_externals" => true
            "css_pipeline_before_excludes" => true
            "css_minify" => true
            "css_minify_windows" => false
            "css_rewrite" => true
            "js_pipeline" => false
            "js_pipeline_include_externals" => true
            "js_pipeline_before_excludes" => true
            "js_minify" => true
            "enable_asset_timestamp" => false
            "collections" => array:1 [
              "jquery" => "system://assets/jquery/jquery-2.x.min.js"
            ]
          ]
          "errors" => array:2 [
            "display" => 1
            "log" => true
          ]
          "log" => array:2 [
            "handler" => "file"
            "syslog" => array:1 [
              "facility" => "local6"
            ]
          ]
          "debugger" => array:3 [
            "enabled" => false
            "shutdown" => array:1 [
              "close_connection" => true
            ]
            "twig" => true
          ]
          "images" => array:6 [
            "default_image_quality" => 85
            "cache_all" => false
            "cache_perms" => "0755"
            "debug" => false
            "auto_fix_orientation" => false
            "seofriendly" => false
          ]
          "media" => array:5 [
            "enable_media_timestamp" => false
            "unsupported_inline_types" => []
            "allowed_fallback_types" => []
            "auto_metadata_exif" => false
            "upload_limit" => 134217728
          ]
          "session" => array:9 [
            "enabled" => true
            "initialize" => true
            "timeout" => 1800
            "name" => "grav-site"
            "uniqueness" => "path"
            "secure" => false
            "httponly" => true
            "split" => true
            "path" => null
          ]
          "gpm" => array:5 [
            "releases" => "stable"
            "proxy_url" => null
            "method" => "auto"
            "verify_peer" => true
            "official_gpm_only" => true
          ]
          "accounts" => array:2 [
            "type" => "data"
            "storage" => "file"
          ]
          "strict_mode" => array:2 [
            "yaml_compat" => true
            "twig_compat" => true
          ]
        ]
        "theme" => array:3 [
          "enabled" => true
          "dropdown" => array:1 [
            "enabled" => true
          ]
          "custom_logo" => array:1 [
            "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
              "name" => "BCM_logo.svg"
              "type" => "image/svg+xml"
              "size" => 837
              "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
            ]
          ]
        ]
        "site" => array:9 [
          "title" => "BCM Energy"
          "default_lang" => "fr"
          "author" => array:2 [
            "name" => "BCM Energy"
            "email" => "info@bcmenergy.fr"
          ]
          "taxonomies" => array:2 [
            0 => "category"
            1 => "tag"
          ]
          "metadata" => array:1 [
            "description" => "BCM Energy : courant porteur de valeur"
          ]
          "summary" => array:4 [
            "enabled" => true
            "format" => "short"
            "size" => 300
            "delimiter" => "==="
          ]
          "redirects" => null
          "routes" => null
          "blog" => array:1 [
            "route" => "/blog"
          ]
        ]
        "uri" => Uri {#2}
        "assets" => Assets {#3}
        "taxonomy" => Taxonomy {#4}
        "browser" => Browser {#5}
        "base_dir" => "/home/bcmenergga/www"
        "home_url" => "/en"
        "base_url" => "/en"
        "base_url_absolute" => "http://bcmenergy.fr/en"
        "base_url_relative" => "/en"
        "base_url_simple" => ""
        "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
        "theme_url" => "/user/themes/bcm-template"
        "html_lang" => "en"
        "language_codes" => LanguageCodes {#6}
        "form" => null
        "form_max_filesize" => 128
        "form_json_response" => []
        "langswitcher" => {#7}
        "pages" => Page {#8}
        "page" => Page {#9}
        "header" => {#10}
        "media" => Media {#11}
        "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
        "grav" => Grav {#12}
        "show_onpage_menu" => true
        "theme_config" => array:3 [
          "enabled" => true
          "dropdown" => array:1 [
            "enabled" => true
          ]
          "custom_logo" => array:1 [
            "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
              "name" => "BCM_logo.svg"
              "type" => "image/svg+xml"
              "size" => 837
              "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
            ]
          ]
        ]
      ]
      "_seq" => Collection {}
      "module" => Page {}
      "_key" => "_vision-2"
    ]
    
  2. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
www
/
cache
/
twig
/
98
/
98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php
";
    }
 
    // line 56
    public function block_header($context, array $blocks = [])
    {
        // line 57
        echo "
";
    }
 
    // line 60
    public function block_body($context, array $blocks = [])
    {
        // line 61
        echo "    <main>
        
        ";
        // line 63
        $this->displayBlock('content', $context, $blocks);
        // line 64
        echo "
    </main>
";
    }
 
    // line 63
    public function block_content($context, array $blocks = [])
    {
    }
 
    // line 68
    public function block_footer($context, array $blocks = [])
    {
        // line 69
        echo "
    ";
        // line 70
        $this->loadTemplate("partials/footer.html.twig", "partials/base.html.twig", 70)->display($context);
        // line 71
Arguments
  1. "content"
    
  2. array:30 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
      "theme_config" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
    ]
    
  3. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
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
  1. array:30 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
      "theme_config" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
    ]
    
  2. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
www
/
cache
/
twig
/
98
/
98eb8bf53bd03430d6c1b8da4e0d8d6640aed47aaa9c053aa3ccd3c628b59239.php
        echo "</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NK8Z7CC\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
 
";
        // line 50
        $this->displayBlock('navigation', $context, $blocks);
        // line 55
        echo "
";
        // line 56
        $this->displayBlock('header', $context, $blocks);
        // line 59
        echo "
";
        // line 60
        $this->displayBlock('body', $context, $blocks);
        // line 67
        echo "
";
        // line 68
        $this->displayBlock('footer', $context, $blocks);
        // line 73
        echo "
";
        // line 74
        $this->displayBlock('bottom', $context, $blocks);
        // line 77
        echo "
</body>
</html>
";
    }
 
    // line 14
    public function block_head($context, array $blocks = [])
    {
Arguments
  1. "body"
    
  2. array:30 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
      "theme_config" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
    ]
    
  3. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
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
  1. array:30 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
      "theme_config" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
    ]
    
  2. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
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();
        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;
Arguments
  1. array:29 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
    ]
    
  2. array:9 [
      "head" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_head"
      ]
      "stylesheets" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_stylesheets"
      ]
      "javascripts" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_javascripts"
      ]
      "navigation" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_navigation"
      ]
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_header"
      ]
      "body" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_body"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#2}
        1 => "block_content"
      ]
      "footer" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_footer"
      ]
      "bottom" => array:2 [
        0 => __TwigTemplate_9e240e73f1c9d750bc272ff9b2683dfc4faa04bc8abe4f845b9b98e8c112eafc {#1}
        1 => "block_bottom"
      ]
    ]
    
/
home
/
bcmenergga
/
www
/
cache
/
twig
/
24
/
24988dc44c56b16e49b5dc1711807dee52a5dcba682be54ea5b582fc0ac7be22.php
 
        $this->blocks = [
            'header' => [$this, 'block_header'],
            'content' => [$this, 'block_content'],
        ];
    }
 
    protected function doGetParent(array $context)
    {
        // line 1
        return "partials/base.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 3
        $context["show_onpage_menu"] = (($this->getAttribute(($context["header"] ?? null), "onpage_menu", []) == true) || (null === $this->getAttribute(($context["header"] ?? null), "onpage_menu", [])));
        // line 1
        $this->parent = $this->loadTemplate("partials/base.html.twig", "modular.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 7
    public function block_header($context, array $blocks = [])
    {
        // line 8
        echo "\t";
        if ($this->getAttribute($this->getAttribute(($context["page"] ?? null), "header", []), "is_home", [])) {
            // line 9
            echo "\t\t";
            $this->loadTemplate("partials/header-home.html.twig", "modular.html.twig", 9)->display($context);
            // line 10
            echo "\t";
        } else {
            // line 11
            echo "\t\t";
            $this->loadTemplate("partials/header-page.html.twig", "modular.html.twig", 11)->display($context);
            // line 12
            echo "\t";
        }
Arguments
  1. array:29 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
    ]
    
  2. array:2 [
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_header"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_content"
      ]
    ]
    
/
home
/
bcmenergga
/
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
  1. array:29 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
      "show_onpage_menu" => true
    ]
    
  2. array:2 [
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_header"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_content"
      ]
    ]
    
/
home
/
bcmenergga
/
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();
        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;
Arguments
  1. array:28 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
      "grav" => Grav {}
    ]
    
  2. array:2 [
      "header" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_header"
      ]
      "content" => array:2 [
        0 => __TwigTemplate_8012d68a144360f15bd513272e5244d4d4fb53083ffd75160b0b4806da5b5ff0 {#1}
        1 => "block_content"
      ]
    ]
    
/
home
/
bcmenergga
/
www
/
vendor
/
twig
/
twig
/
src
/
Template.php
     * 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();
        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
  1. array:27 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
    ]
    
/
home
/
bcmenergga
/
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
  1. array:27 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
    ]
    
  2. []
    
/
home
/
bcmenergga
/
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
  1. array:27 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
    ]
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Twig
/
Twig.php
        $ext = '.' . ($format ?: 'html') . TWIG_EXT;
 
        // determine if params are set, if so disable twig cache
        $params = $this->grav['uri']->params(null, true);
        if (!empty($params)) {
            $this->twig->setCache(false);
        }
 
        // Get Twig template layout
        $template = $this->template($page->template() . $ext);
 
        try {
            $output = $this->twig->render($template, $vars + $twig_vars);
        } catch (\Twig_Error_Loader $e) {
            $error_msg = $e->getMessage();
            // Try html version of this template if initial template was NOT html
            if ($ext !== '.html' . TWIG_EXT) {
                try {
                    $page->templateFormat('html');
                    $output = $this->twig->render($page->template() . '.html' . TWIG_EXT, $vars + $twig_vars);
                } catch (\Twig_Error_Loader $e) {
                    throw new \RuntimeException($error_msg, 400, $e);
                }
            } else {
                throw new \RuntimeException($error_msg, 400, $e);
            }
        }
 
        return $output;
    }
 
    /**
     * Wraps the Twig_Loader_Filesystem addPath method (should be used only in `onTwigLoader()` event
     * @param string $template_path
     * @param string $namespace
     */
    public function addPath($template_path, $namespace = '__main__')
    {
        $this->loader->addPath($template_path, $namespace);
    }
Arguments
  1. "modular.html.twig"
    
  2. array:27 [
      "config" => Config {}
      "system" => array:27 [
        "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
        "languages" => array:9 [
          "supported" => array:2 [
            0 => "fr"
            1 => "en"
          ]
          "default_lang" => null
          "include_default_lang" => true
          "pages_fallback_only" => false
          "translations" => true
          "translations_fallback" => true
          "session_store_active" => false
          "http_accept_language" => false
          "override_locale" => false
        ]
        "home" => array:2 [
          "alias" => "/home"
          "hide_in_urls" => false
        ]
        "pages" => array:26 [
          "theme" => "bcm-template"
          "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:5 [
            "extra" => false
            "auto_line_breaks" => false
            "auto_url_links" => false
            "escape_markup" => false
            "special_chars" => array:2 [
              ">" => "gt"
              "<" => "lt"
            ]
          ]
          "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_route" => false
          "redirect_default_code" => "302"
          "redirect_trailing_slash" => true
          "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" => false
          "check" => array:1 [
            "method" => "file"
          ]
          "driver" => "auto"
          "prefix" => "g"
          "purge_at" => "0 4 * * *"
          "clear_at" => "0 3 * * *"
          "clear_job_type" => "standard"
          "clear_images_by_default" => true
          "cli_compatibility" => false
          "lifetime" => 604800
          "gzip" => false
          "allow_webserver_gzip" => false
          "redis" => array:1 [
            "socket" => false
          ]
        ]
        "twig" => array:7 [
          "cache" => true
          "debug" => true
          "auto_reload" => true
          "autoescape" => false
          "undefined_functions" => true
          "undefined_filters" => true
          "umask_fix" => false
        ]
        "assets" => array:12 [
          "css_pipeline" => false
          "css_pipeline_include_externals" => true
          "css_pipeline_before_excludes" => true
          "css_minify" => true
          "css_minify_windows" => false
          "css_rewrite" => true
          "js_pipeline" => false
          "js_pipeline_include_externals" => true
          "js_pipeline_before_excludes" => true
          "js_minify" => true
          "enable_asset_timestamp" => false
          "collections" => array:1 [
            "jquery" => "system://assets/jquery/jquery-2.x.min.js"
          ]
        ]
        "errors" => array:2 [
          "display" => 1
          "log" => true
        ]
        "log" => array:2 [
          "handler" => "file"
          "syslog" => array:1 [
            "facility" => "local6"
          ]
        ]
        "debugger" => array:3 [
          "enabled" => false
          "shutdown" => array:1 [
            "close_connection" => true
          ]
          "twig" => true
        ]
        "images" => array:6 [
          "default_image_quality" => 85
          "cache_all" => false
          "cache_perms" => "0755"
          "debug" => false
          "auto_fix_orientation" => false
          "seofriendly" => false
        ]
        "media" => array:5 [
          "enable_media_timestamp" => false
          "unsupported_inline_types" => []
          "allowed_fallback_types" => []
          "auto_metadata_exif" => false
          "upload_limit" => 134217728
        ]
        "session" => array:9 [
          "enabled" => true
          "initialize" => true
          "timeout" => 1800
          "name" => "grav-site"
          "uniqueness" => "path"
          "secure" => false
          "httponly" => true
          "split" => true
          "path" => null
        ]
        "gpm" => array:5 [
          "releases" => "stable"
          "proxy_url" => null
          "method" => "auto"
          "verify_peer" => true
          "official_gpm_only" => true
        ]
        "accounts" => array:2 [
          "type" => "data"
          "storage" => "file"
        ]
        "strict_mode" => array:2 [
          "yaml_compat" => true
          "twig_compat" => true
        ]
      ]
      "theme" => array:3 [
        "enabled" => true
        "dropdown" => array:1 [
          "enabled" => true
        ]
        "custom_logo" => array:1 [
          "user/themes/bcm-template/images/logo/BCM_logo.svg" => array:4 [
            "name" => "BCM_logo.svg"
            "type" => "image/svg+xml"
            "size" => 837
            "path" => "user/themes/bcm-template/images/logo/BCM_logo.svg"
          ]
        ]
      ]
      "site" => array:9 [
        "title" => "BCM Energy"
        "default_lang" => "fr"
        "author" => array:2 [
          "name" => "BCM Energy"
          "email" => "info@bcmenergy.fr"
        ]
        "taxonomies" => array:2 [
          0 => "category"
          1 => "tag"
        ]
        "metadata" => array:1 [
          "description" => "BCM Energy : courant porteur de valeur"
        ]
        "summary" => array:4 [
          "enabled" => true
          "format" => "short"
          "size" => 300
          "delimiter" => "==="
        ]
        "redirects" => null
        "routes" => null
        "blog" => array:1 [
          "route" => "/blog"
        ]
      ]
      "uri" => Uri {}
      "assets" => Assets {}
      "taxonomy" => Taxonomy {}
      "browser" => Browser {}
      "base_dir" => "/home/bcmenergga/www"
      "home_url" => "/en"
      "base_url" => "/en"
      "base_url_absolute" => "http://bcmenergy.fr/en"
      "base_url_relative" => "/en"
      "base_url_simple" => ""
      "theme_dir" => "/home/bcmenergga/www/user/themes/bcm-template"
      "theme_url" => "/user/themes/bcm-template"
      "html_lang" => "en"
      "language_codes" => LanguageCodes {}
      "form" => null
      "form_max_filesize" => 128
      "form_json_response" => []
      "langswitcher" => {}
      "pages" => Page {}
      "page" => Page {}
      "header" => {}
      "media" => Media {}
      "content" => "<h1>Recovering your renewable<br>energy production<br>is our mission!</h1>"
    ]
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Service
/
OutputServiceProvider.php
 
namespace Grav\Common\Service;
 
use Grav\Common\Page\Interfaces\PageInterface;
use Grav\Common\Twig\Twig;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
 
class OutputServiceProvider implements ServiceProviderInterface
{
    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
  1. "txt"
    
/
home
/
bcmenergga
/
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
     */
    public function offsetExists($id)
    {
        return isset($this->keys[$id]);
    }
 
    /**
Arguments
  1. Grav {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
RenderProcessor.php
 
namespace Grav\Common\Processors;
 
use Grav\Common\Page\Interfaces\PageInterface;
use Grav\Framework\Psr7\Response;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class RenderProcessor extends ProcessorBase
{
    public $id = 'render';
    public $title = 'Render';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
 
        $container = $this->container;
        $output =  $container['output'];
 
        if ($output instanceof ResponseInterface) {
            return $output;
        }
 
        ob_start();
 
        // Use internal Grav output.
        $container->output = $output;
        $container->fireEvent('onOutputGenerated');
 
        echo $container->output;
 
        // remove any output
        $container->output = '';
 
        $this->container->fireEvent('onOutputRendered');
 
        $html = ob_get_clean();
 
Arguments
  1. "output"
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
DebuggerAssetsProcessor.php
 
namespace Grav\Common\Processors;
 
use Grav\Framework\Psr7\Response;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class DebuggerAssetsProcessor extends ProcessorBase
{
    public $id = 'debugger_assets';
    public $title = 'Debugger Assets';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['debugger']->addAssets();
        $this->stopTimer();
 
        return $handler->handle($request);
 
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
PagesProcessor.php
            $this->addMessage("Routed to page {$page->rawRoute()} (type: {$page->template()}) [Not Found fallback]");
        } else {
            $this->addMessage("Routed to page {$page->rawRoute()} (type: {$page->template()})");
 
            $task = $this->container['task'];
            $action = $this->container['action'];
            if ($task) {
                $event = new Event(['task' => $task, 'page' => $page]);
                $this->container->fireEvent('onPageTask', $event);
                $this->container->fireEvent('onPageTask.' . $task, $event);
            } elseif ($action) {
                $event = new Event(['action' => $action, 'page' => $page]);
                $this->container->fireEvent('onPageAction', $event);
                $this->container->fireEvent('onPageAction.' . $action, $event);
            }
        }
 
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
TwigProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class TwigProcessor extends ProcessorBase
{
    public $id = 'twig';
    public $title = 'Twig';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['twig']->init();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
AssetsProcessor.php
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class AssetsProcessor extends ProcessorBase
{
    public $id = '_assets';
    public $title = 'Assets';
 
    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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
SchedulerProcessor.php
namespace Grav\Common\Processors;
 
use RocketTheme\Toolbox\Event\Event;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class SchedulerProcessor extends ProcessorBase
{
    public $id = '_scheduler';
    public $title = 'Scheduler';
 
    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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
BackupsProcessor.php
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class BackupsProcessor extends ProcessorBase
{
    public $id = '_backups';
    public $title = 'Backups';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $backups = $this->container['backups'];
        $backups->init();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
TasksProcessor.php
                    }
 
                    $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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
RequestProcessor.php
        $uri = $request->getUri();
        $ext = mb_strtolower(pathinfo($uri->getPath(), PATHINFO_EXTENSION));
 
        $request = $request
            ->withAttribute('grav', $this->container)
            ->withAttribute('time', $_SERVER['REQUEST_TIME_FLOAT'] ?? GRAV_REQUEST_TIME)
            ->withAttribute('route', Uri::getCurrentRoute()->withExtension($ext))
            ->withAttribute('referrer', $this->container['uri']->referrer());
 
        $event = new RequestHandlerEvent(['request' => $request, 'handler' => $handler]);
        /** @var RequestHandlerEvent $event */
        $event = $this->container->fireEvent('onRequestHandlerInit', $event);
        $response = $event->getResponse();
        $this->stopTimer();
 
        if ($response) {
            return $response;
        }
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
ThemesProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class ThemesProcessor extends ProcessorBase
{
    public $id = 'themes';
    public $title = 'Themes';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['themes']->init();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
PluginsProcessor.php
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class PluginsProcessor extends ProcessorBase
{
    public $id = 'plugins';
    public $title = 'Plugins';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        // TODO: remove in 2.0.
        $this->container['accounts'];
        $this->container['plugins']->init();
        $this->container->fireEvent('onPluginsInitialized');
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
InitializeProcessor.php
        }
 
        /** @var Uri $uri */
        $uri = $this->container['uri'];
        $uri->init();
 
        // Redirect pages with trailing slash if configured to do so.
        $path = $uri->path() ?: '/';
        if ($path !== '/'
            && $config->get('system.pages.redirect_trailing_slash', false)
            && Utils::endsWith($path, '/')) {
 
            $redirect = (string) $uri::getCurrentRoute()->toString();
            $this->container->redirect($redirect);
        }
 
        $this->container->setLocale();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
DebuggerProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class DebuggerProcessor extends ProcessorBase
{
    public $id = '_debugger';
    public $title = 'Init Debugger';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['debugger']->init();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
ErrorsProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class ErrorsProcessor extends ProcessorBase
{
    public $id = '_errors';
    public $title = 'Error Handlers Reset';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['errors']->resetHandlers();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
LoggerProcessor.php
 
        /** @var Config $config */
        $config = $grav['config'];
 
        switch ($config->get('system.log.handler', 'file')) {
            case 'syslog':
                $log = $grav['log'];
                $log->popHandler();
 
                $facility = $config->get('system.log.syslog.facility', 'local6');
                $logHandler = new SyslogHandler('grav', $facility);
                $formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%");
                $logHandler->setFormatter($formatter);
 
                $log->pushHandler($logHandler);
                break;
        }
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Processors
/
ConfigurationProcessor.php
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class ConfigurationProcessor extends ProcessorBase
{
    public $id = '_config';
    public $title = 'Configuration';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['config']->init();
        $this->container['plugins']->setup();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Framework
/
RequestHandler
/
Traits
/
RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {}
    
  2. RequestHandler {}
    
/
home
/
bcmenergga
/
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
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
system
/
src
/
Grav
/
Common
/
Grav.php
                },
                'debuggerAssetsProcessor' => function () {
                    return new DebuggerAssetsProcessor($this);
                },
                'renderProcessor' => function () {
                    return new RenderProcessor($this);
                },
            ]
        );
 
        $default = function (ServerRequestInterface $request) {
            return new Response(404);
        };
 
        /** @var Debugger $debugger */
        $debugger = $this['debugger'];
 
        $collection = new RequestHandler($this->middleware, $default, $container);
 
        $response = $collection->handle($this['request']);
 
        $this->header($response);
        echo $response->getBody();
 
        $debugger->render();
 
        register_shutdown_function([$this, 'shutdown']);
    }
 
    /**
     * Set the system locale based on the language and configuration
     */
    public function setLocale()
    {
        // Initialize Locale if set and configured.
        if ($this['language']->enabled() && $this['config']->get('system.languages.override_locale')) {
            $language = $this['language']->getLanguage();
            setlocale(LC_ALL, \strlen($language) < 3 ? ($language . '_' . strtoupper($language)) : $language);
        } elseif ($this['config']->get('system.default_locale')) {
            setlocale(LC_ALL, $this['config']->get('system.default_locale'));
Arguments
  1. ServerRequest {}
    
/
home
/
bcmenergga
/
www
/
index.php
 
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());
 
// Set internal encoding if mbstring loaded
if (!\extension_loaded('mbstring')) {
    die("'mbstring' extension is not loaded.  This is required for Grav to run correctly");
}
mb_internal_encoding('UTF-8');
 
// Get the Grav instance
$grav = Grav::instance(
    array(
        'loader' => $loader
    )
);
 
// Process the page
try {
    $grav->process();
} catch (\Error $e) {
    $grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
    throw $e;
} catch (\Exception $e) {
    $grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
    throw $e;
}
 

Environment & details:

empty
empty
empty
empty
Key Value
user
User {}
redirect_after_login
"/cgv-36"
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZflgKSWq719gQM2VO@vCbAAAAGg"
GEOIP_COUNTRY_CODE
"US"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_REGION
"VA"
GEOIP_CITY
"Ashburn"
GEOIP_DMA_CODE
"511"
GEOIP_AREA_CODE
"703"
GEOIP_LATITUDE
"39.046902"
GEOIP_LONGITUDE
"-77.490303"
SCRIPT_URL
"/en/cgv-36"
SCRIPT_URI
"http://bcmenergy.fr/en/cgv-36"
CFG_CLUSTER
"cluster005"
ENVIRONMENT
"production"
APP_ENGINE_VERSION
"7.1"
APP_ENGINE
"phpcgi"
HTTP_HOST
"bcmenergy.fr"
HTTP_X_PREDICTOR
"1"
HTTP_X_FORWARDED_FOR
"54.172.169.199"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_OVHREQUEST_ID
"c324ec443ecab05b672463fa06513485"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_PORT
"80"
HTTP_X_REMOTE_PORT
"55654"
HTTP_X_REMOTE_IP
"54.172.169.199"
HTTP_X_REMOTE_PROTO
"http"
HTTP_FORWARDED
"for=54.172.169.199; proto=http; host=bcmenergy.fr"
HTTP_REMOTE_PORT
"55654"
HTTP_X_IPLB_UNIQUE_ID
"36ACA9C7:D966_D5BA2110:0050_65F96029_153F1:12C3"
HTTP_REMOTE_IP
"54.172.169.199"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"bcmenergy.fr"
SERVER_ADDR
"10.5.20.20"
SERVER_PORT
"80"
REMOTE_ADDR
"54.172.169.199"
DOCUMENT_ROOT
"/home/bcmenergga/www"
SERVER_ADMIN
"postmaster@bcmenergy.fr"
SCRIPT_FILENAME
"/home/bcmenergga/www/index.php"
REMOTE_PORT
"65154"
REDIRECT_URL
"/en/cgv-36"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/en/cgv-36"
SCRIPT_NAME
"/index.php"
HOME
"/homez.328/bcmenergga"
PWD
"/homez.328/bcmenergga/www"
UID
"bcmenergga"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710841897.8997
REQUEST_TIME
1710841897
argv
array:1 [
  0 => "index.php"
]
argc
1
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZflgKSWq719gQM2VO@vCbAAAAGg"
GEOIP_COUNTRY_CODE
"US"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_REGION
"VA"
GEOIP_CITY
"Ashburn"
GEOIP_DMA_CODE
"511"
GEOIP_AREA_CODE
"703"
GEOIP_LATITUDE
"39.046902"
GEOIP_LONGITUDE
"-77.490303"
SCRIPT_URL
"/en/cgv-36"
SCRIPT_URI
"http://bcmenergy.fr/en/cgv-36"
CFG_CLUSTER
"cluster005"
ENVIRONMENT
"production"
APP_ENGINE_VERSION
"7.1"
APP_ENGINE
"phpcgi"
HTTP_HOST
"bcmenergy.fr"
HTTP_X_PREDICTOR
"1"
HTTP_X_FORWARDED_FOR
"54.172.169.199"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_OVHREQUEST_ID
"c324ec443ecab05b672463fa06513485"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_PORT
"80"
HTTP_X_REMOTE_PORT
"55654"
HTTP_X_REMOTE_IP
"54.172.169.199"
HTTP_X_REMOTE_PROTO
"http"
HTTP_FORWARDED
"for=54.172.169.199; proto=http; host=bcmenergy.fr"
HTTP_REMOTE_PORT
"55654"
HTTP_X_IPLB_UNIQUE_ID
"36ACA9C7:D966_D5BA2110:0050_65F96029_153F1:12C3"
HTTP_REMOTE_IP
"54.172.169.199"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"bcmenergy.fr"
SERVER_ADDR
"10.5.20.20"
SERVER_PORT
"80"
REMOTE_ADDR
"54.172.169.199"
DOCUMENT_ROOT
"/home/bcmenergga/www"
SERVER_ADMIN
"postmaster@bcmenergy.fr"
SCRIPT_FILENAME
"/home/bcmenergga/www/index.php"
REMOTE_PORT
"65154"
REDIRECT_URL
"/en/cgv-36"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/en/cgv-36"
SCRIPT_NAME
"/index.php"
HOME
"/homez.328/bcmenergga"
PWD
"/homez.328/bcmenergga/www"
UID
"bcmenergga"
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler