Illuminate\View\ViewException {#2859 #severity: E_ERROR }
<div class="pointer-list"> <?php foreach ($interactive_pointers_list as $key => $pointer): $iframe = $pointer['pointer_popup_video_url']; preg_match('/src="(.+?)"/', $iframe, $matches); $videoUrl = $matches[1]; $position_x = wp_is_mobile() ? $pointer['pointer_x_mobile'] : $pointer['pointer_x_desktop']; // 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()); } // 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; } * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); } /** * Get the data bound to the view instance. * // 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(); * @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<?phpecho view(app('sage.view'), app('sage.data'))->render(); * * @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() ); } // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php';}/** * WordPress View Bootstrapper */define('WP_USE_THEMES', true);require __DIR__ . '/wp/wp-blog-header.php'; <div class="pointer-list"> <?php foreach ($interactive_pointers_list as $key => $pointer): $iframe = $pointer['pointer_popup_video_url']; preg_match('/src="(.+?)"/', $iframe, $matches); $videoUrl = $matches[1]; $position_x = wp_is_mobile() ? $pointer['pointer_x_mobile'] : $pointer['pointer_x_desktop']; // 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()); } // 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; } * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); } /** * Get the data bound to the view instance. * // 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(); * @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 <div class="subito-logo d-lg-none"> <img src="<?= \Roots\asset('/images/subito-logo-corporate-filled.png'); ?>" alt="Subito" class="d-block"> </div> <?php if(get_field('interactive_box_enable')): ?> <?php echo $__env->make('blocks/banners/interactive-image-box', get_field('interactive_box'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> <?php $bannerList = get_field('banners_list'); if ($bannerList): ?> <div class="banners-list"> $__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}."); } return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; })(); } throw new FileNotFoundException("File does not exist at path {$path}."); } // 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()); // 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; } * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); } /** * Get the data bound to the view instance. * // 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(); * @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<?phpecho view(app('sage.view'), app('sage.data'))->render(); * * @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() ); } // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php';}/** * WordPress View Bootstrapper */define('WP_USE_THEMES', true);require __DIR__ . '/wp/wp-blog-header.php'; <div class="pointer-list"> <?php foreach ($interactive_pointers_list as $key => $pointer): $iframe = $pointer['pointer_popup_video_url']; preg_match('/src="(.+?)"/', $iframe, $matches); $videoUrl = $matches[1]; $position_x = wp_is_mobile() ? $pointer['pointer_x_mobile'] : $pointer['pointer_x_desktop']; * @throws \ErrorException */ public function handleError($level, $message, $file = '', $line = 0, $context = []) { try { parent::handleError($level, $message, $file, $line, $context); } catch (Throwable $e) { if (! apply_filters('acorn/throw_error_exception', true, $e)) { return false; } <div class="pointer-list"> <?php foreach ($interactive_pointers_list as $key => $pointer): $iframe = $pointer['pointer_popup_video_url']; preg_match('/src="(.+?)"/', $iframe, $matches); $videoUrl = $matches[1]; $position_x = wp_is_mobile() ? $pointer['pointer_x_mobile'] : $pointer['pointer_x_desktop']; $__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}."); } return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; })(); } throw new FileNotFoundException("File does not exist at path {$path}."); } // 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()); // 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; } * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); } /** * Get the data bound to the view instance. * // 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(); * @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 <div class="subito-logo d-lg-none"> <img src="<?= \Roots\asset('/images/subito-logo-corporate-filled.png'); ?>" alt="Subito" class="d-block"> </div> <?php if(get_field('interactive_box_enable')): ?> <?php echo $__env->make('blocks/banners/interactive-image-box', get_field('interactive_box'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> <?php $bannerList = get_field('banners_list'); if ($bannerList): ?> <div class="banners-list"> $__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}."); } return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; })(); } throw new FileNotFoundException("File does not exist at path {$path}."); } // 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()); // 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; } * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); } /** * Get the data bound to the view instance. * // 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(); * @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<?phpecho view(app('sage.view'), app('sage.data'))->render(); * * @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() ); } // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php';}/** * WordPress View Bootstrapper */define('WP_USE_THEMES', true);require __DIR__ . '/wp/wp-blog-header.php';|
[3/3]
ViewException
|
|---|
Illuminate\View\ViewException:
Undefined array key 1 (View: /srv/www/new_info.subito.it/web/app/themes/subito/resources/views/blocks/banners/interactive-image-box.blade.php) (View: /srv/www/new_info.subito.it/web/app/themes/subito/resources/views/blocks/banners/interactive-image-box.blade.php)
at /srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/fa66528ce5a4de135a6bc8d0634b168d.php:20
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:207)
at Illuminate\View\View->getContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:190)
at Illuminate\View\View->renderContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:159)
at Illuminate\View\View->render()
(/srv/www/new_info.subito.it/web/app/themes/subito/index.php:2)
at include('/srv/www/new_info.subito.it/web/app/themes/subito/index.php')
(/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php:106)
at require_once('/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php')
(/srv/www/new_info.subito.it/web/wp/wp-blog-header.php:19)
at require('/srv/www/new_info.subito.it/web/wp/wp-blog-header.php')
(/srv/www/new_info.subito.it/web/index.php:7)
|
|
[2/3]
ViewException
|
|---|
Illuminate\View\ViewException:
Undefined array key 1 (View: /srv/www/new_info.subito.it/web/app/themes/subito/resources/views/blocks/banners/interactive-image-box.blade.php)
at /srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/fa66528ce5a4de135a6bc8d0634b168d.php:20
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:207)
at Illuminate\View\View->getContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:190)
at Illuminate\View\View->renderContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:159)
at Illuminate\View\View->render()
(/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/21890e8c31e081e926ccaecd9d36d990.php:9)
at require('/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/21890e8c31e081e926ccaecd9d36d990.php')
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:123)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem->getRequire()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:207)
at Illuminate\View\View->getContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:190)
at Illuminate\View\View->renderContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:159)
at Illuminate\View\View->render()
(/srv/www/new_info.subito.it/web/app/themes/subito/index.php:2)
at include('/srv/www/new_info.subito.it/web/app/themes/subito/index.php')
(/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php:106)
at require_once('/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php')
(/srv/www/new_info.subito.it/web/wp/wp-blog-header.php:19)
at require('/srv/www/new_info.subito.it/web/wp/wp-blog-header.php')
(/srv/www/new_info.subito.it/web/index.php:7)
|
|
[1/3]
ErrorException
|
|---|
ErrorException:
Undefined array key 1
at /srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/fa66528ce5a4de135a6bc8d0634b168d.php:20
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
(/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/fa66528ce5a4de135a6bc8d0634b168d.php:20)
at require('/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/fa66528ce5a4de135a6bc8d0634b168d.php')
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:123)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem->getRequire()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:207)
at Illuminate\View\View->getContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:190)
at Illuminate\View\View->renderContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:159)
at Illuminate\View\View->render()
(/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/21890e8c31e081e926ccaecd9d36d990.php:9)
at require('/srv/www/new_info.subito.it/web/app/themes/subito/storage/framework/views/21890e8c31e081e926ccaecd9d36d990.php')
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:123)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem->getRequire()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:207)
at Illuminate\View\View->getContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:190)
at Illuminate\View\View->renderContents()
(/srv/www/new_info.subito.it/web/app/themes/subito/vendor/illuminate/view/View.php:159)
at Illuminate\View\View->render()
(/srv/www/new_info.subito.it/web/app/themes/subito/index.php:2)
at include('/srv/www/new_info.subito.it/web/app/themes/subito/index.php')
(/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php:106)
at require_once('/srv/www/new_info.subito.it/web/wp/wp-includes/template-loader.php')
(/srv/www/new_info.subito.it/web/wp/wp-blog-header.php:19)
at require('/srv/www/new_info.subito.it/web/wp/wp-blog-header.php')
(/srv/www/new_info.subito.it/web/index.php:7)
|