Twig_Error_Loader
Unable to find template "objets/partials/faceting/date.twig" (looked into: /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Metabox/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Page/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/PostType/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Field/Fields/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Taxonomy/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/User/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/altimax-sitra/resources/views, /home/saintgeraz/www/htdocs/content/plugins/apidae-analytics/resources/views, /home/saintgeraz/www/htdocs/content/plugins/apidae-logs/resources/views, /home/saintgeraz/www/htdocs/content/plugins/wp-altimax-lumiplan/resources/views, /home/saintgeraz/www/htdocs/content/plugins/wp-altimax-webcam/resources/views, /home/saintgeraz/www/htdocs/content/themes/altimax/resources/views) in "objets/partials/faceting.twig" at line 44. Twig_Error_Loader thrown with message "Unable to find template "objets/partials/faceting/date.twig" (looked into: /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Metabox/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Page/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/PostType/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Field/Fields/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Taxonomy/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/User/Views, /home/saintgeraz/www/htdocs/content/mu-plugins/altimax-sitra/resources/views, /home/saintgeraz/www/htdocs/content/plugins/apidae-analytics/resources/views, /home/saintgeraz/www/htdocs/content/plugins/apidae-logs/resources/views, /home/saintgeraz/www/htdocs/content/plugins/wp-altimax-lumiplan/resources/views, /home/saintgeraz/www/htdocs/content/plugins/wp-altimax-webcam/resources/views, /home/saintgeraz/www/htdocs/content/themes/altimax/resources/views) in "objets/partials/faceting.twig" at line 44." Stacktrace: #36 Twig_Error_Loader in /home/saintgeraz/www/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 #35 Twig_Loader_Filesystem:findTemplate in /home/saintgeraz/www/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:150 #34 Twig_Loader_Filesystem:getCacheKey in /home/saintgeraz/www/vendor/twig/twig/lib/Twig/Environment.php:330 #33 Twig_Environment:getTemplateClass in /home/saintgeraz/www/vendor/twig/twig/lib/Twig/Environment.php:424 #32 Twig_Environment:loadTemplate in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:366 #31 Twig_Template:loadTemplate in /home/saintgeraz/www/storage/twig/8f/8fff21191778ae58991565c119a42da563d778bf8be10d8c8cafbc7b9732a3cd.php:151 #30 __TwigTemplate_fe5b00b7d9a1a422e4440b53a954b0a32dc8f82ac34c4e1b2e2991d006a4f8d8:doDisplay in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:432 #29 Twig_Template:displayWithErrorHandling in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:403 #28 Twig_Template:display in /home/saintgeraz/www/storage/twig/71/717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php:101 #27 __TwigTemplate_267f648e46a24c0608cd2871193c0dbf6ea108bde4ba0c7230b4b9fdbf8073c0:block_main in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:215 #26 Twig_Template:displayBlock in /home/saintgeraz/www/storage/twig/71/717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php:33 #25 __TwigTemplate_267f648e46a24c0608cd2871193c0dbf6ea108bde4ba0c7230b4b9fdbf8073c0:doDisplay in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:432 #24 Twig_Template:displayWithErrorHandling in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:403 #23 Twig_Template:display in /home/saintgeraz/www/htdocs/content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Template.php:411 #22 Twig_Template:render in /home/saintgeraz/www/vendor/twig/twig/lib/Twig/Environment.php:363 #21 Twig_Environment:render in /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Engines/TwigEngine.php:49 #20 Themosis\View\Engines\TwigEngine:get in /home/saintgeraz/www/vendor/illuminate/view/View.php:137 #19 Illuminate\View\View:getContents in /home/saintgeraz/www/vendor/illuminate/view/View.php:120 #18 Illuminate\View\View:renderContents in /home/saintgeraz/www/vendor/illuminate/view/View.php:85 #17 Illuminate\View\View:render in /home/saintgeraz/www/htdocs/content/mu-plugins/altimax-sitra/resources/models/Display.php:66 #16 Com\Altimax\Sitra\Models\Display:init in /home/saintgeraz/www/htdocs/content/themes/altimax/resources/controllers/PageController.php:74 #15 Theme\Controllers\PageController:index in /home/saintgeraz/www/htdocs/content/themes/altimax/resources/routes.php:307 #14 Theme\Providers\RoutingService:{closure} in /home/saintgeraz/www/vendor/illuminate/routing/Route.php:189 #13 Illuminate\Routing\Route:runCallable in /home/saintgeraz/www/vendor/illuminate/routing/Route.php:163 #12 Illuminate\Routing\Route:run in /home/saintgeraz/www/vendor/illuminate/routing/Router.php:572 #11 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/saintgeraz/www/vendor/illuminate/routing/Pipeline.php:30 #10 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/saintgeraz/www/vendor/illuminate/pipeline/Pipeline.php:102 #9 Illuminate\Pipeline\Pipeline:then in /home/saintgeraz/www/vendor/illuminate/routing/Router.php:574 #8 Illuminate\Routing\Router:runRouteWithinStack in /home/saintgeraz/www/vendor/illuminate/routing/Router.php:533 #7 Illuminate\Routing\Router:dispatchToRoute in /home/saintgeraz/www/vendor/illuminate/routing/Router.php:511 #6 Illuminate\Routing\Router:dispatch in /home/saintgeraz/www/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /home/saintgeraz/www/htdocs/cms/wp-includes/class-wp-hook.php:286 #4 WP_Hook:apply_filters in /home/saintgeraz/www/htdocs/cms/wp-includes/class-wp-hook.php:310 #3 WP_Hook:do_action in /home/saintgeraz/www/htdocs/cms/wp-includes/plugin.php:453 #2 do_action in /home/saintgeraz/www/htdocs/cms/wp-includes/template-loader.php:12 #1 require_once in /home/saintgeraz/www/htdocs/cms/wp-blog-header.php:19 #0 require in /home/saintgeraz/www/htdocs/index.php:11
Stack frames (37)
36
Twig_Error_Loader
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Loader
/
Filesystem.php
232
35
Twig_Loader_Filesystem
findTemplate
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Loader
/
Filesystem.php
150
34
Twig_Loader_Filesystem
getCacheKey
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
330
33
Twig_Environment
getTemplateClass
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
424
32
Twig_Environment
loadTemplate
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
366
31
Twig_Template
loadTemplate
/
storage
/
twig
/
8f
/
8fff21191778ae58991565c119a42da563d778bf8be10d8c8cafbc7b9732a3cd.php
151
30
__TwigTemplate_fe5b00b7d9a1a422e4440b53a954b0a32dc8f82ac34c4e1b2e2991d006a4f8d8
doDisplay
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
29
Twig_Template
displayWithErrorHandling
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
28
Twig_Template
display
/
storage
/
twig
/
71
/
717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php
101
27
__TwigTemplate_267f648e46a24c0608cd2871193c0dbf6ea108bde4ba0c7230b4b9fdbf8073c0
block_main
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
215
26
Twig_Template
displayBlock
/
storage
/
twig
/
71
/
717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php
33
25
__TwigTemplate_267f648e46a24c0608cd2871193c0dbf6ea108bde4ba0c7230b4b9fdbf8073c0
doDisplay
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
24
Twig_Template
displayWithErrorHandling
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
23
Twig_Template
display
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
411
22
Twig_Template
render
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
363
21
Twig_Environment
render
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Engines
/
TwigEngine.php
49
20
Themosis
\
View
\
Engines
\
TwigEngine
get
/
vendor
/
illuminate
/
view
/
View.php
137
19
Illuminate
\
View
\
View
getContents
/
vendor
/
illuminate
/
view
/
View.php
120
18
Illuminate
\
View
\
View
renderContents
/
vendor
/
illuminate
/
view
/
View.php
85
17
Illuminate
\
View
\
View
render
/
htdocs
/
content
/
mu-plugins
/
altimax-sitra
/
resources
/
models
/
Display.php
66
16
Com
\
Altimax
\
Sitra
\
Models
\
Display
init
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
controllers
/
PageController.php
74
15
Theme
\
Controllers
\
PageController
index
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
routes.php
307
14
Theme
\
Providers
\
RoutingService
{closure}
/
vendor
/
illuminate
/
routing
/
Route.php
189
13
Illuminate
\
Routing
\
Route
runCallable
/
vendor
/
illuminate
/
routing
/
Route.php
163
12
Illuminate
\
Routing
\
Route
run
/
vendor
/
illuminate
/
routing
/
Router.php
572
11
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
routing
/
Pipeline.php
30
10
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
102
9
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
illuminate
/
routing
/
Router.php
574
8
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
illuminate
/
routing
/
Router.php
533
7
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
illuminate
/
routing
/
Router.php
511
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
/
index.php
11
/
home
/
saintgeraz
/
www
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Loader
/
Filesystem.php
            if (!$this->isAbsolutePath($path)) {
                $path = $this->rootPath.'/'.$path;
            }
 
            if (is_file($path.'/'.$shortname)) {
                if (false !== $realpath = realpath($path.'/'.$shortname)) {
                    return $this->cache[$name] = $realpath;
                }
 
                return $this->cache[$name] = $path.'/'.$shortname;
            }
        }
 
        $this->errorCache[$name] = sprintf('Unable to find template "%s" (looked into: %s).', $name, implode(', ', $this->paths[$namespace]));
 
        if (!$throw) {
            return false;
        }
 
        throw new Twig_Error_Loader($this->errorCache[$name]);
    }
 
    protected function parseName($name, $default = self::MAIN_NAMESPACE)
    {
        if (isset($name[0]) && '@' == $name[0]) {
            if (false === $pos = strpos($name, '/')) {
                throw new Twig_Error_Loader(sprintf('Malformed namespaced template name "%s" (expecting "@namespace/template_name").', $name));
            }
 
            $namespace = substr($name, 1, $pos - 1);
            $shortname = substr($name, $pos + 1);
 
            return array($namespace, $shortname);
        }
 
        return array($default, $name);
    }
 
    protected function normalizeName($name)
    {
/
home
/
saintgeraz
/
www
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Loader
/
Filesystem.php
        }
    }
 
    public function getSource($name)
    {
        @trigger_error(sprintf('Calling "getSource" on "%s" is deprecated since 1.27. Use getSourceContext() instead.', get_class($this)), E_USER_DEPRECATED);
 
        return file_get_contents($this->findTemplate($name));
    }
 
    public function getSourceContext($name)
    {
        $path = $this->findTemplate($name);
 
        return new Twig_Source(file_get_contents($path), $name, $path);
    }
 
    public function getCacheKey($name)
    {
        $path = $this->findTemplate($name);
        $len = strlen($this->rootPath);
        if (0 === strncmp($this->rootPath, $path, $len)) {
            return substr($path, $len);
        }
 
        return $path;
    }
 
    public function exists($name)
    {
        $name = $this->normalizeName($name);
 
        if (isset($this->cache[$name])) {
            return true;
        }
 
        try {
            return false !== $this->findTemplate($name, false);
        } catch (Twig_Error_Loader $exception) {
            @trigger_error(sprintf('In %s::findTemplate(), you must accept a second argument that when set to "false" returns "false" instead of throwing an exception. Not supporting this argument is deprecated since version 1.27.', get_class($this)), E_USER_DEPRECATED);
/
home
/
saintgeraz
/
www
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
    /**
     * Gets the template class associated with the given string.
     *
     * The generated template class is based on the following parameters:
     *
     *  * The cache key for the given template;
     *  * The currently enabled extensions;
     *  * Whether the Twig C extension is available or not;
     *  * PHP version;
     *  * Twig version;
     *  * Options with what environment was created.
     *
     * @param string   $name  The name for which to calculate the template class name
     * @param int|null $index The index if it is an embedded template
     *
     * @return string The template class name
     */
    public function getTemplateClass($name, $index = null)
    {
        $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
 
        return $this->templateClassPrefix.hash('sha256', $key).(null === $index ? '' : '_'.$index);
    }
 
    /**
     * Gets the template class prefix.
     *
     * @return string The template class prefix
     *
     * @deprecated since 1.22 (to be removed in 2.0)
     */
    public function getTemplateClassPrefix()
    {
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
/
home
/
saintgeraz
/
www
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws Twig_Error_Loader  When the template cannot be found
     * @throws Twig_Error_Runtime When a previously generated cache is corrupted
     * @throws Twig_Error_Syntax  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
    {
        $cls = $mainCls = $this->getTemplateClass($name);
        if (null !== $index) {
            $cls .= '_'.$index;
        }
 
        if (isset($this->loadedTemplates[$cls])) {
            return $this->loadedTemplates[$cls];
        }
 
        if (!class_exists($cls, false)) {
            if ($this->bcGetCacheFilename) {
                $key = $this->getCacheFilename($name);
            } else {
                $key = $this->cache->generateKey($name, $mainCls);
            }
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            if (!class_exists($cls, false)) {
/
home
/
saintgeraz
/
www
/
htdocs
/
content
/
plugins
/
sitepress-multilingual-cms
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
 
        return array_unique($names);
    }
 
    protected function loadTemplate($template, $templateName = null, $line = null, $index = null)
    {
        try {
            if (is_array($template)) {
                return $this->env->resolveTemplate($template);
            }
 
            if ($template instanceof self) {
                return $template;
            }
 
            if ($template instanceof Twig_TemplateWrapper) {
                return $template;
            }
 
            return $this->env->loadTemplate($template, $index);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($templateName ? new Twig_Source('', $templateName) : $this->getSourceContext());
            }
 
            if ($e->getTemplateLine()) {
                throw $e;
            }
 
            if (!$line) {
                $e->guess();
            } else {
                $e->setTemplateLine($line);
            }
 
            throw $e;
        }
    }
 
    /**
/
home
/
saintgeraz
/
www
/
storage
/
twig
/
8f
/
8fff21191778ae58991565c119a42da563d778bf8be10d8c8cafbc7b9732a3cd.php
                $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["filters"] ?? null), "filtersCollection", array()));
                $context['loop'] = array(
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                );
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["filterType"] => $context["filter"]) {
                    // line 43
                    echo "                    <div class=\"ApidaeListingFilters-part ApidaeListingFilters-choices\">
                        ";
                    // line 44
                    $this->loadTemplate((("objets/partials/faceting/" . $this->getAttribute($context["filter"], "template", array())) . ".twig"), "objets/partials/faceting.twig", 44)->display(array_merge($context, array("filter" => $context["filter"], "filterType" => $context["filterType"], "selectedFilters" => $this->getAttribute($this->getAttribute(($context["filters"] ?? null), "formatSelectedFilters", array()), $context["filterType"], array(), "array"))));
                    // line 45
                    echo "                    </div>
                ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['filterType'], $context['filter'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 47
                echo "
                <div class=\"__sitra_hidden_fields\">
                    ";
                // line 49
/
home
/
saintgeraz
/
www
/
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.
/
home
/
saintgeraz
/
www
/
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;
/
home
/
saintgeraz
/
www
/
storage
/
twig
/
71
/
717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php
                    </svg>
                    <span>";
            // line 30
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('__')->getCallable(), array("List mode", "text-domain")), "html", null, true);
            echo "</span>
                </button>
                ";
        }
        // line 33
        echo "            </div>
            <div class=\"ApidaeListing-global ";
        // line 34
        if ((($context["hasMap"] ?? null) == "true")) {
            echo " isListingMap ";
        }
        echo "\"> <!-- isListingMap -->
 
                ";
        // line 36
        $this->loadTemplate("objets/partials/faceting.twig", "objets/default.twig", 36)->display($context);
        // line 37
        echo "
                <div class=\"ApidaeListing-items\">
                    ";
        // line 39
        if ((twig_length_filter($this->env, $this->getAttribute(($context["results"] ?? null), "items", array())) > 0)) {
            // line 40
            echo "                        <div id=\"js-apidae-items-container\" class=\"ApidaeListingSimpleGrid\">
                            ";
            // line 41
            $this->loadTemplate((($context["itemsPath"] ?? null) . ".twig"), "objets/default.twig", 41)->display(array_merge($context, array("items" => $this->getAttribute(($context["results"] ?? null), "items", array()))));
            // line 42
            echo "                        </div>
                    ";
        } else {
            // line 44
            echo "                        <h3>";
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('__')->getCallable(), array("No results...", "text-domain")), "html", null, true);
            echo "</h3>
                    ";
/
home
/
saintgeraz
/
www
/
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);
/
home
/
saintgeraz
/
www
/
storage
/
twig
/
71
/
717393ce46954ec191b42836ec16989fe4b81d6b0d695b6502aa4e1c0795a52a.php
        );
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 2
        echo "
";
        // line 4
        echo "    ";
        // line 5
        echo "        ";
        // line 6
        echo "    ";
        // line 8
        echo "
<div class=\"containerFull containerApidaeListing\">
    ";
        // line 10
        $this->displayBlock('main', $context, $blocks);
        // line 65
        echo "</div>";
    }
 
    // line 10
    public function block_main($context, array $blocks = array())
    {
        // line 11
        echo "        <div ng-app=\"apidaeList\" ng-controller=\"ApidaeListCtrl as vm\">
            <div class=\"ApidaeListing-intro container\">
 
            </div>
            <div class=\"ApidaeListing-control\">
                <button class=\"Button-primary ApidaeListing-ButtonFilter\">
                    <svg role=\"presentation\" width=\"20\" height=\"25\">
                        <title>";
        // line 18
        echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('__')->getCallable(), array("Map mode", "text-domain")), "html", null, true);
        echo "</title>
                        <use xlink:href=\"";
/
home
/
saintgeraz
/
www
/
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.
/
home
/
saintgeraz
/
www
/
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;
/
home
/
saintgeraz
/
www
/
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 {
/
home
/
saintgeraz
/
www
/
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.
     *
/
home
/
saintgeraz
/
www
/
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);
    }
}
 
/
home
/
saintgeraz
/
www
/
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;
    }
 
/
home
/
saintgeraz
/
www
/
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());
    }
 
    /**
/
home
/
saintgeraz
/
www
/
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;
        }
    }
 
/
home
/
saintgeraz
/
www
/
htdocs
/
content
/
mu-plugins
/
altimax-sitra
/
resources
/
models
/
Display.php
                        //Passing data to the view...
                        //@altimax integration : you can add your custom data to the view like this : $renderParams['myData'] = $test;
                        $flexibleContentRender .= View::make(
                            'widgets.experiential-search.default',
                            $renderParams
                        )->render();
                        break;

                    case 'apidae_list_object' :
                        $model = new Objets($subFieldParams[$key]);
                        $renderParams = $model->getObjectListRenderData($post);
                        $scriptsLocalize[] = $model->getObjetsScriptLocalize();

                        //Passing data to the view...
                        //@altimax integration : you can add your custom data to the view like this : $renderParams['myData'] = $test;
                        $flexibleContentRender .= View::make(
                            'objets.' . $subFieldParams[$key]['apidae_list_default_template'],
                            $renderParams
                        )->render();
                        $isListing = true;
                        break;

                    case 'apidae_push_selection' :

                        $model = new PushSelections();
                        $renderParams = $model->getPushSelectionRenderData($subFieldParams[$key]);
                        $scriptsLocalize[] = $model->getObjetsScriptLocalize();

                        $template = $subFieldParams[$key]['apidae_push_selection_template'];
                        $flexibleContentRender .= View::make(
                            'widgets.push-selections.' . $template,
                            $renderParams
                        )->render();
                        break;

                    case 'apidae_push_event' :

                        $model = new PushEvents();
                        $renderParams = $model->setPushEventsRenderParams($subFieldParams[$key]);
/
home
/
saintgeraz
/
www
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
controllers
/
PageController.php
    public function index($post)
    {
        //initialize html rendering
        $flexibleContentRender = "";
        $isListing = false;
        $objetsScript = null;
        $objetsScriptLocalize = array();

        if (have_rows('content_builder')):

            while (have_rows('content_builder')) : the_row();

                switch (get_row_layout()) {
                    case 'apidae_content' :
                    case 'apidae' :
                        Asset::add('jquery-ui-js', get_option('assets')['jquery_ui'], [], null, false, 'script');
                        Asset::add('jquery-ui-css', get_option('assets')['jquery_ui_css'], [], null, false, 'style');
                        $subFieldParams = get_sub_field('apidae_content');
                        $apidaeProcessModel = new Display();
                        $apidaeData = $apidaeProcessModel->init($subFieldParams, $post);
                        if (!$objetsScript) {
                            $objetsScript = Asset::add('objets', 'js/apidae.min.js', [], null);
                        }

                        if ($objetsScript) {
                            $objetsScriptLocalize[] = $apidaeData['scriptsLocalize'];
                        }

                        $isListing = $apidaeData['isListing'];
                        $flexibleContentRender .= $apidaeData['render'];
                        break;

                    case 'contenu_textuel' :
                        $flexibleContentRender .= View::make('flex.flexContentText', [
                            'background_color' => get_sub_field('background_color'),
                            'content' => get_sub_field('content'),
                            'add_link' => get_sub_field('add_link'),
                            'href' => get_sub_field('href'),
                            'txt_link' => get_sub_field('txt_link'),
                            'citation' => get_sub_field('mode_citation')
/
home
/
saintgeraz
/
www
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
routes.php
                if (get_sub_field('active')) {
                    $webcams[$category->name][] = [
                        'title' => get_sub_field('altimax_webcam_title'),
                        'url_thumb' => get_sub_field('altimax_webcam_url_thumb'),
                        'url' => get_sub_field('altimax_webcam_url'),
                        'cache_expire' => (int)Option::get('altimax-webcam', 'cache_expire'),
                    ];
                }
            endwhile;
        endif;
        $view->with('post', $post);
        $view->with('webcams', $webcams);
        return $view;
    },
]);

/*page simple*/
Route::match(['GET', 'POST'], 'page', function ($post, $query) {
    $pageController = new PageController(new Canonical(), 'page.page');
    return $pageController->index($post);
});


/*page 404*/
Route::get('404', function ($post = null) {
    return view('page.404', ['post' => $post]);
});
 
/
home
/
saintgeraz
/
www
/
vendor
/
illuminate
/
routing
/
Route.php
     * 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.
     *
     * @return mixed
     */
    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 (new ControllerDispatcher($this->container))->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
/
home
/
saintgeraz
/
www
/
vendor
/
illuminate
/
routing
/
Route.php
    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.
     *
     * @return mixed
     */
/
home
/
saintgeraz
/
www
/
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);
    }
 
    /**
/
home
/
saintgeraz
/
www
/
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();
 
/
home
/
saintgeraz
/
www
/
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
     */
/
home
/
saintgeraz
/
www
/
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.
     *
/
home
/
saintgeraz
/
www
/
vendor
/
illuminate
/
routing
/
Router.php
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        // First we will find a route that matches this request. We will also set the
        // route resolver on the request so middlewares assigned to the route will
        // receive access to this route instance for checking of the parameters.
        $route = $this->findRoute($request);
 
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        $response = $this->runRouteWithinStack($route, $request);
 
        return $this->prepareResponse($request, $response);
    }
 
    /**
     * 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;
    }
 
    /**
/
home
/
saintgeraz
/
www
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return void
     */
    protected function mergeGroupAttributesIntoRoute($route)
    {
        $route->setAction($this->mergeWithLastGroup($route->getAction()));
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    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)
    {
        // First we will find a route that matches this request. We will also set the
        // route resolver on the request so middlewares assigned to the route will
        // receive access to this route instance for checking of the parameters.
        $route = $this->findRoute($request);
 
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
/
home
/
saintgeraz
/
www
/
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();
/
home
/
saintgeraz
/
www
/
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.
/
home
/
saintgeraz
/
www
/
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 ] );
/
home
/
saintgeraz
/
www
/
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;
 
/
home
/
saintgeraz
/
www
/
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' );
/
home
/
saintgeraz
/
www
/
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' );
 
}
 
/
home
/
saintgeraz
/
www
/
htdocs
/
index.php
<?php

/**
 * 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__).'/cms/wp-blog-header.php';
 

Environment & details:

empty
empty
empty
Key Value
_icl_current_language fr
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /reservez-votre-sejour/les-hebergements/chambres-dhotes
USER saintgeraz
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /reservez-votre-sejour/les-hebergements/chambres-dhotes
REMOTE_PORT 37802
SCRIPT_FILENAME /home/saintgeraz/www/htdocs/index.php
SERVER_ADMIN postmaster@www.saintgervais.com
DOCUMENT_ROOT /home/saintgeraz/www/htdocs/
REMOTE_ADDR 54.80.188.87
SERVER_PORT 443
SERVER_ADDR 10.23.40.100
SERVER_NAME www.saintgervais.com
SERVER_SIGNATURE
HTTP_ACCEPT_ENCODING gzip
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_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 54.80.188.87
HTTP_X_PREDICTOR 1
HTTP_HOST www.saintgervais.com
HTTP_REMOTE_IP 54.80.188.87
ENVIRONMENT production
CFG_CLUSTER cluster023
HTTPS on
SCRIPT_URI https://www.saintgervais.com:443/reservez-votre-sejour/les-hebergements/chambres-dhotes
SCRIPT_URL /reservez-votre-sejour/les-hebergements/chambres-dhotes
GEOIP_LONGITUDE -77.472801
GEOIP_LATITUDE 39.048100
GEOIP_AREA_CODE 703
GEOIP_DMA_CODE 511
GEOIP_CITY Ashburn
GEOIP_REGION VA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID W8rTZAoXKGQAADVzk4EAAAEd
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1540019044.9594
REQUEST_TIME 1540019044
argv Array ( )
argc 0
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME wp_ot_saintgervais
DB_USER altimax
DB_PASSWORD RSaktIN2fb3yhTjJirZc
DB_HOST tf2483-018.privatesql:35278
WP_HOME https://www.saintgervais.com
WP_SITEURL https://www.saintgervais.com/cms
APIDAEROOTPATH /home/saintgeraz/www/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1,164.132.235.17,91.134.248.235
SITRAPATH /home/saintgeraz/www/htdocs/sitra
PHPPATH /usr/local/php7.1/bin/php
PROJETID 2798
Key Value
USER saintgeraz
SCRIPT_NAME /index.php
REQUEST_URI /reservez-votre-sejour/les-hebergements/chambres-dhotes
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /reservez-votre-sejour/les-hebergements/chambres-dhotes
REMOTE_PORT 37802
SCRIPT_FILENAME /home/saintgeraz/www/htdocs/index.php
SERVER_ADMIN postmaster@www.saintgervais.com
DOCUMENT_ROOT /home/saintgeraz/www/htdocs
REMOTE_ADDR 54.80.188.87
SERVER_PORT 443
SERVER_ADDR 10.23.40.100
SERVER_NAME www.saintgervais.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_ACCEPT_ENCODING gzip
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_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 54.80.188.87
HTTP_X_PREDICTOR 1
HTTP_HOST www.saintgervais.com
HTTP_REMOTE_IP 54.80.188.87
ENVIRONMENT production
CFG_CLUSTER cluster023
HTTPS on
SCRIPT_URI https://www.saintgervais.com:443/reservez-votre-sejour/les-hebergements/chambres-dhotes
SCRIPT_URL /reservez-votre-sejour/les-hebergements/chambres-dhotes
GEOIP_LONGITUDE -77.472801
GEOIP_LATITUDE 39.048100
GEOIP_AREA_CODE 703
GEOIP_DMA_CODE 511
GEOIP_CITY Ashburn
GEOIP_REGION VA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID W8rTZAoXKGQAADVzk4EAAAEd
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1540019044.9594
REQUEST_TIME 1540019044
argv Array ( )
argc 0
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME wp_ot_saintgervais
DB_USER altimax
DB_PASSWORD RSaktIN2fb3yhTjJirZc
DB_HOST tf2483-018.privatesql:35278
WP_HOME https://www.saintgervais.com
WP_SITEURL https://www.saintgervais.com/cms
APIDAEROOTPATH /home/saintgeraz/www/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1,164.132.235.17,91.134.248.235
SITRAPATH /home/saintgeraz/www/htdocs/sitra
PHPPATH /usr/local/php7.1/bin/php
PROJETID 2798
0. Whoops\Handler\PrettyPageHandler