Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("Serialization of 'Closure' is not allowed"). Twig_Error_Runtime thrown with message "An exception has been thrown during the rendering of a template ("Serialization of 'Closure' is not allowed")." Stacktrace: #59 Twig_Error_Runtime in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/engines/nucleus/particles/position.html.twig:4 #58 Exception in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/w3-total-cache/Cache_File.php:119 #57 serialize in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/w3-total-cache/Cache_File.php:119 #56 W3TC\Cache_File:set in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php:284 #55 W3TC\ObjectCache_WpObjectCache_Regular:set in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php:50 #54 W3TC\ObjectCache_WpObjectCache:set in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/object-cache.php:67 #53 wp_cache_set in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/includes/class.content_handlers.php:160 #52 SLB_Content_Handlers:update_cache in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/includes/class.content_handlers.php:103 #51 SLB_Content_Handlers:get in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/includes/class.content_handlers.php:118 #50 SLB_Content_Handlers:match in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/controller.php:588 #49 SLB_Lightbox:process_links in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/controller.php:482 #48 SLB_Lightbox:activate_links in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/controller.php:1382 #47 SLB_Lightbox:widget_process_finish in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/simple-lightbox/controller.php:1360 #46 SLB_Lightbox:widget_process_inter in /var/www/vhosts/fvst-coe.de/httpdocs/wp-includes/class-wp-hook.php:286 #45 WP_Hook:apply_filters in /var/www/vhosts/fvst-coe.de/httpdocs/wp-includes/plugin.php:203 #44 apply_filters in /var/www/vhosts/fvst-coe.de/httpdocs/wp-includes/widgets.php:711 #43 dynamic_sidebar in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/classes/Gantry/WordPress/Widgets.php:90 #42 Gantry\WordPress\Widgets:displayPosition in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/classes/Gantry/Framework/Platform.php:242 #41 Gantry\Framework\Platform:displayWidgets in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:677 #40 Twig_Template:getAttribute in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/29/298953eb17a7424ff7873dfc62eda58370f0048a3f6f3f4346fdde15ac9a9867.php:32 #39 __TwigTemplate_8aecb985c5e20f8f665e6f0003274943526baacf6f7a18faacbba9c3cae8f5b9:block_particle in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:215 #38 Twig_Template:displayBlock in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/8a/8a8c5c945bcc5fcb5d23215de41c6c7ee043dbfa287ddc35372d3868e32ecf01.php:62 #37 __TwigTemplate_9eebd20bd80862b08e6b8f960ff9bffb51276ee4b6a68cb3d39ce7a554cabf16:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #36 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #35 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/29/298953eb17a7424ff7873dfc62eda58370f0048a3f6f3f4346fdde15ac9a9867.php:24 #34 __TwigTemplate_8aecb985c5e20f8f665e6f0003274943526baacf6f7a18faacbba9c3cae8f5b9:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #33 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #32 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/e5/e598f22e6cc364fb4c42efc65913d1e97ec38676eefe014e2f82ec4a3487f83f.php:42 #31 __TwigTemplate_ccb1777bbecad53e9946af1363e9980d4dd99bf77a74e7959ba1089f4b42a03d:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #30 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #29 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/53/537e60469f9b58171e3e91c12c765108e677f997856b07fdcd7f01338f813e34.php:64 #28 __TwigTemplate_759084848b2f6b996a05db39543473e8f6c75bafbe73b6b40a2777b71b4af49c:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #27 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #26 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/4c/4c3d08a70f9d3cfa9330c75dee5fe8879b50691a2c2c7e31ee2cbd2e530148a8.php:47 #25 __TwigTemplate_cba63749785ea8cb45cee21ff2e69ccd41ca372e51dd1e15d14de11ee63db012:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #24 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #23 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/7c/7c04e53ed83b3582a2a51f0216fa863fe0dd13fbe43b7b4f75c7d80a553dec7d.php:59 #22 __TwigTemplate_6eaac25f7ad2c03fe61d6dbc758bcf6c31fe5ca1bd2e358b189e9c8ec08a28a4:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #21 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #20 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/cc/cc40403c8261e8c7ed6d5c9cb5840b1cfc433d3b34e4ba69c13c8d2938fbd7e7.php:190 #19 __TwigTemplate_5cbf716132cb0e5a5afcb3a2064a5f6ef92cb463daefa41180ed393ca02d0d3e:block_page_layout in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:215 #18 Twig_Template:displayBlock in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/cc/cc40403c8261e8c7ed6d5c9cb5840b1cfc433d3b34e4ba69c13c8d2938fbd7e7.php:77 #17 __TwigTemplate_5cbf716132cb0e5a5afcb3a2064a5f6ef92cb463daefa41180ed393ca02d0d3e:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #16 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #15 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/15/15678e08331aeef643b4b4b3dadb5dd81bca396ded2375d9d949941cba4a0879.php:25 #14 __TwigTemplate_1fae4bf36befd6990d6cc6d5a72590fb03cc760267368e54d85746959d49a101:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #13 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #12 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/cache/gantry5/g5_helium/twig/23/23bdb21a453dbda753f5891c4729fd3179030e4d1f4c55ea0e92a5d264931367.php:29 #11 __TwigTemplate_7f4b613d4b69c9ef4ab231d61ae3aac18e945a542e19044cdb791ab957241cc7:doDisplay in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:432 #10 Twig_Template:displayWithErrorHandling in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:403 #9 Twig_Template:display in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php:411 #8 Twig_Template:render in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Environment.php:362 #7 Twig_Environment:render in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Loader.php:74 #6 Timber\Loader:render in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:318 #5 Timber\Timber:compile in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:362 #4 Timber\Timber:fetch in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:389 #3 Timber\Timber:render in /var/www/vhosts/fvst-coe.de/httpdocs/wp-content/themes/g5_helium/page.php:41 #2 include in /var/www/vhosts/fvst-coe.de/httpdocs/wp-includes/template-loader.php:74 #1 require_once in /var/www/vhosts/fvst-coe.de/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/fvst-coe.de/httpdocs/index.php:17
Stack frames (60)
59
Twig_Error_Runtime
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
gantry5
/
engines
/
nucleus
/
particles
/
position.html.twig
4
58
Exception
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
w3-total-cache
/
Cache_File.php
119
57
serialize
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
w3-total-cache
/
Cache_File.php
119
56
W3TC
\
Cache_File
set
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
w3-total-cache
/
ObjectCache_WpObjectCache_Regular.php
284
55
W3TC
\
ObjectCache_WpObjectCache_Regular
set
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
w3-total-cache
/
ObjectCache_WpObjectCache.php
50
54
W3TC
\
ObjectCache_WpObjectCache
set
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
object-cache.php
67
53
wp_cache_set
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
includes
/
class.content_handlers.php
160
52
SLB_Content_Handlers
update_cache
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
includes
/
class.content_handlers.php
103
51
SLB_Content_Handlers
get
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
includes
/
class.content_handlers.php
118
50
SLB_Content_Handlers
match
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
controller.php
588
49
SLB_Lightbox
process_links
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
controller.php
482
48
SLB_Lightbox
activate_links
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
controller.php
1382
47
SLB_Lightbox
widget_process_finish
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
plugins
/
simple-lightbox
/
controller.php
1360
46
SLB_Lightbox
widget_process_inter
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-includes
/
class-wp-hook.php
286
45
WP_Hook
apply_filters
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-includes
/
plugin.php
203
44
apply_filters
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-includes
/
widgets.php
711
43
dynamic_sidebar
/
classes
/
Gantry
/
WordPress
/
Widgets.php
90
42
Gantry
\
WordPress
\
Widgets
displayPosition
/
classes
/
Gantry
/
Framework
/
Platform.php
242
41
Gantry
\
Framework
\
Platform
displayWidgets
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
677
40
Twig_Template
getAttribute
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
29
/
298953eb17a7424ff7873dfc62eda58370f0048a3f6f3f4346fdde15ac9a9867.php
32
39
__TwigTemplate_8aecb985c5e20f8f665e6f0003274943526baacf6f7a18faacbba9c3cae8f5b9
block_particle
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
215
38
Twig_Template
displayBlock
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
8a
/
8a8c5c945bcc5fcb5d23215de41c6c7ee043dbfa287ddc35372d3868e32ecf01.php
62
37
__TwigTemplate_9eebd20bd80862b08e6b8f960ff9bffb51276ee4b6a68cb3d39ce7a554cabf16
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
36
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
35
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
29
/
298953eb17a7424ff7873dfc62eda58370f0048a3f6f3f4346fdde15ac9a9867.php
24
34
__TwigTemplate_8aecb985c5e20f8f665e6f0003274943526baacf6f7a18faacbba9c3cae8f5b9
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
33
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
32
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
e5
/
e598f22e6cc364fb4c42efc65913d1e97ec38676eefe014e2f82ec4a3487f83f.php
42
31
__TwigTemplate_ccb1777bbecad53e9946af1363e9980d4dd99bf77a74e7959ba1089f4b42a03d
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
30
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
29
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
53
/
537e60469f9b58171e3e91c12c765108e677f997856b07fdcd7f01338f813e34.php
64
28
__TwigTemplate_759084848b2f6b996a05db39543473e8f6c75bafbe73b6b40a2777b71b4af49c
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
27
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
26
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
4c
/
4c3d08a70f9d3cfa9330c75dee5fe8879b50691a2c2c7e31ee2cbd2e530148a8.php
47
25
__TwigTemplate_cba63749785ea8cb45cee21ff2e69ccd41ca372e51dd1e15d14de11ee63db012
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
24
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
23
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
7c
/
7c04e53ed83b3582a2a51f0216fa863fe0dd13fbe43b7b4f75c7d80a553dec7d.php
59
22
__TwigTemplate_6eaac25f7ad2c03fe61d6dbc758bcf6c31fe5ca1bd2e358b189e9c8ec08a28a4
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
21
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
20
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
cc
/
cc40403c8261e8c7ed6d5c9cb5840b1cfc433d3b34e4ba69c13c8d2938fbd7e7.php
190
19
__TwigTemplate_5cbf716132cb0e5a5afcb3a2064a5f6ef92cb463daefa41180ed393ca02d0d3e
block_page_layout
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
215
18
Twig_Template
displayBlock
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
cc
/
cc40403c8261e8c7ed6d5c9cb5840b1cfc433d3b34e4ba69c13c8d2938fbd7e7.php
77
17
__TwigTemplate_5cbf716132cb0e5a5afcb3a2064a5f6ef92cb463daefa41180ed393ca02d0d3e
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
16
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
15
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
15
/
15678e08331aeef643b4b4b3dadb5dd81bca396ded2375d9d949941cba4a0879.php
25
14
__TwigTemplate_1fae4bf36befd6990d6cc6d5a72590fb03cc760267368e54d85746959d49a101
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
13
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
12
Twig_Template
display
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
cache
/
gantry5
/
g5_helium
/
twig
/
23
/
23bdb21a453dbda753f5891c4729fd3179030e4d1f4c55ea0e92a5d264931367.php
29
11
__TwigTemplate_7f4b613d4b69c9ef4ab231d61ae3aac18e945a542e19044cdb791ab957241cc7
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
10
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
9
Twig_Template
display
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
411
8
Twig_Template
render
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
362
7
Twig_Environment
render
/
vendor
/
timber
/
timber
/
lib
/
Loader.php
74
6
Timber
\
Loader
render
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
318
5
Timber
\
Timber
compile
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
362
4
Timber
\
Timber
fetch
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
389
3
Timber
\
Timber
render
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-content
/
themes
/
g5_helium
/
page.php
41
2
include
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-includes
/
template-loader.php
74
1
require_once
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
wp-blog-header.php
19
0
require
/
var
/
www
/
vhosts
/
fvst-coe.de
/
httpdocs
/
index.php
17
{% extends '@nucleus/partials/particle.html.twig' %}
 
{% block particle %}
    {{ gantry.platform.displayWidgets(particle.key, {'chrome': particle.chrome|default('gantry'), 'prepare_layout': prepare_layout})|raw }}
{% endblock %}
 
     * @param mixed   $var
     * @param integer $expire
     * @param string  $group  Used to differentiate between groups of cache values
     * @return boolean
     */
    function set( $key, $var, $expire = 0, $group = '' ) {
        $fp = $this->fopen_write( $key, $group, 'wb' );
        if ( !$fp )
            return false;
 
        if ( $this->_locking )
            @flock( $fp, LOCK_EX );
 
        if ( $expire <= 0 || $expire > W3TC_CACHE_FILE_EXPIRE_MAX )
            $expire = W3TC_CACHE_FILE_EXPIRE_MAX;
 
        $expires_at = time() + $expire;
        @fputs( $fp, pack( 'L', $expires_at ) );
        @fputs( $fp, '<?php exit; ?>' );
        @fputs( $fp, @serialize( $var ) );
        @fclose( $fp );
 
        if ( $this->_locking )
            @flock( $fp, LOCK_UN );
 
        return true;
    }
 
    /**
     * Returns data
     *
     * @param string  $key
     * @param string  $group Used to differentiate between groups of cache values
     * @return mixed
     */
    function get_with_old( $key, $group = '' ) {
        list( $data, $has_old_data ) = $this->_get_with_old_raw( $key, $group );
        if ( !empty( $data ) )
            $data_unserialized = @unserialize( $data );
        else
Exception message: Serialization of 'Closure' is not allowed
     * @param mixed   $var
     * @param integer $expire
     * @param string  $group  Used to differentiate between groups of cache values
     * @return boolean
     */
    function set( $key, $var, $expire = 0, $group = '' ) {
        $fp = $this->fopen_write( $key, $group, 'wb' );
        if ( !$fp )
            return false;
 
        if ( $this->_locking )
            @flock( $fp, LOCK_EX );
 
        if ( $expire <= 0 || $expire > W3TC_CACHE_FILE_EXPIRE_MAX )
            $expire = W3TC_CACHE_FILE_EXPIRE_MAX;
 
        $expires_at = time() + $expire;
        @fputs( $fp, pack( 'L', $expires_at ) );
        @fputs( $fp, '<?php exit; ?>' );
        @fputs( $fp, @serialize( $var ) );
        @fclose( $fp );
 
        if ( $this->_locking )
            @flock( $fp, LOCK_UN );
 
        return true;
    }
 
    /**
     * Returns data
     *
     * @param string  $key
     * @param string  $group Used to differentiate between groups of cache values
     * @return mixed
     */
    function get_with_old( $key, $group = '' ) {
        list( $data, $has_old_data ) = $this->_get_with_old_raw( $key, $group );
        if ( !empty( $data ) )
            $data_unserialized = @unserialize( $data );
        else
        $ext_return = false;
 
        if ( $this->_caching &&
            !in_array( $group, $this->nonpersistent_groups ) &&
            $this->_check_can_cache_runtime( $group ) ) {
            $cache = $this->_get_cache( null, $group );
 
            if ( $id == 'alloptions' && $group == 'options' ) {
                // alloptions are deserialized on the start when some classes are not loaded yet
                // so postpone it until requested
                foreach ( $data as $k => $v ) {
                    if ( is_object( $v ) ) {
                        $data[$k] = serialize( $v );
                    }
                }
            }
 
            $v = array( 'content' => $data );
            $ext_return = $cache->set( $key, $v,
                ( $expire ? $expire : $this->_lifetime ) );
            $return = $ext_return;
        }
 
        if ( $this->_is_transient_group( $group ) &&
            $this->_config->get_boolean( 'objectcache.fallback_transients' ) ) {
            $this->_transient_fallback_set( $id, $data, $group, $expire );
        }
 
        if ( $this->_debug ) {
            $this->debug_info[] = array(
                'id' => $id,
                'group' => $group,
                'operation' => 'set',
                'returned' => ( $ext_return ? 'put in cache' : 'discarded' ),
                'data_size' => ( $data ? strlen( serialize( $data ) ) : '' ),
                'time' => 0
            );
        }
 
        return $return;
     * @param string  $group
     * @return mixed
     */
    function get( $id, $group = 'default', $force = false, &$found = null ) {
        $cache = $this->_get_engine( $group );
        return $cache->get( $id, $group, $force, $found );
    }
 
    /**
     * Set to the cache
     *
     * @param string  $id
     * @param mixed   $data
     * @param string  $group
     * @param integer $expire
     * @return boolean
     */
    function set( $id, $data, $group = 'default', $expire = 0 ) {
        $cache = $this->_get_engine( $group );
        return $cache->set( $id, $data, $group, $expire );
    }
 
    /**
     * Delete from the cache
     *
     * @param string  $id
     * @param string  $group
     * @param bool    $force
     * @return boolean
     */
    function delete( $id, $group = 'default', $force = false ) {
        $cache = $this->_get_engine( $group );
        return $cache->delete( $id, $group, $force );
    }
 
    /**
     * Add to the cache
     *
     * @param string  $id
     * @param mixed   $data
     */
    function wp_cache_get( $id, $group = 'default', $force = false, &$found = null ) {
        global $wp_object_cache;
 
        return $wp_object_cache->get( $id, $group, $force, $found );
    }
 
    /**
     * Set cache
     *
     * @param string  $id
     * @param mixed   $data
     * @param string  $group
     * @param integer $expire
     * @return boolean
     */
    function wp_cache_set( $id, $data, $group = 'default', $expire = 0 ) {
        global $wp_object_cache;
 
        return $wp_object_cache->set( $id, $data, $group, (int)$expire );
    }
 
    /**
     * Delete from cache
     *
     * @param string  $id
     * @param string  $group
     * @return boolean
     */
    function wp_cache_delete( $id, $group = 'default' ) {
        global $wp_object_cache;
 
        return $wp_object_cache->delete( $id, $group );
    }
 
    /**
     * Add data to cache
     *
     * @param string  $id
     * @param mixed   $data
     * @uses get_cache_props()
     * @uses wp_cache_get()
     * @return array Cached items (Default: empty array)
     */
    protected function get_cache() {
        $cprops= $this->get_cache_props();
        $items = wp_cache_get($cprops->key, $cprops->group);
        return ( is_array($items) ) ? $items : array();
    }
    
    /**
     * Update cached items
     * Cache is cleared if no items specified
     * @uses get_cache_props()
     * @uses wp_cache_get()
     * @param array $data Item data to cache
     */
    protected function update_cache($data = null) {
        $props = $this->get_cache_props();
        wp_cache_set($props->key, $data, $props->group);
    }
    
    /**
     * Clear cache
     * @uses update_cache()
     */
    protected function clear_cache() {
        $this->update_cache();
    }
    
    /**
     * Retrieve cache properites (key, group)
     * @return object Cache properties
     */
    protected function get_cache_props() {
        if ( !is_object($this->cache_props) ) {
            $this->cache_props = (object) array (
                'key' => $this->hook_prefix . '_items',
                'group' => $this->get_prefix(),
            );
     * @return object Current instance
     */
    public function clear() {
        $this->clear_cache();
        return parent::clear();
    }
    
    /**
     * Retrieves handlers sorted by priority
     * @see parent::get()
     * @uses get_cache()
     * @param mixed $args Unused
     * @return array Handlers
     */
    public function get($args = null) {
        $items = $this->get_cache();
        if ( empty($items) ) {
            // Retrieve items
            $items = parent::get( array( 'orderby' => array('meta' => 'priority') ) );
            $this->update_cache($items);
        }
        return $items;
    }
    
    /**
     * Get matching handler for URI
     * @param string $uri URI to find match for
     * @return object Handler package (FALSE if no match found)
     * Package members
     * > handler (Content_Handler) Matching handler instance (Default: NULL)
     * > props (array) Properties returned from matching handler (May be empty depending on handler)
     */
    public function match($uri) {
        $ret = (object) array('handler' => null, 'props' => array());
        foreach ( $this->get() as $handler ) {
            $props = $handler->match($uri, $this);
            if ( !!$props ) {
                $ret->handler = $handler;
                // Add handler props
                if ( is_array($props) ) {
        $items = $this->get_cache();
        if ( empty($items) ) {
            // Retrieve items
            $items = parent::get( array( 'orderby' => array('meta' => 'priority') ) );
            $this->update_cache($items);
        }
        return $items;
    }
    
    /**
     * Get matching handler for URI
     * @param string $uri URI to find match for
     * @return object Handler package (FALSE if no match found)
     * Package members
     * > handler (Content_Handler) Matching handler instance (Default: NULL)
     * > props (array) Properties returned from matching handler (May be empty depending on handler)
     */
    public function match($uri) {
        $ret = (object) array('handler' => null, 'props' => array());
        foreach ( $this->get() as $handler ) {
            $props = $handler->match($uri, $this);
            if ( !!$props ) {
                $ret->handler = $handler;
                // Add handler props
                if ( is_array($props) ) {
                    $ret->props = $props;
                }
                // Save match
                $hid = $handler->get_id();
                if ( !isset($this->request_matches[$hid]) ) {
                    $this->request_matches[$hid] = $handler;
                }
                break;
            }
        }
        return $ret;
    }
    
    /* Cache */
    
                $internal = ( $uri->parts['host'] === $uri_origin['host'] ) ? true : false;
            
                // Attachment?
                if ( $internal && is_local_attachment($uri->source) ) {
                    $pid = url_to_postid($uri->source);
                    $src = wp_get_attachment_url($pid);
                    if ( !!$src ) {
                        $uri->source = $src;
                        $props_extra['id'] = $pid;
                        // Check cache for attachment source URI
                        $key = $this->get_media_item_id($uri->source);
                    }
                    unset($src);
                }
            }
            
            // Determine content type
            if ( !$key ) {
                // Get handler match
                $hdl_result = $this->handlers->match($uri->source);
                if ( !!$hdl_result->handler ) {
                    $type = $hdl_result->handler->get_id();
                    $props_extra = $hdl_result->props;
                    // Updated source URI
                    if ( isset($props_extra['uri']) ) {
                        $uri->source = $props_extra['uri'];
                        unset($props_extra['uri']);
                    }
                }
                
                // Cache valid item
                if ( !!$type ) {
                    $key = $this->cache_media_item($uri, $type, $internal, $props_extra);
                }
            }
            
            // Stop processing invalid links
            if ( !$key ) {
                // Cache invalid URI
                $this->validated_uris[$uri->source] = false;
    }
    
    /**
     * Scans post content for image links and activates them
     * 
     * Lightbox will not be activated for feeds
     * @param string $content Content to activate
     * @param string (optonal) $group Group ID for content
     * @return string Post content
     */
    public function activate_links($content, $group = null) {
        // Validate content
        if ( !$this->is_content_valid($content) ) {
            return $content;
        }
        // Filter content before processing links
        $content = $this->util->apply_filters('pre_process_links', $content);
        
        // Process links
        $content = $this->process_links($content, $group);
        
        // Filter content after processing links
        $content = $this->util->apply_filters('post_process_links', $content);
        
        return $content;
    }
    
    /**
     * Process links in content
     * @global obj $wpdb DB instance
     * @global obj $post Current post
     * @param string $content Text containing links
     * @param string (optional) $group Group to add links to (Default: none)
     * @return string Content with processed links 
     */
    protected function process_links($content, $group = null) {
        // Extract links
        $links = $this->get_links($content, true);
        // Do not process content without links
        if ( empty($links) ) {
    
    /**
     * Complete widget processing
     * Activate widget output
     * @uses $widget_processing
     * @uses $widget_processing_level
     * @uses $widget_processing_params
     * @return void
     */
    public function widget_process_finish() {
        /**
         * Stop processing on conditions:
         * - No widget is being processed
         * - Processing a nested widget
         */
        if ( !$this->widget_processing || 0 < $this->widget_processing_level ) {
            return;
        }
        // Activate widget output
        $out = $this->activate_links(ob_get_clean());
        
        // Clear grouping callback
        if ( $this->options->get_bool('group_widget') ) {
            $this->util->remove_filter('get_group_id', $this->m('widget_group_id'));
        }
        // End widget processing
        $this->widget_processing = false;
        $this->widget_processing_params = null;
        // Output widget
        echo $out;
    }
    
    /**
     * Add widget ID to link group ID
     * Widget ID precedes all other group segments
     * @uses `SLB::get_group_id` filter
     * @param array $group_segments Group ID segments
     * @return array Modified group ID segments
     */
    public function widget_group_id($group_segments) {
            return;
        }
        // Start widget processing
        $this->widget_processing = true;
        $this->widget_processing_params = $widget_args;
        // Enable widget grouping
        if ( $this->options->get_bool('group_widget') ) {
            $this->util->add_filter('get_group_id', $this->m('widget_group_id'));
        }
        // Begin output buffer
        ob_start();
    }
    
    /**
     * Handles inter-widget processing
     * After widget output generated, Before next widget starts
     * @param array $params New widget parameters
     */
    public function widget_process_inter( $params ) {
        $this->widget_process_finish();
        return $params;
    }
    
    /**
     * Complete widget processing
     * Activate widget output
     * @uses $widget_processing
     * @uses $widget_processing_level
     * @uses $widget_processing_params
     * @return void
     */
    public function widget_process_finish() {
        /**
         * Stop processing on conditions:
         * - No widget is being processed
         * - Processing a nested widget
         */
        if ( !$this->widget_processing || 0 < $this->widget_processing_level ) {
            return;
        }
        }
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if( ! $this->doing_action ) {
                    $args[ 0 ] = $value;
                }
 
                // Avoid the array_slice if possible.
                if ( $the_['accepted_args'] == 0 ) {
                    $value = call_user_func_array( $the_['function'], array() );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
        $args = func_get_args();
        _wp_call_all_hook($args);
    }
 
    if ( !isset($wp_filter[$tag]) ) {
        if ( isset($wp_filter['all']) )
            array_pop($wp_current_filter);
        return $value;
    }
 
    if ( !isset($wp_filter['all']) )
        $wp_current_filter[] = $tag;
 
    if ( empty($args) )
        $args = func_get_args();
 
    // don't pass the tag name to WP_Hook
    array_shift( $args );
 
    $filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Execute functions hooked on a specific filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 * functions hooked to `$tag` are supplied using an array.
 *
 * @global array $wp_filter         Stores all of the filters
 * @global array $wp_current_filter Stores the list of current filters with the current one last
 *
 * @param string $tag  The name of the filter hook.
 * @param array  $args The arguments supplied to the functions hooked to $tag.
 * @return mixed The filtered value after all hooked functions are applied to it.
         *
         *         @type string $name          Name of the sidebar the widget is assigned to.
         *         @type string $id            ID of the sidebar the widget is assigned to.
         *         @type string $description   The sidebar description.
         *         @type string $class         CSS class applied to the sidebar container.
         *         @type string $before_widget HTML markup to prepend to each widget in the sidebar.
         *         @type string $after_widget  HTML markup to append to each widget in the sidebar.
         *         @type string $before_title  HTML markup to prepend to the widget title when displayed.
         *         @type string $after_title   HTML markup to append to the widget title when displayed.
         *         @type string $widget_id     ID of the widget.
         *         @type string $widget_name   Name of the widget.
         *     }
         *     @type array $widget_args {
         *         An array of multi-widget arguments.
         *
         *         @type int $number Number increment used for multiples of the same widget.
         *     }
         * }
         */
        $params = apply_filters( 'dynamic_sidebar_params', $params );
 
        $callback = $wp_registered_widgets[$id]['callback'];
 
        /**
         * Fires before a widget's display callback is called.
         *
         * Note: The action fires on both the front end and back end, including
         * for widgets in the Inactive Widgets sidebar on the Widgets screen.
         *
         * The action is not fired for empty sidebars.
         *
         * @since 3.0.0
         *
         * @param array $widget_id {
         *     An associative array of widget arguments.
         *
         *     @type string $name                Name of the widget.
         *     @type string $id                  Widget ID.
         *     @type array|callable $callback    When the hook is fired on the front end, $callback is an array
         *                                       containing the widget object. Fired on the back end, $callback
                    $args = apply_filters('dynamic_sidebar_params', $args);
 
                    // Grab the content of the plugin.
                    ob_start();
                    call_user_func_array($callback, $args);
                    $contents = ob_get_clean();
 
                    // As we already rendered content, we can later just display it.
                    $wp_registered_widgets[$id]['callback'] = function () use ($contents) {
                        echo $contents;
                    };
                }
            }
 
            $html = '@@DEFERRED@@';
 
        } else {
            // Display whole sidebar.
            ob_start();
            \dynamic_sidebar($key);
            $html = ob_get_clean();
        }
 
        // Remove sidebar params filter.
        \remove_filter('dynamic_sidebar_params', ['Gantry\Wordpress\Widgets', 'sidebarChromeFilter'], -1000);
 
        return $html;
    }
 
    public static function displayWidget($instance = [], array $params = [])
    {
        if (is_string($instance)) {
            $instance = json_decode($instance, true);
        }
        if (!isset($instance['type']) || $instance['type'] !== 'widget' || !isset($instance['widget']) || !isset($instance['options'])) {
            return null;
        }
 
        $options = $instance['options'];
 
            'hierarchical'             => 1,
            'taxonomy'                 => 'category',
            'pad_counts'               => 1
        ];
 
        $args = wp_parse_args( apply_filters( 'gantry5_form_field_selectize_categories_args', $args ), $default );
 
        $categories = get_categories( $args );
        $new_categories = [];
 
        foreach( $categories as $cat ) {
            $new_categories[$cat->cat_ID] = $cat->name;
        }
 
        return apply_filters( 'gantry5_form_field_selectize_categories', $new_categories );
    }
 
    public function displayWidgets($key, array $params = [])
    {
        return Widgets::displayPosition($key, $params);
    }
 
    public function displayWidget($instance = [], array $params = [])
    {
        return Widgets::displayWidget($instance, $params);
    }
 
    public function listWidgets()
    {
        return Widgets::listWidgets();
    }
 
    public function displaySystemMessages($params = [])
    {
        /** @var Theme $theme */
        $theme = $this->container['theme'];
 
        /** @var Messages $messages */
        $messages = $this->container['messages'];
 
            }
 
            throw new Twig_Error_Runtime(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_Sandbox')) {
            $this->env->getExtension('Twig_Extension_Sandbox')->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(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());
            }
            @trigger_error($message, E_USER_DEPRECATED);
            'particle' => array($this, 'block_particle'),
        );
    }
 
    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_particle($context, array $blocks = array())
    {
        // line 4
        echo "    ";
        echo $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", array()), "displayWidgets", array(0 => $this->getAttribute(($context["particle"] ?? null), "key", array()), 1 => array("chrome" => (($this->getAttribute(($context["particle"] ?? null), "chrome", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "chrome", array()), "gantry")) : ("gantry")), "prepare_layout" => ($context["prepare_layout"] ?? null))), "method");
        echo "
";
    }
 
    public function getTemplateName()
    {
        return "@particles/position.html.twig";
    }
 
    public function isTraitable()
    {
        return false;
    }
 
    public function getDebugInfo()
    {
        return array (  31 => 4,  28 => 3,  11 => 1,);
    }
 
    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
 
        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 (Twig_Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for Twig_Error_Loader exceptions
                // see Twig_Error_Loader
                if (false === $e->getTemplateLine()) {
                    $e->setTemplateLine(-1);
                    $e->guess();
                }
 
                throw $e;
            } catch (Exception $e) {
                throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
        } else {
            @trigger_error(sprintf('Silent display of undefined block "%s" in template "%s" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block(\'%s\') is defined" expression to test for block existence.', $name, $this->getTemplateName(), $name), E_USER_DEPRECATED);
        $assetFunction($content, $location, $priority);
        // line 9
        $assetFunction = $this->env->getFunction('parse_assets')->getCallable();
        $assetVariables = array();
        if ($assetVariables && !is_array($assetVariables)) {
            throw new UnexpectedValueException('{% scripts with x %}: x is not an array');
        }
        $location = "footer";
        if ($location && !is_string($location)) {
            throw new UnexpectedValueException('{% scripts in x %}: x is not a string');
        }
        $priority = isset($assetVariables['priority']) ? $assetVariables['priority'] : 0;
        ob_start();
        // line 10
        echo "    ";
        $this->displayBlock('javascript_footer', $context, $blocks);
        $content = ob_get_clean();
        $assetFunction($content, $location, $priority);
        // line 14
        $this->displayBlock('particle', $context, $blocks);
    }
 
    // line 2
    public function block_stylesheets($context, array $blocks = array())
    {
        // line 3
        echo "    ";
    }
 
    // line 5
    public function block_javascript($context, array $blocks = array())
    {
        // line 6
        echo "    ";
    }
 
    // line 10
    public function block_javascript_footer($context, array $blocks = array())
    {
        // line 11
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);
 
        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/position.html.twig", 1);
        $this->blocks = array(
            'particle' => array($this, 'block_particle'),
        );
    }
 
    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_particle($context, array $blocks = array())
    {
        // line 4
        echo "    ";
        echo $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", array()), "displayWidgets", array(0 => $this->getAttribute(($context["particle"] ?? null), "key", array()), 1 => array("chrome" => (($this->getAttribute(($context["particle"] ?? null), "chrome", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "chrome", array()), "gantry")) : ("gantry")), "prepare_layout" => ($context["prepare_layout"] ?? null))), "method");
        echo "
";
    }
 
    public function getTemplateName()
    {
        return "@particles/position.html.twig";
    }
 
    public function isTraitable()
    {
        return false;
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
                echo "        ";
                $context["enabled"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "config", array()), "get", array(0 => (("particles." . $this->getAttribute(($context["segment"] ?? null), "type", array())) . ".enabled"), 1 => 1), "method");
                // line 4
                echo "        ";
                $context["particle"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "config", array()), "getJoined", array(0 => ("particles." . $this->getAttribute(($context["segment"] ?? null), "type", array())), 1 => $this->getAttribute(($context["segment"] ?? null), "attributes", array())), "method");
                // line 5
                echo "    ";
            }
            // line 6
            echo "
    ";
            // line 7
            ob_start();
            // line 8
            echo "        ";
            if ((($context["enabled"] ?? null) && ((null === $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", array()), "enabled", array())) || $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", array()), "enabled", array())))) {
                // line 9
                echo "            ";
                $this->loadTemplate(array(0 => (("particles/" . (($this->getAttribute(($context["segment"] ?? null), "subtype", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", array()), "position")) : ("position"))) . ".html.twig"), 1 => (("@particles/" . (($this->getAttribute(                // line 10
($context["segment"] ?? null), "subtype", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", array()), "position")) : ("position"))) . ".html.twig")), "@nucleus/content/position.html.twig", 9)->display($context);
                // line 11
                echo "        ";
            }
            // line 12
            echo "    ";
            $context["html"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 14
            if (twig_trim_filter(($context["html"] ?? null))) {
                // line 15
                echo "        ";
                if (($this->getAttribute(($context["gantry"] ?? null), "debug", array()) && $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", array()), "key", array()))) {
                    echo "<!-- START POSITION ";
                    echo $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", array()), "key", array());
                    echo " -->";
                }
                // line 16
                echo "
        <div class=\"g-content";
                // line 17
                echo (($this->getAttribute(($context["segment"] ?? null), "classes", array())) ? ((" " . twig_escape_filter($this->env, twig_join_filter($this->getAttribute(($context["segment"] ?? null), "classes", array()), " ")))) : (""));
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
                // line 10
                echo "            ";
                if ($this->getAttribute($context["segment"], "content", array())) {
                    // line 11
                    echo "                ";
                    echo $this->getAttribute($context["segment"], "content", array());
                    echo "
            ";
                } else {
                    // line 13
                    echo "                ";
                    $this->loadTemplate(array(0 => (("@nucleus/content/" . $this->getAttribute($context["segment"], "type", array())) . ".html.twig"), 1 => (("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", array())) . ".html.twig")), "@nucleus/layout/block.html.twig", 13)->display(array_merge($context, array("segments" => $this->getAttribute($context["segment"], "children", array()))));
                    // line 14
                    echo "            ";
                }
                // line 15
                echo "        ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 16
            echo "    ";
        }
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["segments"] ?? null));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
                // line 7
                echo "            ";
                $this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", array())) . ".html.twig"), "@nucleus/layout/grid.html.twig", 7)->display(array_merge($context, array("segments" => $this->getAttribute($context["segment"], "children", array()))));
                // line 8
                echo "        ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 9
            echo "    ";
        }
        $context["html"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 12
        if (twig_trim_filter(($context["html"] ?? null))) {
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["segments"] ?? null));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
                // line 13
                echo "            ";
                $this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", array())) . ".html.twig"), "@nucleus/layout/section.html.twig", 13)->display(array_merge($context, array("segments" => $this->getAttribute($context["segment"], "children", array()))));
                // line 14
                echo "        ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 15
            echo "    ";
        }
        $context["html"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 18
        if (($this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", array()), "sticky", array()) || twig_trim_filter(($context["html"] ?? null)))) {
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
    }
 
    // line 30
    public function block_page_layout($context, array $blocks = array())
    {
        // line 31
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["segments"] ?? null));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
            if (($this->getAttribute($context["segment"], "type", array()) != "offcanvas")) {
                // line 32
                echo "        ";
                $this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", array())) . ".html.twig"), "@nucleus/page.html.twig", 32)->display(array_merge($context, array("segments" => $this->getAttribute($context["segment"], "children", array()))));
                // line 33
                echo "    ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 34
        echo "    ";
    }
 
    // line 38
    public function block_page_top($context, array $blocks = array())
    {
        // line 39
        echo "    ";
    }
 
        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 (Twig_Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for Twig_Error_Loader exceptions
                // see Twig_Error_Loader
                if (false === $e->getTemplateLine()) {
                    $e->setTemplateLine(-1);
                    $e->guess();
                }
 
                throw $e;
            } catch (Exception $e) {
                throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
        } else {
            @trigger_error(sprintf('Silent display of undefined block "%s" in template "%s" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block(\'%s\') is defined" expression to test for block existence.', $name, $this->getTemplateName(), $name), E_USER_DEPRECATED);
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 18
        ob_start();
        // line 19
        echo "    ";
        $this->displayBlock('page_offcanvas', $context, $blocks);
        $context["page_offcanvas"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 26
        $context["page_offcanvas"] = ((twig_trim_filter(($context["page_offcanvas"] ?? null))) ? (twig_trim_filter(($context["page_offcanvas"] ?? null))) : (""));
        // line 27
        $context["offcanvas_position"] = ((($context["page_offcanvas"] ?? null)) ? ((($this->getAttribute($this->getAttribute(($context["offcanvas"] ?? null), "attributes", array(), "any", false, true), "position", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["offcanvas"] ?? null), "attributes", array(), "any", false, true), "position", array()), "g-offcanvas-left")) : ("g-offcanvas-left"))) : (""));
        // line 29
        ob_start();
        // line 30
        echo "    ";
        $this->displayBlock('page_layout', $context, $blocks);
        $context["page_layout"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 37
        ob_start();
        // line 38
        echo "    ";
        $this->displayBlock('page_top', $context, $blocks);
        // line 40
        echo "    ";
        echo twig_join_filter($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "document", array()), "getHtml", array(0 => "top"), "method"), "
    ");
        echo "
";
        $context["page_top"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 43
        ob_start();
        // line 44
        echo "    ";
        $this->displayBlock('page_bottom', $context, $blocks);
        // line 46
        echo "    ";
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);
 
        // line 1
        $this->parent = $this->loadTemplate("@nucleus/page.html.twig", "partials/page.html.twig", 1);
        $this->blocks = array(
            'page_head' => array($this, 'block_page_head'),
            'page_footer' => array($this, 'block_page_footer'),
        );
    }
 
    protected function doGetParent(array $context)
    {
        return "@nucleus/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_page_head($context, array $blocks = array())
    {
        // line 4
        if (($context["page_head"] ?? null)) {
            // line 5
            echo "        ";
            echo ($context["page_head"] ?? null);
            echo "
    ";
        } else {
            // line 7
            echo "        ";
            $this->displayParentBlock("page_head", $context, $blocks);
            echo "
    ";
        }
    }
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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;
        // line 1
        $this->parent = $this->loadTemplate("partials/page.html.twig", "page.html.twig", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }
 
    protected function doGetParent(array $context)
    {
        return "partials/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 2
        $context["twigTemplate"] = "page.html.twig";
        // line 3
        $context["scope"] = "page";
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 5
    public function block_content($context, array $blocks = array())
    {
        // line 6
        echo "
    <div class=\"platform-content\">
        <div class=\"content-wrapper\">
            <section class=\"entry\">
 
                ";
        // line 11
        $this->loadTemplate(array(0 => (("partials/content-" . ($context["scope"] ?? null)) . ".html.twig"), 1 => "partials/content.html.twig"), "page.html.twig", 11)->display($context);
        // line 12
        echo "
            </section>
        </div> <!-- /content-wrapper -->
    </div>
 
            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 = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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 array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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 = array())
    {
        try {
        @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 $name    The template name
     * @param array  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     *
     * @throws Twig_Error_Loader  When the template cannot be found
     * @throws Twig_Error_Syntax  When an error occurred during compilation
     * @throws Twig_Error_Runtime When an error occurred during rendering
     */
    public function render($name, array $context = array())
    {
        return $this->loadTemplate($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string $name    The template name
     * @param array  $context An array of parameters to pass to the template
     *
     * @throws Twig_Error_Loader  When the template cannot be found
     * @throws Twig_Error_Syntax  When an error occurred during compilation
     * @throws Twig_Error_Runtime When an error occurred during rendering
     */
    public function display($name, array $context = array())
    {
        $this->loadTemplate($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
        }
 
        $key = null;
        $output = false;
        if ( false !== $expires ) {
            ksort($data);
            $key = md5($file.json_encode($data));
            $output = $this->get_cache($key, self::CACHEGROUP, $cache_mode);
        }
 
        if ( false === $output || null === $output ) {
            $twig = $this->get_twig();
            if ( strlen($file) ) {
                $loader = $this->get_loader();
                $result = $loader->getCacheKey($file);
                do_action('timber_loader_render_file', $result);
            }
            $data = apply_filters('timber_loader_render_data', $data);
            $data = apply_filters('timber/loader/render_data', $data, $file);
            $output = $twig->render($file, $data);
        }
 
        if ( false !== $output && false !== $expires && null !== $key ) {
            $this->delete_cache();
            $this->set_cache($key, $output, self::CACHEGROUP, $expires, $cache_mode);
        }
        $output = apply_filters('timber_output', $output);
        return apply_filters('timber/output', $output, $data, $file);
    }
 
    protected function delete_cache() {
        Cleaner::delete_transients();
    }
 
    /**
     * Get first existing template.
     *
     * @param array|string $templates  Name(s) of the Twig template(s) to choose from.
     * @return string|bool             Name of chosen template, otherwise false.
     */
        if ( $via_render ) {
            $file = apply_filters('timber_render_file', $file);
        } else {
            $file = apply_filters('timber_compile_file', $file);
        }
 
        $output = false;
 
        if ($file !== false) {
            if ( is_null($data) ) {
                $data = array();
            }
 
            if ( $via_render ) {
                $data = apply_filters('timber_render_data', $data);
            } else {
                $data = apply_filters('timber_compile_data', $data);
            }
 
            $output = $loader->render($file, $data, $expires, $cache_mode);
        }
 
        do_action('timber_compile_done');
        return $output;
    }
 
    /**
     * Compile a string.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * $welcome = Timber::compile_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   Optional. An array of data to use in Twig template.
        $twig = $dummy_loader->get_twig();
        $template = $twig->createTemplate($string);
        return $template->render($data);
    }
 
    /**
     * Fetch function.
     *
     * @api
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The returned output.
     */
    public static function fetch( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::compile($filenames, $data, $expires, $cache_mode, true);
        $output = apply_filters('timber_compile_result', $output);
        return $output;
    }
 
    /**
     * Render function.
     *
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::get_context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::get_context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The echoed output.
     */
    public static function render( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::fetch($filenames, $data, $expires, $cache_mode);
        echo $output;
        return $output;
    }
 
    /**
     * Render a string with Twig variables.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * Timber::render_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   An array of data to use in Twig template.
     * @return bool|string
     */
 *
 * To generate specific templates for your pages you can use:
 * /mytheme/views/page-mypage.html.twig
 * (which will still route through this PHP file)
 * OR
 * /mytheme/page-mypage.php
 * (in which case you'll want to duplicate this file and save to the above path)
 */
 
$gantry = Gantry\Framework\Gantry::instance();
$theme  = $gantry['theme'];
 
// We need to render contents of <head> before plugin content gets added.
$context              = Timber::get_context();
$context['page_head'] = $theme->render('partials/page_head.html.twig', $context);
 
$post            = Timber::query_post();
$context['post'] = $post;
 
Timber::render(['page-' . $post->post_name . '.html.twig', 'page.html.twig'], $context);
 
    elseif ( is_single()         && $template = get_single_template()         ) :
    elseif ( is_page()           && $template = get_page_template()           ) :
    elseif ( is_singular()       && $template = get_singular_template()       ) :
    elseif ( is_category()       && $template = get_category_template()       ) :
    elseif ( is_tag()            && $template = get_tag_template()            ) :
    elseif ( is_author()         && $template = get_author_template()         ) :
    elseif ( is_date()           && $template = get_date_template()           ) :
    elseif ( is_archive()        && $template = get_archive_template()        ) :
    else :
        $template = get_index_template();
    endif;
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    if ( $template = apply_filters( 'template_include', $template ) ) {
        include( $template );
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
endif;
 
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( !isset($wp_did_header) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once( dirname(__FILE__) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /intern/klassenlehrer/
USER fvst
HOME /var/www/vhosts/fvst-coe.de
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /intern/klassenlehrer/
REMOTE_PORT 59164
SCRIPT_FILENAME /var/www/vhosts/fvst-coe.de/httpdocs/index.php
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/fvst-coe.de/httpdocs
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/fvst-coe.de/httpdocs
REMOTE_ADDR 54.81.220.239
SERVER_PORT 443
SERVER_ADDR 62.138.217.84
SERVER_NAME fvst-coe.de
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST fvst-coe.de
HTTP_IF_MODIFIED_SINCE Tue, 23 Apr 2019 13:13:25 EEST
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
proxy-nokeepalive 1
SSL_TLS_SNI fvst-coe.de
HTTPS on
PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
W3TC_ENC _gzip
W3TC_SSL _ssl
UNIQUE_ID XTG1atjF4B0jWcZpvCQxcgAAAQE
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI fvst-coe.de
REDIRECT_HTTPS on
REDIRECT_PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
REDIRECT_W3TC_ENC _gzip
REDIRECT_W3TC_SSL _ssl
REDIRECT_UNIQUE_ID XTG1atjF4B0jWcZpvCQxcgAAAQE
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1563538794.7994
REQUEST_TIME 1563538794
empty
0. Whoops\Handler\PrettyPageHandler