Twig \ Error \ LoaderError
Unable to find template "objets/partials/faceting/.twig" (looked into: /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Metabox/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Page/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/PostType/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Field/Fields/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Taxonomy/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/User/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/altimax-sitra/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/plugins/apidae-logs/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/plugins/wp-altimax-nordicfrance/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/themes/altimax/resources/views) in "objets/partials/faceting.twig" at line 56. Twig\Error\LoaderError thrown with message "Unable to find template "objets/partials/faceting/.twig" (looked into: /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Metabox/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Page/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/PostType/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Field/Fields/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/Taxonomy/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/User/Views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/altimax-sitra/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/plugins/apidae-logs/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/plugins/wp-altimax-nordicfrance/resources/views, /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/themes/altimax/resources/views) in "objets/partials/faceting.twig" at line 56." Stacktrace: #38 Twig\Error\LoaderError in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Loader/FilesystemLoader.php:245 #37 Twig\Loader\FilesystemLoader:findTemplate in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Loader/FilesystemLoader.php:155 #36 Twig\Loader\FilesystemLoader:getCacheKey in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Environment.php:352 #35 Twig\Environment:getTemplateClass in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Environment.php:446 #34 Twig\Environment:loadTemplate in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:363 #33 Twig\Template:loadTemplate in /home/altimax/public_html/savoie-mont-blanc-nordic.com/storage/twig/11/118c9d069493cae960647d9cc10234ce96c6de0867365385213173e6a748e8d7.php:182 #32 __TwigTemplate_f7e4ff6c01776feae72d266b770664c3f66d31cbe5099e888e8f8772fff1680d:doDisplay in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:427 #31 Twig\Template:displayWithErrorHandling in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:398 #30 Twig\Template:display in /home/altimax/public_html/savoie-mont-blanc-nordic.com/storage/twig/60/606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php:125 #29 __TwigTemplate_39f02f30d7bb9bad9f8043026256c6bb3e90b4f2cf922c1c8733a1d73d27e7e4:block_main in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:216 #28 Twig\Template:displayBlock in /home/altimax/public_html/savoie-mont-blanc-nordic.com/storage/twig/60/606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php:43 #27 __TwigTemplate_39f02f30d7bb9bad9f8043026256c6bb3e90b4f2cf922c1c8733a1d73d27e7e4:doDisplay in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:427 #26 Twig\Template:displayWithErrorHandling in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:398 #25 Twig\Template:display in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Template.php:406 #24 Twig\Template:render in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/TemplateWrapper.php:47 #23 Twig\TemplateWrapper:render in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/twig/twig/src/Environment.php:385 #22 Twig\Environment:render in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Engines/TwigEngine.php:49 #21 Themosis\View\Engines\TwigEngine:get in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/view/View.php:137 #20 Illuminate\View\View:getContents in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/view/View.php:120 #19 Illuminate\View\View:renderContents in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/view/View.php:85 #18 Illuminate\View\View:render in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/altimax-sitra/resources/models/Display.php:67 #17 Com\Altimax\Sitra\Models\Display:init in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/themes/altimax/resources/controllers/PageController.php:78 #16 Theme\Controllers\PageController:index in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/themes/altimax/resources/routes.php:243 #15 Theme\Providers\RoutingService:{closure} in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Route.php:198 #14 Illuminate\Routing\Route:runCallable in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Route.php:172 #13 Illuminate\Routing\Route:run in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Router.php:658 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/pipeline/Pipeline.php:102 #10 Illuminate\Pipeline\Pipeline:then in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Router.php:660 #9 Illuminate\Routing\Router:runRouteWithinStack in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Router.php:635 #8 Illuminate\Routing\Router:runRoute in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Router.php:601 #7 Illuminate\Routing\Router:dispatchToRoute in /home/altimax/public_html/savoie-mont-blanc-nordic.com/vendor/illuminate/routing/Router.php:590 #6 Illuminate\Routing\Router:dispatch in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/cms/wp-includes/class-wp-hook.php:286 #4 WP_Hook:apply_filters in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/cms/wp-includes/class-wp-hook.php:310 #3 WP_Hook:do_action in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/cms/wp-includes/plugin.php:453 #2 do_action in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/cms/wp-includes/template-loader.php:12 #1 require_once in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/cms/wp-blog-header.php:19 #0 require in /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/index.php:11
Stack frames (39)
38
Twig
\
Error
\
LoaderError
/
vendor
/
twig
/
twig
/
src
/
Loader
/
FilesystemLoader.php
245
37
Twig
\
Loader
\
FilesystemLoader
findTemplate
/
vendor
/
twig
/
twig
/
src
/
Loader
/
FilesystemLoader.php
155
36
Twig
\
Loader
\
FilesystemLoader
getCacheKey
/
vendor
/
twig
/
twig
/
src
/
Environment.php
352
35
Twig
\
Environment
getTemplateClass
/
vendor
/
twig
/
twig
/
src
/
Environment.php
446
34
Twig
\
Environment
loadTemplate
/
vendor
/
twig
/
twig
/
src
/
Template.php
363
33
Twig
\
Template
loadTemplate
/
storage
/
twig
/
11
/
118c9d069493cae960647d9cc10234ce96c6de0867365385213173e6a748e8d7.php
182
32
__TwigTemplate_f7e4ff6c01776feae72d266b770664c3f66d31cbe5099e888e8f8772fff1680d
doDisplay
/
vendor
/
twig
/
twig
/
src
/
Template.php
427
31
Twig
\
Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
src
/
Template.php
398
30
Twig
\
Template
display
/
storage
/
twig
/
60
/
606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php
125
29
__TwigTemplate_39f02f30d7bb9bad9f8043026256c6bb3e90b4f2cf922c1c8733a1d73d27e7e4
block_main
/
vendor
/
twig
/
twig
/
src
/
Template.php
216
28
Twig
\
Template
displayBlock
/
storage
/
twig
/
60
/
606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php
43
27
__TwigTemplate_39f02f30d7bb9bad9f8043026256c6bb3e90b4f2cf922c1c8733a1d73d27e7e4
doDisplay
/
vendor
/
twig
/
twig
/
src
/
Template.php
427
26
Twig
\
Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
src
/
Template.php
398
25
Twig
\
Template
display
/
vendor
/
twig
/
twig
/
src
/
Template.php
406
24
Twig
\
Template
render
/
vendor
/
twig
/
twig
/
src
/
TemplateWrapper.php
47
23
Twig
\
TemplateWrapper
render
/
vendor
/
twig
/
twig
/
src
/
Environment.php
385
22
Twig
\
Environment
render
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Engines
/
TwigEngine.php
49
21
Themosis
\
View
\
Engines
\
TwigEngine
get
/
vendor
/
illuminate
/
view
/
View.php
137
20
Illuminate
\
View
\
View
getContents
/
vendor
/
illuminate
/
view
/
View.php
120
19
Illuminate
\
View
\
View
renderContents
/
vendor
/
illuminate
/
view
/
View.php
85
18
Illuminate
\
View
\
View
render
/
htdocs
/
content
/
mu-plugins
/
altimax-sitra
/
resources
/
models
/
Display.php
67
17
Com
\
Altimax
\
Sitra
\
Models
\
Display
init
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
controllers
/
PageController.php
78
16
Theme
\
Controllers
\
PageController
index
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
routes.php
243
15
Theme
\
Providers
\
RoutingService
{closure}
/
vendor
/
illuminate
/
routing
/
Route.php
198
14
Illuminate
\
Routing
\
Route
runCallable
/
vendor
/
illuminate
/
routing
/
Route.php
172
13
Illuminate
\
Routing
\
Route
run
/
vendor
/
illuminate
/
routing
/
Router.php
658
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
102
10
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
illuminate
/
routing
/
Router.php
660
9
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
illuminate
/
routing
/
Router.php
635
8
Illuminate
\
Routing
\
Router
runRoute
/
vendor
/
illuminate
/
routing
/
Router.php
601
7
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
illuminate
/
routing
/
Router.php
590
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Loader
/
FilesystemLoader.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 LoaderError($this->errorCache[$name]);
    }
 
    protected function parseName($name, $default = self::MAIN_NAMESPACE)
    {
        if (isset($name[0]) && '@' == $name[0]) {
            if (false === $pos = strpos($name, '/')) {
                throw new LoaderError(sprintf('Malformed namespaced template name "%s" (expecting "@namespace/template_name").', $name));
            }
 
            $namespace = substr($name, 1, $pos - 1);
            $shortname = substr($name, $pos + 1);
 
            return [$namespace, $shortname];
        }
 
        return [$default, $name];
    }
 
    protected function normalizeName($name)
    {
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Loader
/
FilesystemLoader.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 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 (LoaderError $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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Environment.php
    /**
     * Gets the template class associated with the given string.
     *
     * The generated template class is based on the following parameters:
     *
     *  * The cache key for the given template;
     *  * The currently enabled extensions;
     *  * Whether the Twig C extension is available or not;
     *  * PHP version;
     *  * Twig version;
     *  * Options with what environment was created.
     *
     * @param string   $name  The name for which to calculate the template class name
     * @param int|null $index The index if it is an embedded template
     *
     * @return string The template class name
     */
    public function getTemplateClass($name, $index = null)
    {
        $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
 
        return $this->templateClassPrefix.hash('sha256', $key).(null === $index ? '' : '___'.$index);
    }
 
    /**
     * Gets the template class prefix.
     *
     * @return string The template class prefix
     *
     * @deprecated since 1.22 (to be removed in 2.0)
     */
    public function getTemplateClassPrefix()
    {
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Environment.php
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return \Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
    {
        return $this->loadClass($this->getTemplateClass($name), $name, $index);
    }
 
    /**
     * @internal
     */
    public function loadClass($cls, $name, $index = null)
    {
        $mainCls = $cls;
        if (null !== $index) {
            $cls .= '___'.$index;
        }
 
        if (isset($this->loadedTemplates[$cls])) {
            return $this->loadedTemplates[$cls];
        }
 
        if (!class_exists($cls, false)) {
            if ($this->bcGetCacheFilename) {
                $key = $this->getCacheFilename($name);
            } else {
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
    {
        try {
            if (\is_array($template)) {
                return $this->env->resolveTemplate($template);
            }
 
            if ($template instanceof self || $template instanceof TemplateWrapper) {
                return $template;
            }
 
            if ($template === $this->getTemplateName()) {
                $class = get_class($this);
                if (false !== $pos = strrpos($class, '___', -1)) {
                    $class = substr($class, 0, $pos);
                }
 
                return $this->env->loadClass($class, $template, $index);
            }
 
            return $this->env->loadTemplate($template, $index);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($templateName ? new Source('', $templateName) : $this->getSourceContext());
            }
 
            if ($e->getTemplateLine() > 0) {
                throw $e;
            }
 
            if (!$line) {
                $e->guess();
            } else {
                $e->setTemplateLine($line);
            }
 
            throw $e;
        }
    }
 
    /**
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
storage
/
twig
/
11
/
118c9d069493cae960647d9cc10234ce96c6de0867365385213173e6a748e8d7.php
                  '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 54
                    echo "                        <div class=\"ApidaeListingFilters-part ApidaeListingFilters-choices ApidaeListingFilters-";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["filter"], "template", []), "html", null, true);
                    echo "\">
                            ";
                    // line 56
                    echo "                                ";
                    $this->loadTemplate((("objets/partials/faceting/" . $this->getAttribute($context["filter"], "template", [])) . ".twig"), "objets/partials/faceting.twig", 56)->display(twig_array_merge($context, ["filter" =>                     // line 57
$context["filter"], "filterType" =>                     // line 58
$context["filterType"], "selectedFilters" => $this->getAttribute($this->getAttribute(                    // line 59
($context["filters"] ?? null), "formatSelectedFilters", []), $context["filterType"], [], "array")]));
                    // line 61
                    echo "                            ";
                    // line 62
                    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;
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            throw new RuntimeError(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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
            throw $e;
        }
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
storage
/
twig
/
60
/
606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php
        // line 35
        echo "            </div>
            <div class=\"ApidaeListing-global ";
        // line 36
        if ((($context["hasMap"] ?? null) == "true")) {
            echo " isListingMap ";
        }
        echo "\"> <!-- isListingMap -->
                ";
        // line 37
        if (($this->getAttribute($this->getAttribute(($context["fn"] ?? null), "get_option", [0 => "dispokit"], "method"), "isEnabled", [], "array") && ($context["isBookable"] ?? null))) {
            // line 38
            echo "                    ";
            $this->loadTemplate("objets/partials/faceting/dispokit.twig", "objets/default.twig", 38)->display($context);
            // line 39
            echo "                ";
        }
        // line 40
        echo "                ";
        $this->loadTemplate("objets/partials/faceting.twig", "objets/default.twig", 40)->display($context);
        // line 41
        echo "
                <div class=\"ApidaeListing-items\">
                    ";
        // line 43
        if ((twig_length_filter($this->env, $this->getAttribute(($context["results"] ?? null), "items", [])) > 0)) {
            // line 44
            echo "                        <div id=\"js-apidae-items-container\" class=\"ApidaeListingSimpleGrid\">
                            ";
            // line 45
            $this->loadTemplate((($context["itemsPath"] ?? null) . ".twig"), "objets/default.twig", 45)->display(twig_array_merge($context, ["items" => $this->getAttribute(($context["results"] ?? null), "items", [])]));
            // line 46
            echo "                        </div>
                    ";
        } else {
            // line 48
            echo "                        <h3>";
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('__')->getCallable(), ["Pas de résultat", "altimax"]), "html", null, true);
            echo "</h3>
                    ";
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                throw new RuntimeError(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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
storage
/
twig
/
60
/
606b7f85eb3a067b09eb227fdf32d1d4630974e90c62b0e233a305ef8e020648.php
            'main' => [$this, 'block_main'],
        ];
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 2
        echo "
";
        // line 4
        echo "    ";
        // line 5
        echo "        ";
        // line 6
        echo "    ";
        // line 8
        echo "<div class=\"containerFull containerApidaeListing\">
    ";
        // line 9
        $this->displayBlock('main', $context, $blocks);
        // line 67
        echo "</div>
";
    }
 
    // line 9
    public function block_main($context, array $blocks = [])
    {
        // line 10
        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(), ["Mode carte", "altimax"]), "html", null, true);
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            throw new RuntimeError(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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
            throw $e;
        }
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Template.php
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
TemplateWrapper.php
     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    /**
     * Renders the template.
     *
     * @param array $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     */
    public function render($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Displays the template.
     *
     * @param array $context An array of parameters to pass to the template
     */
    public function display($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Checks if a block is defined.
     *
     * @param string $name    The block name
     * @param array  $context An array of parameters to pass to the template
     *
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
twig
/
twig
/
src
/
Environment.php
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function render($name, array $context = [])
    {
        return $this->load($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function display($name, array $context = [])
    {
        $this->load($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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]);
                        $scriptsLocalize[] = $model->getObjetsScriptLocalize();

/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
controllers
/
PageController.php
 
 
        //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' :
                        $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', [
                            'content' => get_sub_field('content')
                        ])->render();
                        break;
 
                    case 'bouton' :
                        $flexibleContentRender .= View::make('flex.flexBouton', [
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
htdocs
/
content
/
themes
/
altimax
/
resources
/
routes.php
    'listing_actus', function ($post) {
        $pageController = new PageController(new Canonical(), 'page.listingActus');
        $view = $pageController->index($post);
        $args = array(
            'posts_per_page' => -1,
            'category_name' => 'actus',
            'post_type' => 'post',
            'post_status' => 'publish'
        );
        $actus = new WP_Query($args);
        wp_reset_postdata();
        $view->with('actus', $actus->posts);
        return $view;
    }
]);
 
/*page simple*/
Route::match(['GET', 'POST'], 'page', function ($post, $query) {
    $pageController = new PageController(new Canonical(), 'page.page');
    return $pageController->index($post);
});
 
/*page article*/
Route::get('single', function ($post) {
    $pageController = new PageController(new Canonical(), 'page.single');
    return $pageController->index($post);
});
 
/*page 404*/
Route::get('404', function ($post = null) {
    return view('page.404', ['post' => $post]);
});
 
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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 $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
vendor
/
illuminate
/
routing
/
Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  Route  $route
     * @param  Request  $request
     * @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)
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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.
     *
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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)
/
home
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
/
altimax
/
public_html
/
savoie-mont-blanc-nordic.com
/
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
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /list-test/
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
ORACLE_HOME /usr/lib/oracle/12.1/client64/lib
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
CONTENT_LENGTH 0
HTTP_HOST www.savoie-mont-blanc-nordic.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_REAL_IP 3.80.128.196
HTTP_X_FORWARDED_HOST www.savoie-mont-blanc-nordic.com
HTTP_X_FORWARDED_SERVER www.savoie-mont-blanc-nordic.com
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID XLwzsosOm6kQKL1x8UmYugAAAQ0
REDIRECT_SCRIPT_URL /list-test/
REDIRECT_SCRIPT_URI https://www.savoie-mont-blanc-nordic.com/list-test/
REDIRECT_HTTPS on
REDIRECT_STATUS 200
UNIQUE_ID XLwzsosOm6kQKL1x8UmYugAAAQ0
SCRIPT_URL /list-test/
SCRIPT_URI https://www.savoie-mont-blanc-nordic.com/list-test/
HTTPS on
SERVER_SIGNATURE
SERVER_NAME www.savoie-mont-blanc-nordic.com
SERVER_ADDR 109.234.165.84
SERVER_PORT 443
REMOTE_ADDR 3.80.128.196
DOCUMENT_ROOT /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs
SERVER_ADMIN webmaster@savoie-mont-blanc-nordic.berthet19.net
SCRIPT_FILENAME /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/index.php
REMOTE_PORT 54272
REDIRECT_URL /list-test/
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1555837874.0442
REQUEST_TIME 1555837874
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME altimax_savoie-mont-blanc-nordic.com
DB_USER altimax_smbn
DB_PASSWORD RkH3643pjN
DB_HOST localhost
WP_HOME https://www.savoie-mont-blanc-nordic.com
WP_SITEURL https://www.savoie-mont-blanc-nordic.com/cms
APIDAEROOTPATH /home/altimax/public_html/savoie-mont-blanc-nordic.com/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1
SITRAPATH /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/sitra
PHPPATH php
PROJETID 3065
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
ORACLE_HOME /usr/lib/oracle/12.1/client64/lib
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME altimax_savoie-mont-blanc-nordic.com
DB_USER altimax_smbn
DB_PASSWORD RkH3643pjN
DB_HOST localhost
WP_HOME https://www.savoie-mont-blanc-nordic.com
WP_SITEURL https://www.savoie-mont-blanc-nordic.com/cms
APIDAEROOTPATH /home/altimax/public_html/savoie-mont-blanc-nordic.com/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1
SITRAPATH /home/altimax/public_html/savoie-mont-blanc-nordic.com/htdocs/sitra
PHPPATH php
PROJETID 3065
0. Whoops\Handler\PrettyPageHandler