Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("count(): Parameter must be an array or an object that implements Countable").
Previous exceptions
  • count(): Parameter must be an array or an object that implements Countable (2)
Twig\Error\RuntimeError thrown with message "An exception has been thrown during the rendering of a template ("count(): Parameter must be an array or an object that implements Countable")." Stacktrace: #34 Twig\Error\RuntimeError in /home/hautrhonvj/www/htdocs/content/themes/surlyand/resources/views/page/webcams.twig:11 #33 Whoops\Exception\ErrorException in /home/hautrhonvj/www/htdocs/cms/wp-includes/post-template.php:316 #32 Whoops\Run:handleError in /home/hautrhonvj/www/htdocs/cms/wp-includes/post-template.php:316 #31 get_the_content in /home/hautrhonvj/www/htdocs/cms/wp-includes/post-template.php:244 #30 the_content in /home/hautrhonvj/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Extensions/ThemosisTwigExtension.php:57 #29 call_user_func_array in /home/hautrhonvj/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Extensions/ThemosisTwigExtension.php:57 #28 Themosis\View\Extensions\ThemosisTwigExtension:__call in /home/hautrhonvj/www/vendor/twig/twig/src/Template.php:690 #27 Twig\Template:getAttribute in /home/hautrhonvj/www/storage/twig/2a/2ac5a3aee5fa9f14cf889b441eec9e1ad4869fab96ba0b837f54a43450be55e7.php:54 #26 __TwigTemplate_0de0746b6595306cba9f6531ae0161ef8862a0ea2a926b3fc66d9e3bd3dd676d:doDisplay in /home/hautrhonvj/www/vendor/twig/twig/src/Template.php:443 #25 Twig\Template:displayWithErrorHandling in /home/hautrhonvj/www/vendor/twig/twig/src/Template.php:414 #24 Twig\Template:display in /home/hautrhonvj/www/vendor/twig/twig/src/Template.php:422 #23 Twig\Template:render in /home/hautrhonvj/www/vendor/twig/twig/src/TemplateWrapper.php:47 #22 Twig\TemplateWrapper:render in /home/hautrhonvj/www/vendor/twig/twig/src/Environment.php:384 #21 Twig\Environment:render in /home/hautrhonvj/www/htdocs/content/mu-plugins/themosis-framework/src/Themosis/View/Engines/TwigEngine.php:49 #20 Themosis\View\Engines\TwigEngine:get in /home/hautrhonvj/www/vendor/illuminate/view/View.php:137 #19 Illuminate\View\View:getContents in /home/hautrhonvj/www/vendor/illuminate/view/View.php:120 #18 Illuminate\View\View:renderContents in /home/hautrhonvj/www/vendor/illuminate/view/View.php:85 #17 Illuminate\View\View:render in /home/hautrhonvj/www/vendor/illuminate/http/Response.php:42 #16 Illuminate\Http\Response:setContent in /home/hautrhonvj/www/vendor/symfony/http-foundation/Response.php:206 #15 Symfony\Component\HttpFoundation\Response:__construct in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:724 #14 Illuminate\Routing\Router:toResponse in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:698 #13 Illuminate\Routing\Router:prepareResponse in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:658 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/hautrhonvj/www/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/hautrhonvj/www/vendor/illuminate/pipeline/Pipeline.php:102 #10 Illuminate\Pipeline\Pipeline:then in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:660 #9 Illuminate\Routing\Router:runRouteWithinStack in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:635 #8 Illuminate\Routing\Router:runRoute in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:601 #7 Illuminate\Routing\Router:dispatchToRoute in /home/hautrhonvj/www/vendor/illuminate/routing/Router.php:590 #6 Illuminate\Routing\Router:dispatch in /home/hautrhonvj/www/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /home/hautrhonvj/www/htdocs/cms/wp-includes/class-wp-hook.php:288 #4 WP_Hook:apply_filters in /home/hautrhonvj/www/htdocs/cms/wp-includes/class-wp-hook.php:312 #3 WP_Hook:do_action in /home/hautrhonvj/www/htdocs/cms/wp-includes/plugin.php:478 #2 do_action in /home/hautrhonvj/www/htdocs/cms/wp-includes/template-loader.php:13 #1 require_once in /home/hautrhonvj/www/htdocs/cms/wp-blog-header.php:19 #0 require in /home/hautrhonvj/www/htdocs/index.php:11
Stack frames (35)
34
Twig
\
Error
\
RuntimeError
/
htdocs
/
content
/
themes
/
surlyand
/
resources
/
views
/
page
/
webcams.twig
11
33
Whoops
\
Exception
\
ErrorException
/
htdocs
/
cms
/
wp-includes
/
post-template.php
316
32
Whoops
\
Run
handleError
/
htdocs
/
cms
/
wp-includes
/
post-template.php
316
31
get_the_content
/
htdocs
/
cms
/
wp-includes
/
post-template.php
244
30
the_content
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
57
29
call_user_func_array
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
57
28
Themosis
\
View
\
Extensions
\
ThemosisTwigExtension
__call
/
vendor
/
twig
/
twig
/
src
/
Template.php
690
27
Twig
\
Template
getAttribute
/
storage
/
twig
/
2a
/
2ac5a3aee5fa9f14cf889b441eec9e1ad4869fab96ba0b837f54a43450be55e7.php
54
26
__TwigTemplate_0de0746b6595306cba9f6531ae0161ef8862a0ea2a926b3fc66d9e3bd3dd676d
doDisplay
/
vendor
/
twig
/
twig
/
src
/
Template.php
443
25
Twig
\
Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
src
/
Template.php
414
24
Twig
\
Template
display
/
vendor
/
twig
/
twig
/
src
/
Template.php
422
23
Twig
\
Template
render
/
vendor
/
twig
/
twig
/
src
/
TemplateWrapper.php
47
22
Twig
\
TemplateWrapper
render
/
vendor
/
twig
/
twig
/
src
/
Environment.php
384
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
/
vendor
/
illuminate
/
http
/
Response.php
42
16
Illuminate
\
Http
\
Response
setContent
/
vendor
/
symfony
/
http-foundation
/
Response.php
206
15
Symfony
\
Component
\
HttpFoundation
\
Response
__construct
/
vendor
/
illuminate
/
routing
/
Router.php
724
14
Illuminate
\
Routing
\
Router
toResponse
/
vendor
/
illuminate
/
routing
/
Router.php
698
13
Illuminate
\
Routing
\
Router
prepareResponse
/
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
288
4
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
312
3
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
478
2
do_action
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
13
1
require_once
/
htdocs
/
cms
/
wp-blog-header.php
19
0
require
/
htdocs
/
index.php
11
/
home
/
hautrhonvj
/
www
/
htdocs
/
content
/
themes
/
surlyand
/
resources
/
views
/
page
/
webcams.twig
{{ include('/layouts/header.twig') }}
{% if(fn.is_front_page() or fn.get_field('header_illustre')) %}
    {{ include('/block/headerContent.twig') }}
{% else %}
    {{ include('/block/subHeader.twig') }}
{% endif %}

<main role="main">
    <div class="Page">
        <div class="FlexContentText-content container">
            {{ fn.the_content() }}
        </div>
        <div class="Webcams container">
            {% if webcams|length > 0 %}
                {% for category, webcam in webcams %}
                    <h2 class="Webcams-categorieTitle">{{ category }}</h2>
                    <div class="Webcams-wraper">
                        {% for item in webcam %}
                            <div class="Webcams-item">
                                <h3 class="Webcams-title">{{ item.title }}</h3>
                                <a class="Webcams-link" href="{{ item.url }}" title="{{ item.title }}">
                                    <picture>
                                        <img class="Webcams-thumb" src="{{ item.url_thumb.sizes['webcam-thumbnail'] }}"
                                             alt="Mond'Arverne - {{ item.title }}">
                                    </picture>
                                </a>
                            </div>
                        {% endfor %}
                    </div>
                {% endfor %}
            {% endif %}
        </div>
    </div>
</main>

{{ include('/layouts/footer.twig') }}
/
home
/
hautrhonvj
/
www
/
htdocs
/
cms
/
wp-includes
/
post-template.php
                the_title_attribute(
                    array(
                        'echo' => false,
                        'post' => $_post,
                    )
                )
            ),
            __( '(more&hellip;)' )
        );
    }
 
    $output     = '';
    $has_teaser = false;
 
    // If post password required and it doesn't match the cookie.
    if ( post_password_required( $_post ) ) {
        return get_the_password_form( $_post );
    }
 
    if ( $elements['page'] > count( $elements['pages'] ) ) { // if the requested page doesn't exist
        $elements['page'] = count( $elements['pages'] ); // give them the highest numbered page that DOES exist
    }
 
    $page_no = $elements['page'];
    $content = $elements['pages'][ $page_no - 1 ];
    if ( preg_match( '/<!--more(.*?)?-->/', $content, $matches ) ) {
        if ( has_block( 'more', $content ) ) {
            // Remove the core/more block delimiters. They will be left over after $content is split up.
            $content = preg_replace( '/<!-- \/?wp:more(.*?) -->/', '', $content );
        }
 
        $content = explode( $matches[0], $content, 2 );
 
        if ( ! empty( $matches[1] ) && ! empty( $more_link_text ) ) {
            $more_link_text = strip_tags( wp_kses_no_null( trim( $matches[1] ) ) );
        }
 
        $has_teaser = true;
    } else {
        $content = array( $content );
Exception message: count(): Parameter must be an array or an object that implements Countable
/
home
/
hautrhonvj
/
www
/
htdocs
/
cms
/
wp-includes
/
post-template.php
                the_title_attribute(
                    array(
                        'echo' => false,
                        'post' => $_post,
                    )
                )
            ),
            __( '(more&hellip;)' )
        );
    }
 
    $output     = '';
    $has_teaser = false;
 
    // If post password required and it doesn't match the cookie.
    if ( post_password_required( $_post ) ) {
        return get_the_password_form( $_post );
    }
 
    if ( $elements['page'] > count( $elements['pages'] ) ) { // if the requested page doesn't exist
        $elements['page'] = count( $elements['pages'] ); // give them the highest numbered page that DOES exist
    }
 
    $page_no = $elements['page'];
    $content = $elements['pages'][ $page_no - 1 ];
    if ( preg_match( '/<!--more(.*?)?-->/', $content, $matches ) ) {
        if ( has_block( 'more', $content ) ) {
            // Remove the core/more block delimiters. They will be left over after $content is split up.
            $content = preg_replace( '/<!-- \/?wp:more(.*?) -->/', '', $content );
        }
 
        $content = explode( $matches[0], $content, 2 );
 
        if ( ! empty( $matches[1] ) && ! empty( $more_link_text ) ) {
            $more_link_text = strip_tags( wp_kses_no_null( trim( $matches[1] ) ) );
        }
 
        $has_teaser = true;
    } else {
        $content = array( $content );
/
home
/
hautrhonvj
/
www
/
htdocs
/
cms
/
wp-includes
/
post-template.php
     * Filters the Global Unique Identifier (guid) of the post.
     *
     * @since 1.5.0
     *
     * @param string $guid Global Unique Identifier (guid) of the post.
     * @param int    $id   The post ID.
     */
    return apply_filters( 'get_the_guid', $guid, $id );
}
 
/**
 * Display the post content.
 *
 * @since 0.71
 *
 * @param string $more_link_text Optional. Content for when there is more text.
 * @param bool   $strip_teaser   Optional. Strip teaser content before the more text. Default is false.
 */
function the_content( $more_link_text = null, $strip_teaser = false ) {
    $content = get_the_content( $more_link_text, $strip_teaser );
 
    /**
     * Filters the post content.
     *
     * @since 0.71
     *
     * @param string $content Content of the current post.
     */
    $content = apply_filters( 'the_content', $content );
    $content = str_replace( ']]>', ']]&gt;', $content );
    echo $content;
}
 
/**
 * Retrieve the post content.
 *
 * @since 0.71
 * @since 5.2.0 Added the `$post` parameter.
 *
 * @global int   $page      Page number of a single post/page.
/
home
/
hautrhonvj
/
www
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
    {
        return [
            'fn' => $this,
            'Form' => $this->container['form'],
        ];
    }
 
    /**
     * Allow developers to call core php and WordPress functions
     * using the `fn` namespace inside their templates.
     * Linked to the global call only...
     *
     * @param string $name
     * @param array  $arguments
     *
     * @return mixed
     */
    public function __call($name, array $arguments)
    {
        return call_user_func_array($name, $arguments);
    }
 
    /**
     * Register a list of functions available into Twig templates.
     * 
     * @return array|\Twig_SimpleFunction[]
     */
    public function getFunctions()
    {
        return [
            /*
             * WordPress theme functions.
             */
            new Twig_SimpleFunction('wp_head', 'wp_head'),
            new Twig_SimpleFunction('wp_footer', 'wp_footer'),
            new Twig_SimpleFunction('body_class', function ($class = '') {
                return body_class($class);
            }),
            new Twig_SimpleFunction('post_class', function ($class = '', $id = null) {
                return post_class($class, $id);
/
home
/
hautrhonvj
/
www
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
View
/
Extensions
/
ThemosisTwigExtension.php
    {
        return [
            'fn' => $this,
            'Form' => $this->container['form'],
        ];
    }
 
    /**
     * Allow developers to call core php and WordPress functions
     * using the `fn` namespace inside their templates.
     * Linked to the global call only...
     *
     * @param string $name
     * @param array  $arguments
     *
     * @return mixed
     */
    public function __call($name, array $arguments)
    {
        return call_user_func_array($name, $arguments);
    }
 
    /**
     * Register a list of functions available into Twig templates.
     * 
     * @return array|\Twig_SimpleFunction[]
     */
    public function getFunctions()
    {
        return [
            /*
             * WordPress theme functions.
             */
            new Twig_SimpleFunction('wp_head', 'wp_head'),
            new Twig_SimpleFunction('wp_footer', 'wp_footer'),
            new Twig_SimpleFunction('body_class', function ($class = '') {
                return body_class($class);
            }),
            new Twig_SimpleFunction('post_class', function ($class = '', $id = null) {
                return post_class($class, $id);
/
home
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
Template.php
            if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
                return;
            }
 
            throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), -1, $this->getSourceContext());
        }
 
        if ($isDefinedTest) {
            return true;
        }
 
        if ($this->env->hasExtension('\Twig\Extension\SandboxExtension')) {
            $this->env->getExtension('\Twig\Extension\SandboxExtension')->checkMethodAllowed($object, $method);
        }
 
        // Some objects throw exceptions when they have __call, and the method we try
        // to call is not supported. If ignoreStrictCheck is true, we should return null.
        try {
            if (!$arguments) {
                $ret = $object->$method();
            } else {
                $ret = \call_user_func_array([$object, $method], $arguments);
            }
        } catch (\BadMethodCallException $e) {
            if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
                return;
            }
            throw $e;
        }
 
        // @deprecated in 1.28
        if ($object instanceof \Twig_TemplateInterface) {
            $self = $object->getTemplateName() === $this->getTemplateName();
            $message = sprintf('Calling "%s" on template "%s" from template "%s" is deprecated since version 1.28 and won\'t be supported anymore in 2.0.', $item, $object->getTemplateName(), $this->getTemplateName());
            if ('renderBlock' === $method || 'displayBlock' === $method) {
                $message .= sprintf(' Use block("%s"%s) instead).', $arguments[0], $self ? '' : ', template');
            } elseif ('hasBlock' === $method) {
                $message .= sprintf(' Use "block("%s"%s) is defined" instead).', $arguments[0], $self ? '' : ', template');
            } elseif ('render' === $method || 'display' === $method) {
                $message .= sprintf(' Use include("%s") instead).', $object->getTemplateName());
/
home
/
hautrhonvj
/
www
/
storage
/
twig
/
2a
/
2ac5a3aee5fa9f14cf889b441eec9e1ad4869fab96ba0b837f54a43450be55e7.php
            // line 3
            echo "    ";
            echo twig_include($this->env, $context, "/block/headerContent.twig");
            echo "
";
        } else {
            // line 5
            echo "    ";
            echo twig_include($this->env, $context, "/block/subHeader.twig");
            echo "
";
        }
        // line 7
        echo "
<main role=\"main\">
    <div class=\"Page\">
        <div class=\"FlexContentText-content container\">
            ";
        // line 11
        echo twig_escape_filter($this->env, $this->getAttribute(($context["fn"] ?? null), "the_content", [], "method"), "html", null, true);
        echo "
        </div>
        <div class=\"Webcams container\">
            ";
        // line 14
        if ((twig_length_filter($this->env, ($context["webcams"] ?? null)) > 0)) {
            // line 15
            echo "                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["webcams"] ?? null));
            foreach ($context['_seq'] as $context["category"] => $context["webcam"]) {
                // line 16
                echo "                    <h2 class=\"Webcams-categorieTitle\">";
                echo twig_escape_filter($this->env, $context["category"], "html", null, true);
                echo "</h2>
                    <div class=\"Webcams-wraper\">
                        ";
                // line 18
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["webcam"]);
/
home
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
/
home
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
Template.php
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
Template.php
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        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
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
TemplateWrapper.php
     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    /**
     * Renders the template.
     *
     * @param array $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     */
    public function render($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Displays the template.
     *
     * @param array $context An array of parameters to pass to the template
     */
    public function display($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Checks if a block is defined.
     *
     * @param string $name    The block name
     * @param array  $context An array of parameters to pass to the template
     *
/
home
/
hautrhonvj
/
www
/
vendor
/
twig
/
twig
/
src
/
Environment.php
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function render($name, array $context = [])
    {
        return $this->load($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function display($name, array $context = [])
    {
        $this->load($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
/
home
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
www
/
vendor
/
illuminate
/
http
/
Response.php
     * @return $this
     */
    public function setContent($content)
    {
        $this->original = $content;
 
        // If the content is "JSONable" we will set the appropriate header and convert
        // the content to JSON. This is useful when returning something like models
        // from routes that will be automatically transformed to their JSON form.
        if ($this->shouldBeJson($content)) {
            $this->header('Content-Type', 'application/json');
 
            $content = $this->morphToJson($content);
        }
 
        // If this content implements the "Renderable" interface then we will call the
        // render method on the object so we will avoid any "__toString" exceptions
        // that might be thrown and have their errors obscured by PHP's handling.
        elseif ($content instanceof Renderable) {
            $content = $content->render();
        }
 
        parent::setContent($content);
 
        return $this;
    }
 
    /**
     * Determine if the given content should be turned into JSON.
     *
     * @param  mixed  $content
     * @return bool
     */
    protected function shouldBeJson($content)
    {
        return $content instanceof Arrayable ||
               $content instanceof Jsonable ||
               $content instanceof ArrayObject ||
               $content instanceof JsonSerializable ||
               is_array($content);
/
home
/
hautrhonvj
/
www
/
vendor
/
symfony
/
http-foundation
/
Response.php
        504 => 'Gateway Timeout',
        505 => 'HTTP Version Not Supported',
        506 => 'Variant Also Negotiates',                                     // RFC2295
        507 => 'Insufficient Storage',                                        // RFC4918
        508 => 'Loop Detected',                                               // RFC5842
        510 => 'Not Extended',                                                // RFC2774
        511 => 'Network Authentication Required',                             // RFC6585
    ];
 
    /**
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', $status = 200, $headers = [])
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Factory method for chainability.
     *
     * Example:
     *
     *     return Response::create($body, 200)
     *         ->setSharedMaxAge(300);
     *
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @return static
     */
    public static function create($content = '', $status = 200, $headers = [])
    {
/
home
/
hautrhonvj
/
www
/
vendor
/
illuminate
/
routing
/
Router.php
     * @param  mixed  $response
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public static function toResponse($request, $response)
    {
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif (! $response instanceof SymfonyResponse &&
                   ($response instanceof Arrayable ||
                    $response instanceof Jsonable ||
                    $response instanceof ArrayObject ||
                    $response instanceof JsonSerializable ||
                    is_array($response))) {
            $response = new JsonResponse($response);
        } elseif (! $response instanceof SymfonyResponse) {
            $response = new Response($response);
        }
 
        if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
            $response->setNotModified();
        }
 
        return $response->prepare($request);
    }
 
    /**
     * Substitute the route bindings onto the route.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return \Illuminate\Routing\Route
     */
    public function substituteBindings($route)
    {
        foreach ($route->parameters() as $key => $value) {
            if (isset($this->binders[$key])) {
                $route->setParameter($key, $this->performBinding($key, $value, $route));
/
home
/
hautrhonvj
/
www
/
vendor
/
illuminate
/
routing
/
Router.php
     * Sort the given middleware by priority.
     *
     * @param  \Illuminate\Support\Collection  $middlewares
     * @return array
     */
    protected function sortMiddleware(Collection $middlewares)
    {
        return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
    }
 
    /**
     * Create a response instance from the given value.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function prepareResponse($request, $response)
    {
        return static::toResponse($request, $response);
    }
 
    /**
     * Static version of prepareResponse.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public static function toResponse($request, $response)
    {
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif (! $response instanceof SymfonyResponse &&
                   ($response instanceof Arrayable ||
                    $response instanceof Jsonable ||
/
home
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
www
/
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
/
hautrhonvj
/
www
/
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
/
hautrhonvj
/
www
/
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
/
hautrhonvj
/
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
/
hautrhonvj
/
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 ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $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( $the_['function'] );
                } 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;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/
home
/
hautrhonvj
/
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;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    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
/
hautrhonvj
/
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;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
        // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
        $arg[0] = $arg[0][0];
    }
 
    $wp_filter[ $tag ]->do_action( $arg );
 
    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
/
hautrhonvj
/
www
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
<?php
/**
 * Loads the correct template based on the visitor's url
 *
 * @package WordPress
 */
if ( wp_using_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();
/
home
/
hautrhonvj
/
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
/
hautrhonvj
/
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
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /webcam/
USER hautrhonvj
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /webcam/
REMOTE_PORT 60954
SCRIPT_FILENAME /home/hautrhonvj/www/htdocs/index.php
SERVER_ADMIN postmaster@sur-lyand.hautrhone-tourisme.fr
DOCUMENT_ROOT /home/hautrhonvj/www/htdocs
REMOTE_ADDR 35.168.111.191
SERVER_PORT 443
SERVER_ADDR 10.26.40.171
SERVER_NAME sur-lyand.hautrhone-tourisme.fr
SERVER_SIGNATURE
HTTP_REMOTE_IP 35.168.111.191
HTTP_ACCEPT_ENCODING br,gzip
HTTP_IF_MODIFIED_SINCE Tue, 15 Oct 2019 04:17:45 CEST
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 35.168.111.191
HTTP_X_PREDICTOR 1
HTTP_HOST sur-lyand.hautrhone-tourisme.fr
ENVIRONMENT production
CFG_CLUSTER cluster026
HTTPS on
SCRIPT_URI https://sur-lyand.hautrhone-tourisme.fr:443/webcam/
SCRIPT_URL /webcam/
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 XiQ862lF0rskdkVhy5V3yAAAACE
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1579433195.3192
REQUEST_TIME 1579433195
argv Array ( )
argc 0
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME hautrhone
DB_USER TF2483-ht
DB_PASSWORD tG8Ukt6D42nS
DB_HOST tf2483-035.privatesql:35128
WP_HOME https://www.hautrhone-tourisme.fr
WP_SITEURL https://www.hautrhone-tourisme.fr
APIDAEROOTPATH /home/hautrhonvj/www/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1
SITRAPATH /home/hautrhonvj/www/htdocs/sitra
PHPPATH /usr/local/php7.1/bin/php
PROJETID 3226
GENERATE_POIS_ITERATION 200
ASSETSVERSION 1.8
Key Value
USER hautrhonvj
SCRIPT_NAME /index.php
REQUEST_URI /webcam/
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /webcam/
REMOTE_PORT 60954
SCRIPT_FILENAME /home/hautrhonvj/www/htdocs/index.php
SERVER_ADMIN postmaster@sur-lyand.hautrhone-tourisme.fr
DOCUMENT_ROOT /home/hautrhonvj/www/htdocs
REMOTE_ADDR 35.168.111.191
SERVER_PORT 443
SERVER_ADDR 10.26.40.171
SERVER_NAME sur-lyand.hautrhone-tourisme.fr
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 35.168.111.191
HTTP_ACCEPT_ENCODING br,gzip
HTTP_IF_MODIFIED_SINCE Tue, 15 Oct 2019 04:17:45 CEST
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 35.168.111.191
HTTP_X_PREDICTOR 1
HTTP_HOST sur-lyand.hautrhone-tourisme.fr
ENVIRONMENT production
CFG_CLUSTER cluster026
HTTPS on
SCRIPT_URI https://sur-lyand.hautrhone-tourisme.fr:443/webcam/
SCRIPT_URL /webcam/
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 XiQ862lF0rskdkVhy5V3yAAAACE
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1579433195.3192
REQUEST_TIME 1579433195
argv Array ( )
argc 0
ACF_PRO_KEY b3JkZXJfaWQ9OTAxMDF8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA5LTIxIDA4OjAyOjMx
DB_NAME hautrhone
DB_USER TF2483-ht
DB_PASSWORD tG8Ukt6D42nS
DB_HOST tf2483-035.privatesql:35128
WP_HOME https://www.hautrhone-tourisme.fr
WP_SITEURL https://www.hautrhone-tourisme.fr
APIDAEROOTPATH /home/hautrhonvj/www/modules/synchro-apidae/module/Sitra
ALLOWED_IPS 80.245.23.179,127.0.0.1
SITRAPATH /home/hautrhonvj/www/htdocs/sitra
PHPPATH /usr/local/php7.1/bin/php
PROJETID 3226
GENERATE_POIS_ITERATION 200
ASSETSVERSION 1.8
0. Whoops\Handler\PrettyPageHandler