Whoops! There was an error.
Illuminate \ View \ ViewException (E_ERROR)
Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php) (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)
Previous exceptions
  • Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php) (0)
  • Trying to access array offset on value of type bool (0)
Illuminate\View\ViewException thrown with message "Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php) (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)" Stacktrace: #35 Illuminate\View\ViewException in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php:125 #34 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php:60 #33 Illuminate\View\ViewException in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php:125 #32 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php:60 #31 ErrorException in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php:125 #30 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php:125 #29 App\View\Composers\App:get_section_menus in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php:29 #28 App\View\Composers\App:with in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php:70 #27 Roots\Acorn\View\Composer:merge in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php:59 #26 Roots\Acorn\View\Composer:compose in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php:124 #25 Illuminate\View\Factory:Illuminate\View\Concerns\{closure} in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php:162 #24 Illuminate\View\Factory:Illuminate\View\Concerns\{closure} in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/events/Dispatcher.php:389 #23 Illuminate\Events\Dispatcher:Illuminate\Events\{closure} in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/events/Dispatcher.php:237 #22 Illuminate\Events\Dispatcher:dispatch in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php:177 #21 Illuminate\View\Factory:callComposer in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:120 #20 Illuminate\View\View:renderContents in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:91 #19 Illuminate\View\View:render in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php:59 #18 require in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php:107 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php:108 #16 Illuminate\Filesystem\Filesystem:getRequire in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/CompilerEngine.php:61 #14 Illuminate\View\Engines\CompilerEngine:get in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:139 #13 Illuminate\View\View:getContents in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:122 #12 Illuminate\View\View:renderContents in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:91 #11 Illuminate\View\View:render in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php:3 #10 require in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/index.php:14 #2 include in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-includes/template-loader.php:106 #1 require_once in /home/clients/c3f15b1f2403382708c275242205e735/web/wp-blog-header.php:19 #0 require in /home/clients/c3f15b1f2403382708c275242205e735/web/index.php:17
35
Illuminate\View\ViewException
/app/View/Composers/App.php125
34
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
33
Illuminate\View\ViewException
/app/View/Composers/App.php125
32
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
31
ErrorException
/app/View/Composers/App.php125
30
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/app/View/Composers/App.php125
29
App\View\Composers\App get_section_menus
/app/View/Composers/App.php29
28
App\View\Composers\App with
/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php70
27
Roots\Acorn\View\Composer merge
/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php59
26
Roots\Acorn\View\Composer compose
/vendor/illuminate/view/Concerns/ManagesEvents.php124
25
Illuminate\View\Factory Illuminate\View\Concerns\{closure}
/vendor/illuminate/view/Concerns/ManagesEvents.php162
24
Illuminate\View\Factory Illuminate\View\Concerns\{closure}
/vendor/illuminate/events/Dispatcher.php389
23
Illuminate\Events\Dispatcher Illuminate\Events\{closure}
/vendor/illuminate/events/Dispatcher.php237
22
Illuminate\Events\Dispatcher dispatch
/vendor/illuminate/view/Concerns/ManagesEvents.php177
21
Illuminate\View\Factory callComposer
/vendor/illuminate/view/View.php120
20
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
19
Illuminate\View\View render
/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php59
18
require
/vendor/illuminate/filesystem/Filesystem.php107
17
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
11
Illuminate\View\View render
/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php3
10
require
/vendor/illuminate/filesystem/Filesystem.php107
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
3
Illuminate\View\View render
/index.php14
2
include
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-includes/template-loader.php106
1
require_once
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-blog-header.php19
0
require
/home/clients/c3f15b1f2403382708c275242205e735/web/index.php17
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php
                    global $post;
                    if ($post->post_parent) {
                        $acf_menu = get_field('menu', $post->post_parent);
                    } else {
                        $acf_menu = get_field('menu', get_the_ID());
                    }
                    $menu = wp_get_nav_menu_object($acf_menu);
                    return \App\setMenuObject($menu);
                    break;
 
                // Posts
                case 'post':
                    // la single tax de la revue
                    if (is_tax('ve_numero')) {
                        $menu = wp_get_nav_menu_object('revue');
                        return \App\setMenuObject($menu);
                    }
                    if (is_singular('post')) {
                        $action = get_the_terms(get_the_ID(), 've_action');
                        $menu = wp_get_nav_menu_object($action[0]->slug);
                        return \App\setMenuObject($menu);
                        //var_dump($action);
                        //$action_landing = (object) array('name'=> $action[0]->name, 'description'=> $action[0]->description);
                        //var_dump($action_landing);
                        //return $action_landing;
                    }
                    break;
 
                // Toutes les Single des CPTS
                case 'prejuge':
                    $menu = wp_get_nav_menu_object('prejuges');
                    return \App\setMenuObject($menu);
                    break;
                case 'ecole':
                    $menu = wp_get_nav_menu_object('sensibilisation-dans-les-ecoles');
                    return \App\setMenuObject($menu);
                    break;
                case 'comptoir':
                    $menu = wp_get_nav_menu_object('comptoir');
                    return \App\setMenuObject($menu);
Arguments
  1. "Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php) (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)"
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Arguments
  1. Illuminate\View\ViewException {#10691
      #message: "Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)"
      #code: 0
      #file: "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php"
      #line: 125
      -previous: ErrorException {#10801
        #message: "Trying to access array offset on value of type bool"
        #code: 0
        #file: "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php"
        #line: 125
        #severity: E_NOTICE
      }
      #severity: E_ERROR
    }
    
  2. 3
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php
                    global $post;
                    if ($post->post_parent) {
                        $acf_menu = get_field('menu', $post->post_parent);
                    } else {
                        $acf_menu = get_field('menu', get_the_ID());
                    }
                    $menu = wp_get_nav_menu_object($acf_menu);
                    return \App\setMenuObject($menu);
                    break;
 
                // Posts
                case 'post':
                    // la single tax de la revue
                    if (is_tax('ve_numero')) {
                        $menu = wp_get_nav_menu_object('revue');
                        return \App\setMenuObject($menu);
                    }
                    if (is_singular('post')) {
                        $action = get_the_terms(get_the_ID(), 've_action');
                        $menu = wp_get_nav_menu_object($action[0]->slug);
                        return \App\setMenuObject($menu);
                        //var_dump($action);
                        //$action_landing = (object) array('name'=> $action[0]->name, 'description'=> $action[0]->description);
                        //var_dump($action_landing);
                        //return $action_landing;
                    }
                    break;
 
                // Toutes les Single des CPTS
                case 'prejuge':
                    $menu = wp_get_nav_menu_object('prejuges');
                    return \App\setMenuObject($menu);
                    break;
                case 'ecole':
                    $menu = wp_get_nav_menu_object('sensibilisation-dans-les-ecoles');
                    return \App\setMenuObject($menu);
                    break;
                case 'comptoir':
                    $menu = wp_get_nav_menu_object('comptoir');
                    return \App\setMenuObject($menu);
Arguments
  1. "Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)"
    
Exception message: Trying to access array offset on value of type bool (View: /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php)
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Arguments
  1. ErrorException {#10801
      #message: "Trying to access array offset on value of type bool"
      #code: 0
      #file: "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php"
      #line: 125
      #severity: E_NOTICE
    }
    
  2. 5
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php
                    global $post;
                    if ($post->post_parent) {
                        $acf_menu = get_field('menu', $post->post_parent);
                    } else {
                        $acf_menu = get_field('menu', get_the_ID());
                    }
                    $menu = wp_get_nav_menu_object($acf_menu);
                    return \App\setMenuObject($menu);
                    break;
 
                // Posts
                case 'post':
                    // la single tax de la revue
                    if (is_tax('ve_numero')) {
                        $menu = wp_get_nav_menu_object('revue');
                        return \App\setMenuObject($menu);
                    }
                    if (is_singular('post')) {
                        $action = get_the_terms(get_the_ID(), 've_action');
                        $menu = wp_get_nav_menu_object($action[0]->slug);
                        return \App\setMenuObject($menu);
                        //var_dump($action);
                        //$action_landing = (object) array('name'=> $action[0]->name, 'description'=> $action[0]->description);
                        //var_dump($action_landing);
                        //return $action_landing;
                    }
                    break;
 
                // Toutes les Single des CPTS
                case 'prejuge':
                    $menu = wp_get_nav_menu_object('prejuges');
                    return \App\setMenuObject($menu);
                    break;
                case 'ecole':
                    $menu = wp_get_nav_menu_object('sensibilisation-dans-les-ecoles');
                    return \App\setMenuObject($menu);
                    break;
                case 'comptoir':
                    $menu = wp_get_nav_menu_object('comptoir');
                    return \App\setMenuObject($menu);
Arguments
  1. "Trying to access array offset on value of type bool"
    
Exception message: Trying to access array offset on value of type bool
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php
                    global $post;
                    if ($post->post_parent) {
                        $acf_menu = get_field('menu', $post->post_parent);
                    } else {
                        $acf_menu = get_field('menu', get_the_ID());
                    }
                    $menu = wp_get_nav_menu_object($acf_menu);
                    return \App\setMenuObject($menu);
                    break;
 
                // Posts
                case 'post':
                    // la single tax de la revue
                    if (is_tax('ve_numero')) {
                        $menu = wp_get_nav_menu_object('revue');
                        return \App\setMenuObject($menu);
                    }
                    if (is_singular('post')) {
                        $action = get_the_terms(get_the_ID(), 've_action');
                        $menu = wp_get_nav_menu_object($action[0]->slug);
                        return \App\setMenuObject($menu);
                        //var_dump($action);
                        //$action_landing = (object) array('name'=> $action[0]->name, 'description'=> $action[0]->description);
                        //var_dump($action_landing);
                        //return $action_landing;
                    }
                    break;
 
                // Toutes les Single des CPTS
                case 'prejuge':
                    $menu = wp_get_nav_menu_object('prejuges');
                    return \App\setMenuObject($menu);
                    break;
                case 'ecole':
                    $menu = wp_get_nav_menu_object('sensibilisation-dans-les-ecoles');
                    return \App\setMenuObject($menu);
                    break;
                case 'comptoir':
                    $menu = wp_get_nav_menu_object('comptoir');
                    return \App\setMenuObject($menu);
Arguments
  1. 8
    
  2. "Trying to access array offset on value of type bool"
    
  3. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php"
    
  4. 125
    
  5. array:2 [
      "post_type" => "post"
      "action" => false
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/app/View/Composers/App.php
     * List of views served by this composer.
     *
     * @var array
     */
    protected static $views = [
        '*',
    ];
 
    /**
     * Data to be passed to view before rendering.
     *
     * @return array
     */
    public function with()
    {
        return [
            'siteName' => $this->siteName(),
            'truncateStr' => $this->truncateStr(),
            'getGutP'     => $this->getGutP(),
            'action_landing' =>$this->get_section_menus(),
        ];
    }
 
    /**
     * Returns the site name.
     *
     * @return string
     */
    public function siteName()
    {
        return get_bloginfo('name', 'display');
    }
 
    /**
     * Truncate text after the last word in desired length
     *
     * @param string $str
     * @param int $maxlen (:/ 210 = 200...)
     * @param string $morechar
     * @return string $newstr...
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
     * @param  View $view
     * @return void
     */
    public function compose(View $view)
    {
        $this->view = $view;
        $this->data = new Fluent($view->getData());
 
        $view->with($this->merge());
    }
 
    /**
     * Data to be merged and passed to the view before rendering.
     *
     * @return array
     */
    protected function merge()
    {
        return array_merge(
            $this->with(),
            $this->view->getData(),
            $this->override()
        );
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
     */
    protected function with()
    {
        return [];
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
     */
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
            return static::$views;
        }
 
        $view = array_slice(explode('\\', static::class), 3);
        $view = array_map([Str::class, 'snake'], $view, array_fill(0, count($view), '-'));
        return implode('/', $view);
    }
 
    /**
     * Compose the view before rendering.
     *
     * @param  View $view
     * @return void
     */
    public function compose(View $view)
    {
        $this->view = $view;
        $this->data = new Fluent($view->getData());
 
        $view->with($this->merge());
    }
 
    /**
     * Data to be merged and passed to the view before rendering.
     *
     * @return array
     */
    protected function merge()
    {
        return array_merge(
            $this->with(),
            $this->view->getData(),
            $this->override()
        );
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php
 
        return $callback;
    }
 
    /**
     * Build a class based container callback Closure.
     *
     * @param  string  $class
     * @param  string  $prefix
     * @return \Closure
     */
    protected function buildClassEventCallback($class, $prefix)
    {
        [$class, $method] = $this->parseClassEvent($class, $prefix);
 
        // Once we have the class and method name, we can build the Closure to resolve
        // the instance out of the IoC container and call the method on it with the
        // given arguments that are passed to the Closure as the composer's data.
        return function () use ($class, $method) {
            return $this->container->make($class)->{$method}(...func_get_args());
        };
    }
 
    /**
     * Parse a class based composer name.
     *
     * @param  string  $class
     * @param  string  $prefix
     * @return array
     */
    protected function parseClassEvent($class, $prefix)
    {
        return Str::parseCallback($class, $this->classEventMethodForPrefix($prefix));
    }
 
    /**
     * Determine the class event method based on the given prefix.
     *
     * @param  string  $prefix
     * @return string
Arguments
  1. Illuminate\View\View {#10789}
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php
     * @param  string  $prefix
     * @return string
     */
    protected function classEventMethodForPrefix($prefix)
    {
        return Str::contains($prefix, 'composing') ? 'compose' : 'create';
    }
 
    /**
     * Add a listener to the event dispatcher.
     *
     * @param  string  $name
     * @param  \Closure  $callback
     * @return void
     */
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
Arguments
  1. Illuminate\View\View {#10789}
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/events/Dispatcher.php
    /**
     * Register an event listener with the dispatcher.
     *
     * @param  \Closure|string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function makeListener($listener, $wildcard = false)
    {
        if (is_string($listener)) {
            return $this->createClassListener($listener, $wildcard);
        }
 
        if (is_array($listener) && isset($listener[0]) && is_string($listener[0])) {
            return $this->createClassListener($listener, $wildcard);
        }
 
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return $listener($event, $payload);
            }
 
            return $listener(...array_values($payload));
        };
    }
 
    /**
     * Create a class based listener using the IoC container.
     *
     * @param  string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function createClassListener($listener, $wildcard = false)
    {
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return call_user_func($this->createClassCallable($listener), $event, $payload);
            }
 
Arguments
  1. "composing: partials.card"
    
  2. array:1 [
      0 => Illuminate\View\View {#10789}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/events/Dispatcher.php
     * @param  bool  $halt
     * @return array|null
     */
    public function dispatch($event, $payload = [], $halt = false)
    {
        // When the given "event" is actually an object we will assume it is an event
        // object and use the class as the event name and this event itself as the
        // payload to the handler, which makes object based events quite simple.
        [$event, $payload] = $this->parseEventAndPayload(
            $event, $payload
        );
 
        if ($this->shouldBroadcast($payload)) {
            $this->broadcastEvent($payload[0]);
        }
 
        $responses = [];
 
        foreach ($this->getListeners($event) as $listener) {
            $response = $listener($event, $payload);
 
            // If a response is returned from the listener and event halting is enabled
            // we will just return this response, and not call the rest of the event
            // listeners. Otherwise we will add the response on the response list.
            if ($halt && ! is_null($response)) {
                return $response;
            }
 
            // If a boolean false is returned from a listener, we will stop propagating
            // the event to any further listeners down in the chain, else we keep on
            // looping through the listeners and firing every one in our sequence.
            if ($response === false) {
                break;
            }
 
            $responses[] = $response;
        }
 
        return $halt ? null : $responses;
    }
Arguments
  1. "composing: partials.card"
    
  2. array:1 [
      0 => Illuminate\View\View {#10789}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Concerns/ManagesEvents.php
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callCreator(ViewContract $view)
    {
        $this->events->dispatch('creating: '.$view->name(), [$view]);
    }
}
 
Arguments
  1. "composing: partials.card"
    
  2. array:1 [
      0 => Illuminate\View\View {#10789}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/View.php
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            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());
    }
Arguments
  1. Illuminate\View\View {#10789}
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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 array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php
 
<?php if (get_field('articles_lies')) : ?>
 
<?php global $query; ?><?php $query = new WP_Query([
  'post_type' => 'post',
  'tag__in' => get_field('articles_lies'),
  'posts_per_page' => 4,
  'post__not_in' => [get_the_ID()]
]); ?>
 
<?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?>
 
<div class="my-16 c-block c-block--featured">
  <?php if (get_field('label_related', 'option')) : ?><div class="c-block-title">
  <div class="c-block-title--label"><?= get_field('label_related', 'option'); ?></div>
  </div><?php endif; ?>
      <div class="flex flex-wrap -mx-4">
        <?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?><?php while ($query->have_posts()) : $query->the_post(); ?>
        <div class="w-full px-4 mb-8 md:w-1/2 lg:w-1/3 xl:w-1/4">
          <?php echo $__env->first(['partials.card'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
         </div>
        <?php endwhile; wp_reset_postdata(); endif; ?>
      </div>
  </div>
 
 
<?php wp_reset_postdata(); endif; ?>
 
<?php endif; ?>
 
  </div>
 
</article>
<?php /**PATH /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php"
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php"
    
  2. array:13 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "post" => WP_Post {#10569}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
      "title" => "Le Courrier | Aux sources réelles de la violence"
      "tags" => "<a href="/recherche/?_sft_post_tag=criminalite">criminalité</a><br> <a href="/recherche/?_sft_post_tag=documentation">documentation</a><br> <a href="/recherche/?_sft_post_tag=femmes">femmes</a><br> <a href="/recherche/?_sft_post_tag=prejuge-criminalite">préjugé-criminalité</a><br> <a href="/recherche/?_sft_post_tag=udc">UDC</a><br> <a href="/recherche/?_sft_post_tag=viol">viol</a>"
      "revue" => null
      "type" => array:1 [
        0 => WP_Term {#10694}
      ]
      "action" => array:1 [
        0 => WP_Term {#10693}
      ]
      "auteur" => null
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/d61a05db1ae5760a80354acc8f85139f52e800c8.php"
    
  2. array:13 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "post" => WP_Post {#10569}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
      "title" => "Le Courrier | Aux sources réelles de la violence"
      "tags" => "<a href="/recherche/?_sft_post_tag=criminalite">criminalité</a><br> <a href="/recherche/?_sft_post_tag=documentation">documentation</a><br> <a href="/recherche/?_sft_post_tag=femmes">femmes</a><br> <a href="/recherche/?_sft_post_tag=prejuge-criminalite">préjugé-criminalité</a><br> <a href="/recherche/?_sft_post_tag=udc">UDC</a><br> <a href="/recherche/?_sft_post_tag=viol">viol</a>"
      "revue" => null
      "type" => array:1 [
        0 => WP_Term {#10694}
      ]
      "action" => array:1 [
        0 => WP_Term {#10693}
      ]
      "auteur" => null
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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
     */
    public 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;
    }
 
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/partials/content-single.blade.php"
    
  2. array:13 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "post" => WP_Post {#10569}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
      "title" => "Le Courrier | Aux sources réelles de la violence"
      "tags" => "<a href="/recherche/?_sft_post_tag=criminalite">criminalité</a><br> <a href="/recherche/?_sft_post_tag=documentation">documentation</a><br> <a href="/recherche/?_sft_post_tag=femmes">femmes</a><br> <a href="/recherche/?_sft_post_tag=prejuge-criminalite">préjugé-criminalité</a><br> <a href="/recherche/?_sft_post_tag=udc">UDC</a><br> <a href="/recherche/?_sft_post_tag=viol">viol</a>"
      "revue" => null
      "type" => array:1 [
        0 => WP_Term {#10694}
      ]
      "action" => array:1 [
        0 => WP_Term {#10693}
      ]
      "auteur" => null
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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 array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php
<?php $__env->startSection('content'); ?>
  <?php while(have_posts()): ?> <?php (the_post()); ?>
    <?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  <?php endwhile; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/single.blade.php ENDPATH**/ ?>
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php"
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/storage/framework/views/68a9569ed75b8c66048e064653c9c13f8159a96a.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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
     */
    public 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;
    }
 
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/resources/views/single.blade.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#7755}
      "app" => Roots\Acorn\Application {#7663}
      "siteName" => "asile.ch"
      "truncateStr" => Closure($str, $maxlen = 210, $morechar = '...') {#10679 …4}
      "getGutP" => Closure($postObj = null, $pNum = 1) {#10682 …4}
      "action_landing" => {#10683}
    ]
    
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/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 array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
 
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <?php wp_head(); ?>
</head>
 
<body <?php body_class(); ?>>
  <?php wp_body_open(); ?>
  <?php do_action('get_header'); ?>
  <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
  <?php do_action('get_footer'); ?>
  <?php wp_footer(); ?>
</body>
 
</html>
/home/clients/c3f15b1f2403382708c275242205e735/web/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-content/themes/asi/index.php"
    
/home/clients/c3f15b1f2403382708c275242205e735/web/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 __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-includes/template-loader.php"
    
/home/clients/c3f15b1f2403382708c275242205e735/web/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/clients/c3f15b1f2403382708c275242205e735/web/wp-blog-header.php"
    

Environment & details:

Key Value
share
"tumblr"
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/?share=tumblr"
TEMP
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
TMPDIR
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
TMP
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
ORIG_SCRIPT_NAME
"/.fpm/php5.external"
ORIG_PATH_TRANSLATED
"/home/clients/c3f15b1f2403382708c275242205e735/web/index.php"
ORIG_PATH_INFO
"/index.php"
ORIG_SCRIPT_FILENAME
"/home/clients/c3f15b1f2403382708c275242205e735/.config/apache/asile.ch/.fpm/php5.external"
SCRIPT_NAME
"/index.php"
QUERY_STRING
"share=tumblr"
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_QUERY_STRING
"share=tumblr"
REDIRECT_URL
"/index.php"
REMOTE_PORT
"45586"
SCRIPT_FILENAME
"/home/clients/c3f15b1f2403382708c275242205e735/web/index.php"
SERVER_ADMIN
"webmaster@asile.ch"
CONTEXT_DOCUMENT_ROOT
"/home/clients/c3f15b1f2403382708c275242205e735/.config/apache/asile.ch/.fpm/"
CONTEXT_PREFIX
"/.fpm/"
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/clients/c3f15b1f2403382708c275242205e735/web"
REMOTE_ADDR
"3.236.212.116"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.80"
SERVER_NAME
"asile.ch"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"asile.ch"
HTTP_ACCEPT_ENCODING
"br,gzip"
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/)"
PHP_VERSION
"7.4"
SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
HTTPS
"on"
UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
REDIRECT_STATUS
"200"
REDIRECT_HANDLER
"php5-fcgi"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PHP_VERSION
"7.4"
REDIRECT_SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_PHP_VERSION
"7.4"
REDIRECT_REDIRECT_SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_REDIRECT_SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1632530278.4421
REQUEST_TIME
1632530278
Key Value
TEMP
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
TMPDIR
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
TMP
"/home/clients/c3f15b1f2403382708c275242205e735/tmp"
ORIG_SCRIPT_NAME
"/.fpm/php5.external"
ORIG_PATH_TRANSLATED
"/home/clients/c3f15b1f2403382708c275242205e735/web/index.php"
ORIG_PATH_INFO
"/index.php"
ORIG_SCRIPT_FILENAME
"/home/clients/c3f15b1f2403382708c275242205e735/.config/apache/asile.ch/.fpm/php5.external"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/?share=tumblr"
QUERY_STRING
"share=tumblr"
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_QUERY_STRING
"share=tumblr"
REDIRECT_URL
"/index.php"
REMOTE_PORT
"45586"
SCRIPT_FILENAME
"/home/clients/c3f15b1f2403382708c275242205e735/web/index.php"
SERVER_ADMIN
"webmaster@asile.ch"
CONTEXT_DOCUMENT_ROOT
"/home/clients/c3f15b1f2403382708c275242205e735/.config/apache/asile.ch/.fpm/"
CONTEXT_PREFIX
"/.fpm/"
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/clients/c3f15b1f2403382708c275242205e735/web"
REMOTE_ADDR
"3.236.212.116"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.80"
SERVER_NAME
"asile.ch"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"asile.ch"
HTTP_ACCEPT_ENCODING
"br,gzip"
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/)"
PHP_VERSION
"7.4"
SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
HTTPS
"on"
UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
REDIRECT_STATUS
"200"
REDIRECT_HANDLER
"php5-fcgi"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PHP_VERSION
"7.4"
REDIRECT_SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_PHP_VERSION
"7.4"
REDIRECT_REDIRECT_SCRIPT_URI
"https://asile.ch/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_REDIRECT_SCRIPT_URL
"/2019/09/02/le-courrier-aux-sources-reelles-de-la-violence/"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_UNIQUE_ID
"YU5vZmn3sdQH2@ty11NgbgAAAM8"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1632530278.4421
REQUEST_TIME
1632530278
0. Whoops\Handler\PrettyPageHandler