Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("Undefined index: contact_country"). Twig_Error_Runtime thrown with message "An exception has been thrown during the rendering of a template ("Undefined index: contact_country")." Stacktrace: #63 Twig_Error_Runtime in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/themes/fcschalke04/resources/views/pages/default.twig:24 #62 Whoops\Exception\ErrorException in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/fcs04-contacts/resources/visualcomposer/elements/contact.php:80 #61 Whoops\Run:handleError in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/fcs04-contacts/resources/visualcomposer/elements/contact.php:80 #60 fcs04_contact:element_frontend in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:319 #59 do_shortcode_tag in [internal]:0 #58 preg_replace_callback in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:197 #57 do_shortcode in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/helpers/helpers.php:333 #56 wpb_js_remove_wpautop in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/themes/fcschalke04/visualcomposer/shortcodes/vc_column.php:46 #55 include in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:473 #54 WPBakeryShortCode:loadTemplate in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:453 #53 WPBakeryShortCode:content in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:565 #52 WPBakeryShortCode:output in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/helpers/helpers.php:1477 #51 vc_do_shortcode in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:319 #50 do_shortcode_tag in [internal]:0 #49 preg_replace_callback in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:197 #48 do_shortcode in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/helpers/helpers.php:333 #47 wpb_js_remove_wpautop in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/templates/shortcodes/vc_row.php:152 #46 include in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:473 #45 WPBakeryShortCode:loadTemplate in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/vc-row.php:35 #44 WPBakeryShortCode_VC_Row:content in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:565 #43 WPBakeryShortCode:output in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/js_composer/include/helpers/helpers.php:1477 #42 vc_do_shortcode in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:319 #41 do_shortcode_tag in [internal]:0 #40 preg_replace_callback in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/shortcodes.php:197 #39 do_shortcode in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/class-wp-hook.php:286 #38 WP_Hook:apply_filters in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/plugin.php:203 #37 apply_filters in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Extensions/ThemosisTwigExtension.php:57 #36 call_user_func_array in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Extensions/ThemosisTwigExtension.php:57 #35 Themosis\View\Extensions\ThemosisTwigExtension:__call in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:674 #34 Twig_Template:getAttribute in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/storage/twig/07/07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php:70 #33 __TwigTemplate_7c74f83c9d298706d354e97f7d4f33d73af464e8dfa23e38e3e6703612674cf8:block_content in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:215 #32 Twig_Template:displayBlock in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/storage/twig/dc/dcb723bd3ecbb09fd37dfb3a336f5fe59d83d3c427501650751dc292188427bd.php:237 #31 __TwigTemplate_1b0fec90411e2c6da3ffbcbe3279ec0cdf15adac181ec9d4186f73c14f34c7ca:doDisplay in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:432 #30 Twig_Template:displayWithErrorHandling in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:403 #29 Twig_Template:display in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/storage/twig/07/07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php:26 #28 __TwigTemplate_7c74f83c9d298706d354e97f7d4f33d73af464e8dfa23e38e3e6703612674cf8:doDisplay in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:432 #27 Twig_Template:displayWithErrorHandling in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:403 #26 Twig_Template:display in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:411 #25 Twig_Template:render in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/twig/twig/lib/Twig/Environment.php:362 #24 Twig_Environment:render in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Engines/TwigEngine.php:49 #23 Themosis\View\Engines\TwigEngine:get in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/view/View.php:142 #22 Illuminate\View\View:getContents in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/view/View.php:125 #21 Illuminate\View\View:renderContents in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/view/View.php:90 #20 Illuminate\View\View:render in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/mu-plugins/themosis-framework/src/Themosis/helpers.php:562 #19 view in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/themes/fcschalke04/resources/controllers/Page.php:31 #18 Theme\Controllers\Page:fallback in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Controller.php:54 #17 call_user_func_array in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Controller.php:54 #16 Illuminate\Routing\Controller:callAction in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/ControllerDispatcher.php:45 #15 Illuminate\Routing\ControllerDispatcher:dispatch in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Route.php:212 #14 Illuminate\Routing\Route:runController in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Route.php:169 #13 Illuminate\Routing\Route:run in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Router.php:665 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/pipeline/Pipeline.php:104 #10 Illuminate\Pipeline\Pipeline:then in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Router.php:667 #9 Illuminate\Routing\Router:runRouteWithinStack in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Router.php:642 #8 Illuminate\Routing\Router:runRoute in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Router.php:608 #7 Illuminate\Routing\Router:dispatchToRoute in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/vendor/illuminate/routing/Router.php:597 #6 Illuminate\Routing\Router:dispatch in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/class-wp-hook.php:286 #4 WP_Hook:apply_filters in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/class-wp-hook.php:310 #3 WP_Hook:do_action in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/plugin.php:453 #2 do_action in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-includes/template-loader.php:12 #1 require_once in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/wp-blog-header.php:19 #0 require in /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/index.php:17
Stack frames (64)
63
Twig_Error_Runtime
/
htdocs
/
content
/
themes
/
fcschalke04
/
resources
/
views
/
pages
/
default.twig
24
62
Whoops
\
Exception
\
ErrorException
/
htdocs
/
content
/
plugins
/
fcs04-contacts
/
resources
/
visualcomposer
/
elements
/
contact.php
80
61
Whoops
\
Run
handleError
/
htdocs
/
content
/
plugins
/
fcs04-contacts
/
resources
/
visualcomposer
/
elements
/
contact.php
80
60
fcs04_contact
element_frontend
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
319
59
do_shortcode_tag
[internal]
0
58
preg_replace_callback
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
197
57
do_shortcode
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
333
56
wpb_js_remove_wpautop
/
htdocs
/
content
/
themes
/
fcschalke04
/
visualcomposer
/
shortcodes
/
vc_column.php
46
55
include
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
473
54
WPBakeryShortCode
loadTemplate
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
453
53
WPBakeryShortCode
content
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
565
52
WPBakeryShortCode
output
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
1477
51
vc_do_shortcode
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
319
50
do_shortcode_tag
[internal]
0
49
preg_replace_callback
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
197
48
do_shortcode
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
333
47
wpb_js_remove_wpautop
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
templates
/
shortcodes
/
vc_row.php
152
46
include
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
473
45
WPBakeryShortCode
loadTemplate
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
vc-row.php
35
44
WPBakeryShortCode_VC_Row
content
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
565
43
WPBakeryShortCode
output
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
1477
42
vc_do_shortcode
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
319
41
do_shortcode_tag
[internal]
0
40
preg_replace_callback
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
197
39
do_shortcode
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
286
38
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
plugin.php
203
37
apply_filters
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
57
36
call_user_func_array
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
57
35
Themosis
\
View
\
Extensions
\
ThemosisTwigExtension
__call
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
674
34
Twig_Template
getAttribute
/
storage
/
twig
/
07
/
07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php
70
33
__TwigTemplate_7c74f83c9d298706d354e97f7d4f33d73af464e8dfa23e38e3e6703612674cf8
block_content
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
215
32
Twig_Template
displayBlock
/
storage
/
twig
/
dc
/
dcb723bd3ecbb09fd37dfb3a336f5fe59d83d3c427501650751dc292188427bd.php
237
31
__TwigTemplate_1b0fec90411e2c6da3ffbcbe3279ec0cdf15adac181ec9d4186f73c14f34c7ca
doDisplay
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
30
Twig_Template
displayWithErrorHandling
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
29
Twig_Template
display
/
storage
/
twig
/
07
/
07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php
26
28
__TwigTemplate_7c74f83c9d298706d354e97f7d4f33d73af464e8dfa23e38e3e6703612674cf8
doDisplay
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
27
Twig_Template
displayWithErrorHandling
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
26
Twig_Template
display
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
411
25
Twig_Template
render
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
362
24
Twig_Environment
render
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Engines
/
TwigEngine.php
49
23
Themosis
\
View
\
Engines
\
TwigEngine
get
/
vendor
/
illuminate
/
view
/
View.php
142
22
Illuminate
\
View
\
View
getContents
/
vendor
/
illuminate
/
view
/
View.php
125
21
Illuminate
\
View
\
View
renderContents
/
vendor
/
illuminate
/
view
/
View.php
90
20
Illuminate
\
View
\
View
render
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
helpers.php
562
19
view
/
htdocs
/
content
/
themes
/
fcschalke04
/
resources
/
controllers
/
Page.php
31
18
Theme
\
Controllers
\
Page
fallback
/
vendor
/
illuminate
/
routing
/
Controller.php
54
17
call_user_func_array
/
vendor
/
illuminate
/
routing
/
Controller.php
54
16
Illuminate
\
Routing
\
Controller
callAction
/
vendor
/
illuminate
/
routing
/
ControllerDispatcher.php
45
15
Illuminate
\
Routing
\
ControllerDispatcher
dispatch
/
vendor
/
illuminate
/
routing
/
Route.php
212
14
Illuminate
\
Routing
\
Route
runController
/
vendor
/
illuminate
/
routing
/
Route.php
169
13
Illuminate
\
Routing
\
Route
run
/
vendor
/
illuminate
/
routing
/
Router.php
665
12
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
routing
/
Pipeline.php
30
11
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
104
10
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
illuminate
/
routing
/
Router.php
667
9
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
illuminate
/
routing
/
Router.php
642
8
Illuminate
\
Routing
\
Router
runRoute
/
vendor
/
illuminate
/
routing
/
Router.php
608
7
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
illuminate
/
routing
/
Router.php
597
6
Illuminate
\
Routing
\
Router
dispatch
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
292
5
Themosis
setRouter
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
286
4
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
310
3
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
453
2
do_action
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
12
1
require_once
/
htdocs
/
cms
/
wp-blog-header.php
19
0
require
/
htdocs
/
cms
/
index.php
17
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
themes
/
fcschalke04
/
resources
/
views
/
pages
/
default.twig
            <ol class="breadcrumb">
                {{ fn.bcn_display_list(true, true, false, false) | raw }}
            </ol>
        </nav>
    </div>
{% endblock %}
{% block content %}
    <div class="module module-stage module-stage-newscenter-article">
        <div class="stage-container">
            <div class="stage-body">
                <div class="stage-text">
                    <h1 class="stage-title display-3">{{ post.post_title }}</h1>
                    <p class="stage-copy lead">{{ post.post_excerpt }}</p>
                </div>
                <div class="stage-footer">
                </div>
            </div>
        </div>
    </div>
    {{ fn.apply_filters('the_content', post.post_content) | raw }}
{% endblock %}
{% block newsletter %}
{% endblock %}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
fcs04-contacts
/
resources
/
visualcomposer
/
elements
/
contact.php
    /**
     * Element backend.
     * {{ params }} are rendered in /assets/js/backend.js
     */
    public function element_backend() {
        $html = '<div class="module module-infobox">
            <h2>{{ params.headline }}</h2>
            <p></p>
        </div>';
        return $html;
    }
 
    /**
     * Element frontend.
     */
    public function element_frontend( $atts, $content = null ) {
        // render template
        $atts['contact'] = get_post($atts['contact']);
        $atts['contact']->postmeta = get_fields($atts['contact']->ID);
        if ($atts['contact']->postmeta['contact_country']) {
            $atts['contact']->postmeta['contact_country'] = __(Jasny\ISO\Countries::getName($atts['contact']->postmeta['contact_country']), FCS04_CONTACTS_TD);
        }
        $html = view('psl.fcs04.contacts.elements.infobox', $atts);
        return $html;
    }
 
    private function _getContacts() {
        $query = new \WP_Query();
        $args = [
            'post_type' => 'contact',
            'post_status' => 'publish',
            'posts_per_page' => -1,
            'orderby' => 'title',
            'order' => 'ASC'
        ];
        $contacts = $query->query($args);
 
        $values = [];
        foreach ($contacts as $contact) {
            $values[$contact->post_title] = $contact->ID;
Exception message: Undefined index: contact_country
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
fcs04-contacts
/
resources
/
visualcomposer
/
elements
/
contact.php
    /**
     * Element backend.
     * {{ params }} are rendered in /assets/js/backend.js
     */
    public function element_backend() {
        $html = '<div class="module module-infobox">
            <h2>{{ params.headline }}</h2>
            <p></p>
        </div>';
        return $html;
    }
 
    /**
     * Element frontend.
     */
    public function element_frontend( $atts, $content = null ) {
        // render template
        $atts['contact'] = get_post($atts['contact']);
        $atts['contact']->postmeta = get_fields($atts['contact']->ID);
        if ($atts['contact']->postmeta['contact_country']) {
            $atts['contact']->postmeta['contact_country'] = __(Jasny\ISO\Countries::getName($atts['contact']->postmeta['contact_country']), FCS04_CONTACTS_TD);
        }
        $html = view('psl.fcs04.contacts.elements.infobox', $atts);
        return $html;
    }
 
    private function _getContacts() {
        $query = new \WP_Query();
        $args = [
            'post_type' => 'contact',
            'post_status' => 'publish',
            'posts_per_page' => -1,
            'orderby' => 'title',
            'order' => 'ASC'
        ];
        $contacts = $query->query($args);
 
        $values = [];
        foreach ($contacts as $contact) {
            $values[$contact->post_title] = $contact->ID;
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Passing a truthy value to the filter will effectively short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag         Shortcode name.
     * @param array|string $attr        Shortcode attributes array or empty string.
     * @param array        $m           Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Search only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
 
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if (empty($shortcode_tags) || !is_array($shortcode_tags))
        return $content;
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieve the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
        }
    }
 
    return $width;
}
 
/**
 * @param $content
 * @param bool $autop
 *
 * @since 4.2
 * @return string
 */
function wpb_js_remove_wpautop( $content, $autop = false ) {
 
    if ( $autop ) { // Possible to use !preg_match('('.WPBMap::getTagsRegexp().')', $content)
        $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" );
    }
 
    return do_shortcode( shortcode_unautop( $content ) );
}
 
if ( ! function_exists( 'shortcode_exists' ) ) {
    /**
     * Check if a shortcode is registered in WordPress.
     *
     * Examples: shortcode_exists( 'caption' ) - will return true.
     * shortcode_exists( 'blah' ) - will return false.
     *
     * @param bool $shortcode
     *
     * @since 4.2
     * @return bool
     */
    function shortcode_exists( $shortcode = false ) {
        global $shortcode_tags;
 
        if ( ! $shortcode ) {
            return false;
        }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
themes
/
fcschalke04
/
visualcomposer
/
shortcodes
/
vc_column.php
    $this->getExtraClass( $el_class ) . $this->getCSSAnimation( $css_animation ),
    'wpb_column',
    'vc_column_container',
    $width,
);
 
if ( vc_shortcode_custom_css_has_property( $css, array(
    'border',
    'background',
) ) ) {
    $css_classes[] = 'vc_col-has-fill';
}
 
$wrapper_attributes = array();
 
$css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( $css_classes ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
 
$output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
$output .= wpb_js_remove_wpautop( $content );
$output .= '</div>';
 
echo $output;
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
        }
 
        /**
         * @param $atts
         * @param null $content
         *
         * vc_filter: vc_shortcode_content_filter - hook to edit template content
         * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
         *
         * @return mixed|void
         */
        protected function loadTemplate( $atts, $content = null ) {
            $output = '';
            if ( ! is_null( $content ) ) {
                $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
            }
            $this->findShortcodeTemplate();
            if ( $this->html_template ) {
                ob_start();
                include( $this->html_template );
                $output = ob_get_contents();
                ob_end_clean();
            } else {
                trigger_error( sprintf( __( 'Template file is missing for `%s` shortcode. Make sure you have `%s` file in your theme folder.', 'js_composer' ), $this->shortcode, 'wp-content/themes/your_theme/vc_templates/' . $this->shortcode . '.php' ) );
            }
 
            return apply_filters( 'vc_shortcode_content_filter_after', $output, $this->shortcode );
        }
 
        /**
         * @param $atts
         * @param $content
         *
         * @return string
         */
        public function contentAdmin( $atts, $content = null ) {
            $output = $custom_markup = $width = $el_position = '';
            if ( null !== $content ) {
                $content = wpautop( stripslashes( $content ) );
            }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
                return $this->setTemplate( $user_template );
            }
 
            // Check default place
            $default_dir = vc_manager()->getDefaultShortcodesTemplatesDir() . '/';
            if ( is_file( $default_dir . $this->getFileName() . '.php' ) ) {
                return $this->setTemplate( $default_dir . $this->getFileName() . '.php' );
            }
 
            return '';
        }
 
        /**
         * @param $atts
         * @param null $content
         *
         * @return mixed|void
         */
        protected function content( $atts, $content = null ) {
            return $this->loadTemplate( $atts, $content );
        }
 
        /**
         * @param $atts
         * @param null $content
         *
         * vc_filter: vc_shortcode_content_filter - hook to edit template content
         * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
         *
         * @return mixed|void
         */
        protected function loadTemplate( $atts, $content = null ) {
            $output = '';
            if ( ! is_null( $content ) ) {
                $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
            }
            $this->findShortcodeTemplate();
            if ( $this->html_template ) {
                ob_start();
                include( $this->html_template );
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
            $content = empty( $content ) && ! empty( $atts['content'] ) ? $atts['content'] : $content;
            if ( ( $this->isInline() || vc_is_page_editable() ) && method_exists( $this, 'contentInline' ) ) {
                $output .= $this->contentInline( $this->atts, $content );
            } else {
                $this->enqueueDefaultScripts();
                $custom_output = VC_SHORTCODE_CUSTOMIZE_PREFIX . $this->shortcode;
                $custom_output_before = VC_SHORTCODE_BEFORE_CUSTOMIZE_PREFIX . $this->shortcode; // before shortcode function hook
                $custom_output_after = VC_SHORTCODE_AFTER_CUSTOMIZE_PREFIX . $this->shortcode; // after shortcode function hook
 
                // Before shortcode
                if ( function_exists( $custom_output_before ) ) {
                    $output .= $custom_output_before( $this->atts, $content );
                } else {
                    $output .= $this->beforeShortcode( $this->atts, $content );
                }
                // Shortcode content
                if ( function_exists( $custom_output ) ) {
                    $output .= $custom_output( $this->atts, $content );
                } else {
                    $output .= $this->content( $this->atts, $content );
                }
                // After shortcode
                if ( function_exists( $custom_output_after ) ) {
                    $output .= $custom_output_after( $this->atts, $content );
                } else {
                    $output .= $this->afterShortcode( $this->atts, $content );
                }
            }
            // Filter for overriding outputs
            $output = apply_filters( 'vc_shortcode_output', $output, $this, $this->atts );
 
            return $output;
        }
 
        public function enqueueDefaultScripts() {
            if ( false === self::$default_scripts_enqueued ) {
                wp_enqueue_script( 'wpb_composer_front_js' );
                wp_enqueue_style( 'js_composer_front' );
                self::$default_scripts_enqueued = true;
            }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
 * @since 4.2
 * @return int
 */
function vc_get_initerface_version() {
    _deprecated_function( 'vc_get_initerface_version', '4.2 (will be removed in 5.1)' );
 
    return vc_get_interface_version();
}
 
/**
 * Do shortcode single render point
 *
 * @param $atts
 * @param null $content
 * @param null $tag
 *
 * @return string
 */
function vc_do_shortcode( $atts, $content = null, $tag = null ) {
    return Vc_Shortcodes_Manager::getInstance()->getElementClass( $tag )->output( $atts, $content );
}
 
/**
 * Return random string
 *
 * @param int $length
 *
 * @return string
 */
function vc_random_string( $length = 10 ) {
    $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $len = strlen( $characters );
    $str = '';
    for ( $i = 0; $i < $length; $i ++ ) {
        $str .= $characters[ rand( 0, $len - 1 ) ];
    }
 
    return $str;
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Passing a truthy value to the filter will effectively short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag         Shortcode name.
     * @param array|string $attr        Shortcode attributes array or empty string.
     * @param array        $m           Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Search only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
 
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if (empty($shortcode_tags) || !is_array($shortcode_tags))
        return $content;
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieve the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
        }
    }
 
    return $width;
}
 
/**
 * @param $content
 * @param bool $autop
 *
 * @since 4.2
 * @return string
 */
function wpb_js_remove_wpautop( $content, $autop = false ) {
 
    if ( $autop ) { // Possible to use !preg_match('('.WPBMap::getTagsRegexp().')', $content)
        $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" );
    }
 
    return do_shortcode( shortcode_unautop( $content ) );
}
 
if ( ! function_exists( 'shortcode_exists' ) ) {
    /**
     * Check if a shortcode is registered in WordPress.
     *
     * Examples: shortcode_exists( 'caption' ) - will return true.
     * shortcode_exists( 'blah' ) - will return false.
     *
     * @param bool $shortcode
     *
     * @since 4.2
     * @return bool
     */
    function shortcode_exists( $shortcode = false ) {
        global $shortcode_tags;
 
        if ( ! $shortcode ) {
            return false;
        }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
templates
/
shortcodes
/
vc_row.php
if ( ! empty( $parallax_image ) ) {
    if ( $has_video_bg ) {
        $parallax_image_src = $parallax_image;
    } else {
        $parallax_image_id = preg_replace( '/[^\d]/', '', $parallax_image );
        $parallax_image_src = wp_get_attachment_image_src( $parallax_image_id, 'full' );
        if ( ! empty( $parallax_image_src[0] ) ) {
            $parallax_image_src = $parallax_image_src[0];
        }
    }
    $wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr( $parallax_image_src ) . '"';
}
if ( ! $parallax && $has_video_bg ) {
    $wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr( $video_bg_url ) . '"';
}
$css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( array_unique( $css_classes ) ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
 
$output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
$output .= wpb_js_remove_wpautop( $content );
$output .= '</div>';
$output .= $after_output;
 
echo $output;
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
        }
 
        /**
         * @param $atts
         * @param null $content
         *
         * vc_filter: vc_shortcode_content_filter - hook to edit template content
         * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
         *
         * @return mixed|void
         */
        protected function loadTemplate( $atts, $content = null ) {
            $output = '';
            if ( ! is_null( $content ) ) {
                $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
            }
            $this->findShortcodeTemplate();
            if ( $this->html_template ) {
                ob_start();
                include( $this->html_template );
                $output = ob_get_contents();
                ob_end_clean();
            } else {
                trigger_error( sprintf( __( 'Template file is missing for `%s` shortcode. Make sure you have `%s` file in your theme folder.', 'js_composer' ), $this->shortcode, 'wp-content/themes/your_theme/vc_templates/' . $this->shortcode . '.php' ) );
            }
 
            return apply_filters( 'vc_shortcode_content_filter_after', $output, $this->shortcode );
        }
 
        /**
         * @param $atts
         * @param $content
         *
         * @return string
         */
        public function contentAdmin( $atts, $content = null ) {
            $output = $custom_markup = $width = $el_position = '';
            if ( null !== $content ) {
                $content = wpautop( stripslashes( $content ) );
            }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
vc-row.php
 
    public $nonDraggableClass = 'vc-non-draggable-row';
 
    /**
     * @param $settings
     */
    public function __construct( $settings ) {
        parent::__construct( $settings );
        $this->shortcodeScripts();
    }
 
    protected function shortcodeScripts() {
        wp_register_script( 'vc_jquery_skrollr_js', vc_asset_url( 'lib/bower/skrollr/dist/skrollr.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
        wp_register_script( 'vc_youtube_iframe_api_js', '//www.youtube.com/iframe_api', array(), WPB_VC_VERSION, true );
    }
 
    protected function content( $atts, $content = null ) {
        $prefix = '';
 
        return $prefix . $this->loadTemplate( $atts, $content );
    }
 
    /**
     * This returs block controls
     */
    public function getLayoutsControl() {
        global $vc_row_layouts;
        $controls_layout = '<span class="vc_row_layouts vc_control">';
        foreach ( $vc_row_layouts as $layout ) {
            $controls_layout .= '<a class="vc_control-set-column set_columns" data-cells="' . $layout['cells'] . '" data-cells-mask="' . $layout['mask'] . '" title="' . $layout['title'] . '"><i class="vc-composer-icon vc-c-icon-' . $layout['icon_class'] . '"></i></a> ';
        }
        $controls_layout .= '<br/><a class="vc_control-set-column set_columns custom_columns" data-cells="custom" data-cells-mask="custom" title="' . __( 'Custom layout', 'js_composer' ) . '">' . __( 'Custom', 'js_composer' ) . '</a> ';
        $controls_layout .= '</span>';
 
        return $controls_layout;
    }
 
    public function getColumnControls( $controls, $extended_css = '' ) {
        $output = '<div class="vc_controls vc_controls-row controls_row vc_clearfix">';
        $controls_end = '</div>';
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
shortcodes.php
            $content = empty( $content ) && ! empty( $atts['content'] ) ? $atts['content'] : $content;
            if ( ( $this->isInline() || vc_is_page_editable() ) && method_exists( $this, 'contentInline' ) ) {
                $output .= $this->contentInline( $this->atts, $content );
            } else {
                $this->enqueueDefaultScripts();
                $custom_output = VC_SHORTCODE_CUSTOMIZE_PREFIX . $this->shortcode;
                $custom_output_before = VC_SHORTCODE_BEFORE_CUSTOMIZE_PREFIX . $this->shortcode; // before shortcode function hook
                $custom_output_after = VC_SHORTCODE_AFTER_CUSTOMIZE_PREFIX . $this->shortcode; // after shortcode function hook
 
                // Before shortcode
                if ( function_exists( $custom_output_before ) ) {
                    $output .= $custom_output_before( $this->atts, $content );
                } else {
                    $output .= $this->beforeShortcode( $this->atts, $content );
                }
                // Shortcode content
                if ( function_exists( $custom_output ) ) {
                    $output .= $custom_output( $this->atts, $content );
                } else {
                    $output .= $this->content( $this->atts, $content );
                }
                // After shortcode
                if ( function_exists( $custom_output_after ) ) {
                    $output .= $custom_output_after( $this->atts, $content );
                } else {
                    $output .= $this->afterShortcode( $this->atts, $content );
                }
            }
            // Filter for overriding outputs
            $output = apply_filters( 'vc_shortcode_output', $output, $this, $this->atts );
 
            return $output;
        }
 
        public function enqueueDefaultScripts() {
            if ( false === self::$default_scripts_enqueued ) {
                wp_enqueue_script( 'wpb_composer_front_js' );
                wp_enqueue_style( 'js_composer_front' );
                self::$default_scripts_enqueued = true;
            }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
js_composer
/
include
/
helpers
/
helpers.php
 * @since 4.2
 * @return int
 */
function vc_get_initerface_version() {
    _deprecated_function( 'vc_get_initerface_version', '4.2 (will be removed in 5.1)' );
 
    return vc_get_interface_version();
}
 
/**
 * Do shortcode single render point
 *
 * @param $atts
 * @param null $content
 * @param null $tag
 *
 * @return string
 */
function vc_do_shortcode( $atts, $content = null, $tag = null ) {
    return Vc_Shortcodes_Manager::getInstance()->getElementClass( $tag )->output( $atts, $content );
}
 
/**
 * Return random string
 *
 * @param int $length
 *
 * @return string
 */
function vc_random_string( $length = 10 ) {
    $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $len = strlen( $characters );
    $str = '';
    for ( $i = 0; $i < $length; $i ++ ) {
        $str .= $characters[ rand( 0, $len - 1 ) ];
    }
 
    return $str;
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Passing a truthy value to the filter will effectively short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag         Shortcode name.
     * @param array|string $attr        Shortcode attributes array or empty string.
     * @param array        $m           Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Search only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
shortcodes.php
 
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if (empty($shortcode_tags) || !is_array($shortcode_tags))
        return $content;
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieve the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        }
 
        $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.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
plugin.php
        $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.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
    {
        return [
            'fn' => $this,
            'Form' => $this->container['form'],
        ];
    }
 
    /**
     * Allow developers to call core php and WordPress functions
     * using the `fn` namespace inside their templates.
     * Linked to the global call only...
     *
     * @param string $name
     * @param array  $arguments
     *
     * @return mixed
     */
    public function __call($name, array $arguments)
    {
        return call_user_func_array($name, $arguments);
    }
 
    /**
     * Register a list of functions available into Twig templates.
     * 
     * @return array|\Twig_SimpleFunction[]
     */
    public function getFunctions()
    {
        return [
            /*
             * WordPress theme functions.
             */
            new Twig_SimpleFunction('wp_head', 'wp_head'),
            new Twig_SimpleFunction('wp_footer', 'wp_footer'),
            new Twig_SimpleFunction('body_class', function ($class = '') {
                return body_class($class);
            }),
            new Twig_SimpleFunction('post_class', function ($class = '', $id = null) {
                return post_class($class, $id);
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
    {
        return [
            'fn' => $this,
            'Form' => $this->container['form'],
        ];
    }
 
    /**
     * Allow developers to call core php and WordPress functions
     * using the `fn` namespace inside their templates.
     * Linked to the global call only...
     *
     * @param string $name
     * @param array  $arguments
     *
     * @return mixed
     */
    public function __call($name, array $arguments)
    {
        return call_user_func_array($name, $arguments);
    }
 
    /**
     * Register a list of functions available into Twig templates.
     * 
     * @return array|\Twig_SimpleFunction[]
     */
    public function getFunctions()
    {
        return [
            /*
             * WordPress theme functions.
             */
            new Twig_SimpleFunction('wp_head', 'wp_head'),
            new Twig_SimpleFunction('wp_footer', 'wp_footer'),
            new Twig_SimpleFunction('body_class', function ($class = '') {
                return body_class($class);
            }),
            new Twig_SimpleFunction('post_class', function ($class = '', $id = null) {
                return post_class($class, $id);
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            }
 
            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);
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
storage
/
twig
/
07
/
07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php
\t\t<div class=\"stage-container\">
\t\t\t<div class=\"stage-body\">
\t\t\t\t<div class=\"stage-text\">
\t\t\t\t\t<h1 class=\"stage-title display-3\">";
        // line 16
        echo twig_escape_filter($this->env, $this->getAttribute(($context["post"] ?? null), "post_title", array()), "html", null, true);
        echo "</h1>
\t\t\t\t\t<p class=\"stage-copy lead\">";
        // line 17
        echo twig_escape_filter($this->env, $this->getAttribute(($context["post"] ?? null), "post_excerpt", array()), "html", null, true);
        echo "</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"stage-footer\">
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
        // line 24
        echo $this->getAttribute(($context["fn"] ?? null), "apply_filters", array(0 => "the_content", 1 => $this->getAttribute(($context["post"] ?? null), "post_content", array())), "method");
        echo "
";
    }
 
    // line 26
    public function block_newsletter($context, array $blocks = array())
    {
    }
 
    public function getTemplateName()
    {
        return "pages/default.twig";
    }
 
    public function isTraitable()
    {
        return false;
    }
 
    public function getDebugInfo()
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new LogicException('A block must be a method on a Twig_Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (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);
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
storage
/
twig
/
dc
/
dcb723bd3ecbb09fd37dfb3a336f5fe59d83d3c427501650751dc292188427bd.php
        // line 66
        $this->displayBlock('header', $context, $blocks);
        // line 69
        echo "
        ";
        // line 70
        $this->displayBlock('stage', $context, $blocks);
        // line 72
        echo "
        <section class=\"site-main\">
            <div class=\"container-fluid\">
                <div class=\"container\">
                    ";
        // line 76
        $this->displayBlock('breadcrumb', $context, $blocks);
        // line 78
        echo "                    <div class=\"main-content\">
                        ";
        // line 79
        $this->displayBlock('content', $context, $blocks);
        // line 81
        echo "                    </div>
                </div>
            </div>
        </section>
 
        ";
        // line 86
        $this->displayBlock('footer', $context, $blocks);
        // line 89
        echo "
        ";
        // line 90
        if (call_user_func_array($this->env->getFunction('is_logged_in')->getCallable(), array())) {
            // line 91
            echo "
        ";
        }
        // line 93
        echo "    </article>
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = 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.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
    }
 
    /**
     * 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;
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
storage
/
twig
/
07
/
07bcd221bfac47f31a1bbcb3dce9d75b333edefce80880dd022c3e8983f95ea0.php
    {
        parent::__construct($env);
 
        // line 1
        $this->parent = $this->loadTemplate("templates/layouts/base.twig", "pages/default.twig", 1);
        $this->blocks = array(
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'content' => array($this, 'block_content'),
            'newsletter' => array($this, 'block_newsletter'),
        );
    }
 
    protected function doGetParent(array $context)
    {
        return "templates/layouts/base.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 2
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 3
        echo "\t<div class=\"main-breadcrumb\">
\t\t<nav>
\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t";
        // line 6
        echo $this->getAttribute(($context["fn"] ?? null), "bcn_display_list", array(0 => true, 1 => true, 2 => false, 3 => false), "method");
        echo "
\t\t\t</ol>
\t\t</nav>
\t</div>
";
    }
 
    // line 11
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = 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.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
    }
 
    /**
     * 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;
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
     * @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 {
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
     *
     * @param string $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.
     *
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Engines
/
TwigEngine.php
    }
 
    /**
     * Return the evaluated template.
     *
     * @param string $path The file name with its file extension.
     * @param array  $data Template data (view data)
     *
     * @return string
     */
    public function get($path, array $data = [])
    {
        $file = array_search($path, $this->finder->getViews());
 
        /*
         * Allow the use of a '.' notation.
         */
        $file = themosis_convert_path($file);
 
        return $this->environment->render($file.$this->extension, $data);
    }
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
view
/
View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    protected function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
view
/
View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
view
/
View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
helpers.php
 
if (!function_exists('view')) {
    /**
     * Helper function to build views.
     *
     * @param string $view      The view relative path, name.
     * @param array  $data      Passed data.
     * @param array  $mergeData
     *
     * @return string
     */
    function view($view = null, array $data = [], array $mergeData = [])
    {
        $factory = container('view');
 
        if (func_num_args() === 0) {
            return $factory;
        }
 
        return $factory->make($view, $data, $mergeData)->render();
    }
}
 
if (!function_exists('meta')) {
    /**
     * Helper function to get any meta data from objects.
     *
     * @param string $key
     * @param int    $id
     * @param string $context
     * @param bool   $single
     *
     * @return mixed|string
     */
    function meta($key = '', $id = null, $context = 'post', $single = true)
    {
        if (is_null($id)) {
            $id = get_the_ID();
        }
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
themes
/
fcschalke04
/
resources
/
controllers
/
Page.php
            return $this->handleNoAccess( $post );
        }
 
        return view( 'pages/front', [
            'headerNav' => new MyMenu( 'header-nav' ),
            'footerNav' => new MyMenu( 'footer-nav' ),
            'post'      => $post
        ] );
    }
 
    public function fallback( \WP_Post $post, \WP_Query $query ) {
 
        if( !$this->hasAccessPermission( $post )) {
            return $this->handleNoAccess( $post );
        }
 
        return view( 'pages/default', [
            'headerNav' => new MyMenu( 'header-nav' ),
            'footerNav' => new MyMenu( 'footer-nav' ),
            'post'      => $post
        ] );
    }
 
    public function error404( ) {
 
        // Get news posts
 
        $query = new \WP_Query([
            'post_type' => 'post',
            'order' => 'DESC',
            'orderby' => 'date',
            'posts_per_page' => '4'
        ]);
 
        return view( 'pages/404', [
            'headerNav' => new MyMenu( 'header-nav' ),
            'footerNav' => new MyMenu( 'footer-nav' ),
            'posts' => $query->get_posts()
        ] );
    }
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
vendor
/
illuminate
/
routing
/
Router.php
     * @return mixed
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
             * Register framework assets.
             */
            $this->container['asset']->add('themosis-core-styles', 'css/_themosisCore.css', ['wp-color-picker'])->to('admin');
            $this->container['asset']->add('themosis-core-scripts', 'js/_themosisCore.js', ['jquery', 'jquery-ui-sortable', 'underscore', 'backbone', 'mce-view', 'wp-color-picker'], '1.3.0', true)->to('admin');
        }
 
        /**
         * Hook into front-end routing.
         * Setup the router API to be executed before
         * theme default templates.
         */
        public function setRouter()
        {
            if (is_feed() || is_comment_feed()) {
                return;
            }
 
            try {
                $request = $this->container['request'];
                $response = $this->container['router']->dispatch($request);
 
                // We only send back the content because, headers are already defined
                // by WordPress internals.
                $response->sendContent();
            } catch (\Symfony\Component\HttpKernel\Exception\NotFoundHttpException $exception) {
                /*
                 * Fallback to WordPress templates.
                 */
            }
        }
 
        /**
         * Enqueue Admin scripts.
         */
        public function adminEnqueueScripts()
        {
            /*
             * Make sure the media scripts are always enqueued.
             */
            wp_enqueue_media();
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        }
 
        $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.
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        } 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.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
plugin.php
    }
 
    if ( !isset($wp_filter[$tag]) ) {
        if ( isset($wp_filter['all']) )
            array_pop($wp_current_filter);
        return;
    }
 
    if ( !isset($wp_filter['all']) )
        $wp_current_filter[] = $tag;
 
    $args = array();
    if ( is_array($arg) && 1 == count($arg) && isset($arg[0]) && is_object($arg[0]) ) // array(&$this)
        $args[] =& $arg[0];
    else
        $args[] = $arg;
    for ( $a = 2, $num = func_num_args(); $a < $num; $a++ )
        $args[] = func_get_arg($a);
 
    $wp_filter[ $tag ]->do_action( $args );
 
    array_pop($wp_current_filter);
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action($tag) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) )
        return 0;
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
<?php
/**
 * Loads the correct template based on the visitor's url
 * @package WordPress
 */
if ( defined('WP_USE_THEMES') && WP_USE_THEMES )
    /**
     * Fires before determining which template to load.
     *
     * @since 1.5.0
     */
    do_action( 'template_redirect' );
 
/**
 * Filters whether to allow 'HEAD' requests to generate content.
 *
 * Provides a significant performance bump by exiting before the page
 * content loads for 'HEAD' requests. See #14348.
 *
 * @since 3.5.0
 *
 * @param bool $exit Whether to exit without generating any content for 'HEAD' requests. Default true.
 */
if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) )
    exit();
 
// Process feeds and trackbacks even if not using themes.
if ( is_robots() ) :
    /**
     * Fired when the template loader determines a robots.txt request.
     *
     * @since 2.1.0
     */
    do_action( 'do_robots' );
    return;
elseif ( is_feed() ) :
    do_feed();
    return;
elseif ( is_trackback() ) :
    include( ABSPATH . 'wp-trackback.php' );
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
wp-blog-header.php
<?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' );
 
}
 
/
var
/
www
/
vhosts
/
stag.schalke04.de
/
htdocs
/
de
/
schalke04
/
de-schalke04-www-stage
/
htdocs
/
cms
/
index.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
Key Value
_icl_current_language de
empty
Key Value
SERVER_SOFTWARE nginx/1.10.3
REQUEST_URI /veltins-arena/stadionfuehrung/arena-tour/
USER parasol
HOME /var/www/vhosts/stag.schalke04.de
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/)
HTTP_CONNECTION close
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 54.224.150.24
HTTP_X_REAL_IP 54.224.150.24
HTTP_HOST de-schalke04-www-stage.schalke04.de
REDIRECT_STATUS 200
SERVER_NAME de-schalke04-www-stage.schalke04.de
SERVER_PORT 80
SERVER_ADDR 10.12.102.6
REMOTE_PORT
REMOTE_ADDR 54.224.150.24
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs
DOCUMENT_URI /cms/index.php
SCRIPT_NAME /cms/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /var/www/vhosts/stag.schalke04.de/htdocs/de/schalke04/de-schalke04-www-stage/htdocs/cms/index.php
PATH_INFO
HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /cms/index.php
REQUEST_TIME_FLOAT 1540100940.0054
REQUEST_TIME 1540100940
DB_NAME stag_schalke04
DB_USER sql_stag
DB_PASSWORD sCfYMgA0Ghq5yEcy3HjL
DB_HOST current-db-staging
WP_HOME https://de-schalke04-www-stage.schalke04.de
WP_SITEURL https://de-schalke04-www-stage.schalke04.de/cms
WP_ALLOW_MULTISITE 1
MULTISITE 1
SUBDOMAIN_INSTALL 0
DOMAIN_CURRENT_SITE de-schalke04-www-stage.schalke04.de
PATH_CURRENT_SITE /
SITE_ID_CURRENT_SITE 1
BLOG_ID_CURRENT_SITE 1
ACF_PRO_KEY b3JkZXJfaWQ9NTQzMzl8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE1LTA0LTE3IDEyOjQ0OjEz
FCS04_LOG true
SHOPWARE_SSO_URL https://store.schalke04.de/sso/
SHOPWARE_API_KEY schalke04de:HZFFSr49bSeebPApPu9gZ8TmkTTPE8WyATlKN89d
SHOPWARE_API_URL https://store.schalke04.de/api/customers/
SHOPWARE_FORGOT_PASSWORD_URL https://store.schalke04.de/account/password
USER_PROFILE_URL /account/profile/
USER_LOGIN_URL /account/login/
COOKIE_DOMAIN .schalke04.de
FCS04_WEBSOCKET_PORT 443
FCS04_WEBSOCKET_URL wss://wss-de-schalke04-www-stage.schalke04.de
FCS04_VERSION release/1.2.43
FCS04_ZMQ_IP 127.0.0.1
FCS04_ZMQ_PORT 5555
FCS04_TWITTER_CONSUMERKEY DZMvb28HML4tpL8wowfBC7nbH
FCS04_TWITTER_CONSUMERSECRET AZFuAMgPiF7QYP4vMStBzbXTEIXTxsXsxBsmIzKARfgePR3iyG
FCS04_TWITTER_BEARERTOKEN AAAAAAAAAAAAAAAAAAAAACkE3gAAAAAAdeAe6LbiusuhHS986AcoeCRW3Bw%3D0bHWUVwJEBJuHiIs77pR6BuTx2VqQbW8AQn4Rm0E8dmeHWt3P5
EXACTTARGET_CLIENT_ID ryj8dfyrw9t5aiq6bar2pc5o
EXACTTARGET_CLIENT_SECRET tG9kevRzsGpTUCxSAW4CEDVo
EXACTTARGET_CUSTOMER_KEY 6634b3c9-70f7-4365-90f0-85e8955178d1
NEWSLETTER_PROFILE_PAGE_URL /newsletter/signup/profile/add
NEWSLETTER_THANKYOU_PAGE_ID 34103
GEARMAN_SERVER current-gearmand-staging.s04
PUSHERCOM_APP_KEY 31a44b602f85f581a6af
PUSHERCOM_APP_SECRET 0ac08327f9f08c663d35
PUSHERCOM_APP_APPID 592456
PUSHERCOM_WEB_KEY bfa5ae432acf5e9e8a57
PUSHERCOM_WEB_SECRET 7be5797b1495baa7c5e5
PUSHERCOM_WEB_APPID 602904
Key Value
DB_NAME stag_schalke04
DB_USER sql_stag
DB_PASSWORD sCfYMgA0Ghq5yEcy3HjL
DB_HOST current-db-staging
WP_HOME https://de-schalke04-www-stage.schalke04.de
WP_SITEURL https://de-schalke04-www-stage.schalke04.de/cms
WP_ALLOW_MULTISITE 1
MULTISITE 1
SUBDOMAIN_INSTALL 0
DOMAIN_CURRENT_SITE de-schalke04-www-stage.schalke04.de
PATH_CURRENT_SITE /
SITE_ID_CURRENT_SITE 1
BLOG_ID_CURRENT_SITE 1
ACF_PRO_KEY b3JkZXJfaWQ9NTQzMzl8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE1LTA0LTE3IDEyOjQ0OjEz
FCS04_LOG true
SHOPWARE_SSO_URL https://store.schalke04.de/sso/
SHOPWARE_API_KEY schalke04de:HZFFSr49bSeebPApPu9gZ8TmkTTPE8WyATlKN89d
SHOPWARE_API_URL https://store.schalke04.de/api/customers/
SHOPWARE_FORGOT_PASSWORD_URL https://store.schalke04.de/account/password
USER_PROFILE_URL /account/profile/
USER_LOGIN_URL /account/login/
COOKIE_DOMAIN .schalke04.de
FCS04_WEBSOCKET_PORT 443
FCS04_WEBSOCKET_URL wss://wss-de-schalke04-www-stage.schalke04.de
FCS04_VERSION release/1.2.43
FCS04_ZMQ_IP 127.0.0.1
FCS04_ZMQ_PORT 5555
FCS04_TWITTER_CONSUMERKEY DZMvb28HML4tpL8wowfBC7nbH
FCS04_TWITTER_CONSUMERSECRET AZFuAMgPiF7QYP4vMStBzbXTEIXTxsXsxBsmIzKARfgePR3iyG
FCS04_TWITTER_BEARERTOKEN AAAAAAAAAAAAAAAAAAAAACkE3gAAAAAAdeAe6LbiusuhHS986AcoeCRW3Bw%3D0bHWUVwJEBJuHiIs77pR6BuTx2VqQbW8AQn4Rm0E8dmeHWt3P5
EXACTTARGET_CLIENT_ID ryj8dfyrw9t5aiq6bar2pc5o
EXACTTARGET_CLIENT_SECRET tG9kevRzsGpTUCxSAW4CEDVo
EXACTTARGET_CUSTOMER_KEY 6634b3c9-70f7-4365-90f0-85e8955178d1
NEWSLETTER_PROFILE_PAGE_URL /newsletter/signup/profile/add
NEWSLETTER_THANKYOU_PAGE_ID 34103
GEARMAN_SERVER current-gearmand-staging.s04
PUSHERCOM_APP_KEY 31a44b602f85f581a6af
PUSHERCOM_APP_SECRET 0ac08327f9f08c663d35
PUSHERCOM_APP_APPID 592456
PUSHERCOM_WEB_KEY bfa5ae432acf5e9e8a57
PUSHERCOM_WEB_SECRET 7be5797b1495baa7c5e5
PUSHERCOM_WEB_APPID 602904
0. Whoops\Handler\PrettyPageHandler