Illuminate \ View \ ViewException (E_ERROR)
Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php) (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php)
Previous exceptions
  • Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php) (0)
  • Undefined array key 0 (2)
Illuminate\View\ViewException thrown with message "Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php) (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php)" Stacktrace: #28 Illuminate\View\ViewException in /home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php:73 #27 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/PhpEngine.php:60 #26 Illuminate\View\ViewException in /home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php:73 #25 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/PhpEngine.php:60 #24 Whoops\Exception\ErrorException in /home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php:73 #23 Whoops\Run:handleError in /home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php:73 #22 require in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/filesystem/Filesystem.php:123 #21 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/filesystem/Filesystem.php:124 #20 Illuminate\Filesystem\Filesystem:getRequire in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/PhpEngine.php:58 #19 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/CompilerEngine.php:72 #18 Illuminate\View\Engines\CompilerEngine:get in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:207 #17 Illuminate\View\View:getContents in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:190 #16 Illuminate\View\View:renderContents in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:159 #15 Illuminate\View\View:render in /home/forge/lnc.ayctor.dev/wp-content/viewscache/57e36cb1e267f01514926fb2ebac04be.php:77 #14 require in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/filesystem/Filesystem.php:123 #13 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/filesystem/Filesystem.php:124 #12 Illuminate\Filesystem\Filesystem:getRequire in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/PhpEngine.php:58 #11 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/CompilerEngine.php:72 #10 Illuminate\View\Engines\CompilerEngine:get in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:207 #9 Illuminate\View\View:getContents in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:190 #8 Illuminate\View\View:renderContents in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php:159 #7 Illuminate\View\View:render in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/ayctor/wp-core/src/WpCore/Bootstrap/Blade.php:107 #6 WpCore\Bootstrap\Blade:render in /home/forge/deploy/lnc.ayctor.dev/shared/vendor/ayctor/wp-core/src/WpCore/Controllers/Controller.php:20 #5 WpCore\Controllers\Controller:view in /home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/Controller.php:20 #4 Ayctor\Controllers\Controller:view in /home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/PageController.php:31 #3 Ayctor\Controllers\PageController:home in /home/forge/deploy/lnc.ayctor.dev/releases/442/front-page.php:3 #2 include in /home/forge/lnc.ayctor.dev/wp-includes/template-loader.php:106 #1 require_once in /home/forge/lnc.ayctor.dev/wp-blog-header.php:28 #0 require in /home/forge/lnc.ayctor.dev/index.php:17
Stack frames (29)
28
Illuminate\View\ViewException
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php73
27
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
26
Illuminate\View\ViewException
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php73
25
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
24
Whoops\Exception\ErrorException
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php73
23
Whoops\Run handleError
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php73
22
require
/vendor/illuminate/filesystem/Filesystem.php123
21
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php124
20
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
19
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php72
18
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php207
17
Illuminate\View\View getContents
/vendor/illuminate/view/View.php190
16
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php159
15
Illuminate\View\View render
/home/forge/lnc.ayctor.dev/wp-content/viewscache/57e36cb1e267f01514926fb2ebac04be.php77
14
require
/vendor/illuminate/filesystem/Filesystem.php123
13
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php124
12
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
11
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php72
10
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php207
9
Illuminate\View\View getContents
/vendor/illuminate/view/View.php190
8
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php159
7
Illuminate\View\View render
/vendor/ayctor/wp-core/src/WpCore/Bootstrap/Blade.php107
6
WpCore\Bootstrap\Blade render
/vendor/ayctor/wp-core/src/WpCore/Controllers/Controller.php20
5
WpCore\Controllers\Controller view
/home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/Controller.php20
4
Ayctor\Controllers\Controller view
/home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/PageController.php31
3
Ayctor\Controllers\PageController home
/home/forge/deploy/lnc.ayctor.dev/releases/442/front-page.php3
2
include
/home/forge/lnc.ayctor.dev/wp-includes/template-loader.php106
1
require_once
/home/forge/lnc.ayctor.dev/wp-blog-header.php28
0
require
/home/forge/lnc.ayctor.dev/index.php17
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php
    Découvrez toutes nos résidences
<?php echo $__env->renderComponent(); ?>
 
<div class="flex flex-col items-center mt-8">
    <div class="w-full">
        <ul
            class="homepageResidencesCategories flex max-md:flex-wrap max-md:gap-3 md:justify-between border-b md:border-red md:border-opacity-50 text-red uppercase">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="w-full max-md:text-sm text-center pb-2 cursor-pointer max-md:bg-white max-md:p-2 max-md:rounded-sm max-md:w-fit max-md:shadow-md <?php echo e($loop->index === 0 ? 'active' : ''); ?>"
                    data-residence-category=<?php echo e($category['name']); ?>>
                    <span><?php echo e($category['label']); ?></span>
                    <span>(<?php echo e($category_counts[$category['name']]); ?>)</span>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
 
    <?php $__currentLoopData = $offersByStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status => $offers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            $currentCategory = $offers[0]['status']['value'];
        ?>
 
        <div class="splide categoriesOffersSlider w-full <?php echo e($loop->index > 0 ? 'hidden' : ''); ?>"
            data-program-status="<?php echo e($currentCategory); ?>">
            <div class="max-md:hidden splide__arrows">
                <button class="splide__arrow splide__arrow--prev hp_cat--prev">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
                <button class="splide__arrow splide__arrow--next hp_cat--next">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
            </div>
 
            <div class="splide__track w-full h-fit lg:h-600 overflow-y-hidden">
Arguments
  1. "Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php) (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php)"
    
/home/forge/deploy/lnc.ayctor.dev/shared/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();
        }
 
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php
    Découvrez toutes nos résidences
<?php echo $__env->renderComponent(); ?>
 
<div class="flex flex-col items-center mt-8">
    <div class="w-full">
        <ul
            class="homepageResidencesCategories flex max-md:flex-wrap max-md:gap-3 md:justify-between border-b md:border-red md:border-opacity-50 text-red uppercase">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="w-full max-md:text-sm text-center pb-2 cursor-pointer max-md:bg-white max-md:p-2 max-md:rounded-sm max-md:w-fit max-md:shadow-md <?php echo e($loop->index === 0 ? 'active' : ''); ?>"
                    data-residence-category=<?php echo e($category['name']); ?>>
                    <span><?php echo e($category['label']); ?></span>
                    <span>(<?php echo e($category_counts[$category['name']]); ?>)</span>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
 
    <?php $__currentLoopData = $offersByStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status => $offers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            $currentCategory = $offers[0]['status']['value'];
        ?>
 
        <div class="splide categoriesOffersSlider w-full <?php echo e($loop->index > 0 ? 'hidden' : ''); ?>"
            data-program-status="<?php echo e($currentCategory); ?>">
            <div class="max-md:hidden splide__arrows">
                <button class="splide__arrow splide__arrow--prev hp_cat--prev">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
                <button class="splide__arrow splide__arrow--next hp_cat--next">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
            </div>
 
            <div class="splide__track w-full h-fit lg:h-600 overflow-y-hidden">
Arguments
  1. "Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php)"
    
Exception message: Undefined array key 0 (View: /home/forge/deploy/lnc.ayctor.dev/releases/442/resources/views/components/homepage/residences-categories.blade.php)
/home/forge/deploy/lnc.ayctor.dev/shared/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();
        }
 
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php
    Découvrez toutes nos résidences
<?php echo $__env->renderComponent(); ?>
 
<div class="flex flex-col items-center mt-8">
    <div class="w-full">
        <ul
            class="homepageResidencesCategories flex max-md:flex-wrap max-md:gap-3 md:justify-between border-b md:border-red md:border-opacity-50 text-red uppercase">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="w-full max-md:text-sm text-center pb-2 cursor-pointer max-md:bg-white max-md:p-2 max-md:rounded-sm max-md:w-fit max-md:shadow-md <?php echo e($loop->index === 0 ? 'active' : ''); ?>"
                    data-residence-category=<?php echo e($category['name']); ?>>
                    <span><?php echo e($category['label']); ?></span>
                    <span>(<?php echo e($category_counts[$category['name']]); ?>)</span>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
 
    <?php $__currentLoopData = $offersByStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status => $offers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            $currentCategory = $offers[0]['status']['value'];
        ?>
 
        <div class="splide categoriesOffersSlider w-full <?php echo e($loop->index > 0 ? 'hidden' : ''); ?>"
            data-program-status="<?php echo e($currentCategory); ?>">
            <div class="max-md:hidden splide__arrows">
                <button class="splide__arrow splide__arrow--prev hp_cat--prev">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
                <button class="splide__arrow splide__arrow--next hp_cat--next">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
            </div>
 
            <div class="splide__track w-full h-fit lg:h-600 overflow-y-hidden">
Arguments
  1. "Undefined array key 0"
    
Exception message: Undefined array key 0
/home/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php
    Découvrez toutes nos résidences
<?php echo $__env->renderComponent(); ?>
 
<div class="flex flex-col items-center mt-8">
    <div class="w-full">
        <ul
            class="homepageResidencesCategories flex max-md:flex-wrap max-md:gap-3 md:justify-between border-b md:border-red md:border-opacity-50 text-red uppercase">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="w-full max-md:text-sm text-center pb-2 cursor-pointer max-md:bg-white max-md:p-2 max-md:rounded-sm max-md:w-fit max-md:shadow-md <?php echo e($loop->index === 0 ? 'active' : ''); ?>"
                    data-residence-category=<?php echo e($category['name']); ?>>
                    <span><?php echo e($category['label']); ?></span>
                    <span>(<?php echo e($category_counts[$category['name']]); ?>)</span>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
 
    <?php $__currentLoopData = $offersByStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status => $offers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            $currentCategory = $offers[0]['status']['value'];
        ?>
 
        <div class="splide categoriesOffersSlider w-full <?php echo e($loop->index > 0 ? 'hidden' : ''); ?>"
            data-program-status="<?php echo e($currentCategory); ?>">
            <div class="max-md:hidden splide__arrows">
                <button class="splide__arrow splide__arrow--prev hp_cat--prev">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
                <button class="splide__arrow splide__arrow--next hp_cat--next">
                    <svg width="25" height="48" viewBox="0 0 25 48" fill="none"
                        xmlns="http://www.w3.org/2000/svg">
                        <path d="M1 1L24 24L1 47" stroke="white" fill="none" stroke-width="5px" />
                    </svg>
                </button>
            </div>
 
            <div class="splide__track w-full h-fit lg:h-600 overflow-y-hidden">
/home/forge/deploy/lnc.ayctor.dev/shared/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/forge/lnc.ayctor.dev/wp-content/viewscache/ea623feff668b79e905965f357b30330.php"
    
/home/forge/deploy/lnc.ayctor.dev/shared/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/forge/deploy/lnc.ayctor.dev/shared/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();
/home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/CompilerEngine.php
     * @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
 
        try {
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        } catch (ViewException $e) {
            if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
                throw $e;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/home/forge/deploy/lnc.ayctor.dev/shared/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 section gets 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;
    }
 
/home/forge/deploy/lnc.ayctor.dev/shared/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 number 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 section gets 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/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return collect($this->render(fn () => $this->factory->getFragments()))->implode('');
    }
 
    /**
     * 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) ? $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/forge/lnc.ayctor.dev/wp-content/viewscache/57e36cb1e267f01514926fb2ebac04be.php
            <?php $__env->startComponent('components.headings.text', [
                'classe' => 'text-lg',
            ]); ?>
                <?php echo e(get_field('offers_block_desc', $frontpageId)); ?>
 
            <?php echo $__env->renderComponent(); ?>
 
 
            <?php $__env->startComponent('components.container', ['classe' => 'md:px-18 pb-8 lg:pb-12 mt-8 gsap-reveal']); ?>
                <?php echo $__env->make('components.homepage.offers-slider', [
                    'offers' => $offers,
                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->renderComponent(); ?>
        </section>
    <?php endif; ?>
 
    
    <section class="bg-beige py-6 lg:p-16">
        <?php $__env->startComponent('components.container', ['classe' => 'pl-6 md:px-18 gsap-reveal']); ?>
            <?php echo $__env->make('components.homepage.residences-categories', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->renderComponent(); ?>
    </section>
 
    <section class="py-6 lg:p-16">
        <?php $__env->startComponent('components.container', ['classe' => 'px-6 md:px-18 gsap-reveal']); ?>
            <?php echo $__env->make('components.program.card-project', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->renderComponent(); ?>
    </section>
 
    <section class="w-full py-6 lg:p-16 bg-beige">
        <?php $__env->startComponent('components.container', ['classe' => 'px-6 md:px-18 gsap-reveal']); ?>
            <?php echo $__env->make('components.homepage.residences-envies', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->renderComponent(); ?>
    </section>
 
    <section class="py-6 lg:p-16">
        <?php $__env->startComponent('components.container', ['classe' => 'px-6 md:px-18 gsap-reveal']); ?>
            <?php echo $__env->make('components.accompagnement-lnc', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->renderComponent(); ?>
    </section>
/home/forge/deploy/lnc.ayctor.dev/shared/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/forge/lnc.ayctor.dev/wp-content/viewscache/57e36cb1e267f01514926fb2ebac04be.php"
    
/home/forge/deploy/lnc.ayctor.dev/shared/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/forge/deploy/lnc.ayctor.dev/shared/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();
/home/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/Engines/CompilerEngine.php
     * @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
 
        try {
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        } catch (ViewException $e) {
            if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
                throw $e;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/home/forge/deploy/lnc.ayctor.dev/shared/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 section gets 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;
    }
 
/home/forge/deploy/lnc.ayctor.dev/shared/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 number 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 section gets 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/forge/deploy/lnc.ayctor.dev/shared/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return collect($this->render(fn () => $this->factory->getFragments()))->implode('');
    }
 
    /**
     * 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) ? $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/forge/deploy/lnc.ayctor.dev/shared/vendor/ayctor/wp-core/src/WpCore/Bootstrap/Blade.php
        $this->viewResolver->register('blade', function () {
            return new CompilerEngine($this->bladeCompiler, $this->filesystem);
        });
        $this->viewResolver->register('php', function () {
            return new PhpEngine;
        });
        $this->viewFinder = new FileViewFinder($this->filesystem, $this->templates);
        $this->viewFactory = new Factory($this->viewResolver, $this->viewFinder, $this->eventDispatcher);
    }
 
    /**
     * Render Blade template for Front
     * @param  string $view The view to render
     * @param  array  $with Data to pass to the view
     * @return string       Html rendered
     */
    public static function render($view, $with = [])
    {
        $instance = new static;
        return $instance->viewFactory->make($view, $with)->render();
    }
 
    /**
     * Create directory if not exists
     * @param  string $dir abs path of directory
     * @return bool If folder is created
     */
    private function createDirectory($dir)
    {
        if (!is_dir($dir)) {
            return mkdir($dir);
        }
        return true;
    }
 
    /**
     * Custom directives
     * @return string Html of the directive
     */
    public function extend()
/home/forge/deploy/lnc.ayctor.dev/shared/vendor/ayctor/wp-core/src/WpCore/Controllers/Controller.php
<?php
 
namespace WpCore\Controllers;
 
use WpCore\Bootstrap\Blade;
 
/**
 * Class Controller, basic controller
 */
class Controller
{
    /**
     * Helper function to tell which view to render
     * @param  string $view The view to render
     * @param  array  $with Data to pass to the view
     * @return string       Html rendered
     */
    protected function view($view, $with = [])
    {
        echo Blade::render($view, $with);
    }
}
 
/home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/Controller.php
<?php
 
namespace Ayctor\Controllers;
 
use Ayctor\Models\Department;
use WpCore\Controllers\Controller as BaseController;
 
class Controller extends BaseController
{
    /**
     * Return the requested view with the right params.
     *
     * @param string $route     The view name
     * @param array  $variables The array of variables
     *
     * @return string
     */
    protected function view($route, $variables = [])
    {
        return parent::view($route, array_merge($this->getParams(), $variables));
    }
 
    /**
     * Get Pages params.
     *
     * @return array Params to pass to the view
     */
    private function getParams(): array
    {
        if (false === ($params = get_transient('pages_params'))) {
            $params = [];
            $params['frontpageId'] = get_option('page_on_front');
            $params['banner'] = get_field('banner', $params['frontpageId']);
            $params['logo'] = get_field('logo', $params['frontpageId']);
            $params['slogan'] = get_field('slogan', $params['frontpageId']);
            $params['phone'] = get_field('phone', $params['frontpageId']);
            $params['shortcutsColors'] = [
                'border' => get_field('shortcuts_border_color', $params['frontpageId']),
                'background' => get_field('shortcuts_background_color', $params['frontpageId']),
                'text' => get_field('shortcuts_text_color', $params['frontpageId']),
/home/forge/deploy/lnc.ayctor.dev/releases/442/app/Controllers/PageController.php
use Ayctor\Models\Testimonial;
use Ayctor\Models\Department;;
use Ayctor\Search\SearchData;
use Symfony\Component\HttpFoundation\Response;
 
/**
 * Control the different pages of the app.
 *
 * @author  Ayctor <devs@ayctor.com>
 */
class PageController extends Controller
{
    /**
     * View for index.php.
     *
     * @return string Html for index page
     */
    public function home()
    {
        return $this->view('pages.home', [
            //TODO : envoyer les programmes triés par status
            'programsByStatus' => Program::formatHomeOfferSlider(),
            'display_national_offer' => get_field('show_national_offer_banner'),
            'offers' => Offer::getForHome(get_the_ID()),
            'heroslider' => $this->herosliderFormatter(get_field('slider_content', get_the_ID())),
            'faq' =>  Faq::getFaq(),
            'testimonials' => Testimonial::all(),
 
        ]);
    }
 
    /**
    * Mix of offer and program from wp home page.
    *
    * @param mixed $heroslider
    * @return array
    */
    public function herosliderFormatter($heroslider): array
    {
        $formatted_heroslider = [];
/home/forge/deploy/lnc.ayctor.dev/releases/442/front-page.php
<?php
 
(new Ayctor\Controllers\PageController)->home();
/home/forge/lnc.ayctor.dev/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/forge/deploy/lnc.ayctor.dev/releases/442/front-page.php"
    
/home/forge/lnc.ayctor.dev/wp-blog-header.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/forge/lnc.ayctor.dev/wp-includes/template-loader.php"
    
/home/forge/lnc.ayctor.dev/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/forge/lnc.ayctor.dev/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.26.2"
REQUEST_URI
"/"
USER
"forge"
HOME
"/home/forge"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"lnc.ayctor.dev"
REDIRECT_STATUS
"200"
HTTPS
"on"
SERVER_NAME
"lnc.ayctor.dev"
SERVER_PORT
"443"
SERVER_ADDR
"51.210.182.69"
REMOTE_PORT
"60248"
REMOTE_ADDR
"3.145.196.150"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/home/forge/lnc.ayctor.dev"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"/home/forge/lnc.ayctor.dev/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1732459343.2457
REQUEST_TIME
1732459343
WP_ENV
"test"
APP_URL
"https://lnc.ayctor.dev"
MAIL_HOST
"smtp.tipimail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"72dc96d3d897611c5131b91282e4a3fc"
MAIL_PASSWORD
"b9fcce5a3e0a999b2217a7ed3cc4be1e"
MAIL_FROM_ADDRESS
"lnc@ayctor.com"
MAIL_FROM_NAME
"Les Nouveaux Constructeurs"
VITE_APP_URL
"https://lnc.ayctor.dev"
G5_API_KEY
"Hei3oohaThooc5ap"
MAP_API_KEY
"AIzaSyCDyycQYrSD1-C2uphk98UMrkXKDlYvaf4"
BIEN_ICI_API_KEY
"L33DQDSVAR7ML95SSXFZPSPWP6QQU3CH5FRPB69M"
PLACE_API_KEY
"AIzaSyAvGNyP67H451BUh2gbZxdci2HanU9cXqI"
IMMODVISOR_KEY
"MIIY6H-4ACO3-CT2U-1DLLK-SRPU"
ELASTIC_USER
""
ELASTIC_PASSWORD
""
ELASTIC_HOST
""
ELASTIC_PORT
""
ELASTIC_SSL
""
SENTRY_DSN
"https://b5bacdfe7f6e4525a98e74a2bc323b40@o405208.ingest.sentry.io/5461742"
Key Value
WP_ENV
"test"
APP_URL
"https://lnc.ayctor.dev"
MAIL_HOST
"smtp.tipimail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"72dc96d3d897611c5131b91282e4a3fc"
MAIL_PASSWORD
"b9fcce5a3e0a999b2217a7ed3cc4be1e"
MAIL_FROM_ADDRESS
"lnc@ayctor.com"
MAIL_FROM_NAME
"Les Nouveaux Constructeurs"
VITE_APP_URL
"https://lnc.ayctor.dev"
G5_API_KEY
"Hei3oohaThooc5ap"
MAP_API_KEY
"AIzaSyCDyycQYrSD1-C2uphk98UMrkXKDlYvaf4"
BIEN_ICI_API_KEY
"L33DQDSVAR7ML95SSXFZPSPWP6QQU3CH5FRPB69M"
PLACE_API_KEY
"AIzaSyAvGNyP67H451BUh2gbZxdci2HanU9cXqI"
IMMODVISOR_KEY
"MIIY6H-4ACO3-CT2U-1DLLK-SRPU"
ELASTIC_USER
""
ELASTIC_PASSWORD
""
ELASTIC_HOST
""
ELASTIC_PORT
""
ELASTIC_SSL
""
SENTRY_DSN
"https://b5bacdfe7f6e4525a98e74a2bc323b40@o405208.ingest.sentry.io/5461742"
0. Whoops\Handler\PrettyPageHandler