<?php endif; ?> <?php endif; ?> </div> <?php elseif($slide['slide_type'] == 'image_with_text'): ?> <div class="swiper-slide img-text-slide"> <?php if($slide['image']['url']): ?> <?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?><?php $component = $__env->getContainer()->make(App\View\Components\Image::class, ['figclass' => 'swiper-img-container h-full','url' => ''.$slide['image']['url'].'']); ?><?php $component->withName('image'); ?><?php if ($component->shouldRender()): ?><?php $__env->startComponent($component->resolveView(), $component->data()); ?> // 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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<body <?php body_class( ); ?>> <?php wp_body_open(); ?> <?php do_action('get_header'); ?> <div id="app"> <?php echo view(app('sage.view'), app('sage.data'))->render(); ?> </div> <?php do_action('get_footer'); ?> <?php wp_footer(); ?></body> * * @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';<?php endif; ?> <?php endif; ?> </div> <?php elseif($slide['slide_type'] == 'image_with_text'): ?> <div class="swiper-slide img-text-slide"> <?php if($slide['image']['url']): ?> <?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?><?php $component = $__env->getContainer()->make(App\View\Components\Image::class, ['figclass' => 'swiper-img-container h-full','url' => ''.$slide['image']['url'].'']); ?><?php $component->withName('image'); ?><?php if ($component->shouldRender()): ?><?php $__env->startComponent($component->resolveView(), $component->data()); ?> // 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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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 * * @throws \Throwable */ public function __toString() { return $this->render(); }} $view = ltrim($directory, 'views/') . '/' . $slug; if (isSage10()) { if (\Roots\view()->exists($view)) { // Use Sage's view() function to echo the block and populate it with data echo \Roots\view($view, $vars); } } else { echo \App\template(locate_template("${directory}/${slug}"), ['block' => $block]); } } // Setup postdata allowing get_field() to work. acf_setup_meta( $block['data'], $block['id'], true ); // Call render_callback. if ( is_callable( $block['render_callback'] ) ) { call_user_func( $block['render_callback'], $block, $content, $is_preview, $post_id, $wp_block, $context ); // Or include template. } elseif ( $block['render_template'] ) { do_action( 'acf_block_render_template', $block, $content, $is_preview, $post_id, $wp_block, $context ); } } else { echo acf_get_empty_block_form_html( $attributes['name'] ); //phpcs:ignore -- escaped in function. } } else { // Capture block render output. acf_render_block( $attributes, $content, $is_preview, $post_id, $wp_block, $context ); if ( $is_preview && ! $is_ajax_render ) { /** * If we're in preloaded preview, we need to get the validation state for a preview too. * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here. if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) { $attributes['name'] = $wp_block->name; } // Return rendered block HTML. return acf_rendered_block( $attributes, $content, $is_preview, $post_id, $wp_block );}/** * Returns the rendered block HTML. * $global_post = $post; $parent = WP_Block_Supports::$block_to_render; WP_Block_Supports::$block_to_render = $this->parsed_block; $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this ); WP_Block_Supports::$block_to_render = $parent; $post = $global_post; } */ $context = apply_filters( 'render_block_context', $context, $parsed_block, $parent_block ); $block = new WP_Block( $parsed_block, $context ); return $block->render();}/** * Parses blocks out of a content string. *function do_blocks( $content ) { $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { $output .= render_block( $block ); } // If there are blocks in this content, we shouldn't run wpautop() on it later. $priority = has_filter( 'the_content', 'wpautop' ); if ( false !== $priority && doing_filter( 'the_content' ) && has_blocks( $content ) ) { // Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) ); } // Pass the value to WP_Hook. array_unshift( $args, $value ); $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args ); array_pop( $wp_current_filter ); return $filtered;} * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content;}/**<?php $__env->startSection('content'); ?> <?php the_content() ?><?php $__env->stopSection(); ?><?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/stage/web/themes/sage-murexin/resources/views/front-page.blade.php ENDPATH**/ ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<body <?php body_class( ); ?>> <?php wp_body_open(); ?> <?php do_action('get_header'); ?> <div id="app"> <?php echo view(app('sage.view'), app('sage.data'))->render(); ?> </div> <?php do_action('get_footer'); ?> <?php wp_footer(); ?></body> * * @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';<?php endif; ?> <?php endif; ?> </div> <?php elseif($slide['slide_type'] == 'image_with_text'): ?> <div class="swiper-slide img-text-slide"> <?php if($slide['image']['url']): ?> <?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?><?php $component = $__env->getContainer()->make(App\View\Components\Image::class, ['figclass' => 'swiper-img-container h-full','url' => ''.$slide['image']['url'].'']); ?><?php $component->withName('image'); ?><?php if ($component->shouldRender()): ?><?php $__env->startComponent($component->resolveView(), $component->data()); ?> // 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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<?php echo $__env->make('sections.section-hero-slider', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/stage/web/themes/sage-murexin/resources/views/blocks/block-hero-slider.blade.php ENDPATH**/ ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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 * * @throws \Throwable */ public function __toString() { return $this->render(); }} $view = ltrim($directory, 'views/') . '/' . $slug; if (isSage10()) { if (\Roots\view()->exists($view)) { // Use Sage's view() function to echo the block and populate it with data echo \Roots\view($view, $vars); } } else { echo \App\template(locate_template("${directory}/${slug}"), ['block' => $block]); } } // Setup postdata allowing get_field() to work. acf_setup_meta( $block['data'], $block['id'], true ); // Call render_callback. if ( is_callable( $block['render_callback'] ) ) { call_user_func( $block['render_callback'], $block, $content, $is_preview, $post_id, $wp_block, $context ); // Or include template. } elseif ( $block['render_template'] ) { do_action( 'acf_block_render_template', $block, $content, $is_preview, $post_id, $wp_block, $context ); } } else { echo acf_get_empty_block_form_html( $attributes['name'] ); //phpcs:ignore -- escaped in function. } } else { // Capture block render output. acf_render_block( $attributes, $content, $is_preview, $post_id, $wp_block, $context ); if ( $is_preview && ! $is_ajax_render ) { /** * If we're in preloaded preview, we need to get the validation state for a preview too. * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here. if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) { $attributes['name'] = $wp_block->name; } // Return rendered block HTML. return acf_rendered_block( $attributes, $content, $is_preview, $post_id, $wp_block );}/** * Returns the rendered block HTML. * $global_post = $post; $parent = WP_Block_Supports::$block_to_render; WP_Block_Supports::$block_to_render = $this->parsed_block; $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this ); WP_Block_Supports::$block_to_render = $parent; $post = $global_post; } */ $context = apply_filters( 'render_block_context', $context, $parsed_block, $parent_block ); $block = new WP_Block( $parsed_block, $context ); return $block->render();}/** * Parses blocks out of a content string. *function do_blocks( $content ) { $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { $output .= render_block( $block ); } // If there are blocks in this content, we shouldn't run wpautop() on it later. $priority = has_filter( 'the_content', 'wpautop' ); if ( false !== $priority && doing_filter( 'the_content' ) && has_blocks( $content ) ) { // Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) ); } // Pass the value to WP_Hook. array_unshift( $args, $value ); $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args ); array_pop( $wp_current_filter ); return $filtered;} * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content;}/**<?php $__env->startSection('content'); ?> <?php the_content() ?><?php $__env->stopSection(); ?><?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/stage/web/themes/sage-murexin/resources/views/front-page.blade.php ENDPATH**/ ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<body <?php body_class( ); ?>> <?php wp_body_open(); ?> <?php do_action('get_header'); ?> <div id="app"> <?php echo view(app('sage.view'), app('sage.data'))->render(); ?> </div> <?php do_action('get_footer'); ?> <?php wp_footer(); ?></body> * * @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';<?php endif; ?> <?php endif; ?> </div> <?php elseif($slide['slide_type'] == 'image_with_text'): ?> <div class="swiper-slide img-text-slide"> <?php if($slide['image']['url']): ?> <?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?><?php $component = $__env->getContainer()->make(App\View\Components\Image::class, ['figclass' => 'swiper-img-container h-full','url' => ''.$slide['image']['url'].'']); ?><?php $component->withName('image'); ?><?php if ($component->shouldRender()): ?><?php $__env->startComponent($component->resolveView(), $component->data()); ?> * @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; }<?php endif; ?> <?php endif; ?> </div> <?php elseif($slide['slide_type'] == 'image_with_text'): ?> <div class="swiper-slide img-text-slide"> <?php if($slide['image']['url']): ?> <?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?><?php $component = $__env->getContainer()->make(App\View\Components\Image::class, ['figclass' => 'swiper-img-container h-full','url' => ''.$slide['image']['url'].'']); ?><?php $component->withName('image'); ?><?php if ($component->shouldRender()): ?><?php $__env->startComponent($component->resolveView(), $component->data()); ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<?php echo $__env->make('sections.section-hero-slider', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/stage/web/themes/sage-murexin/resources/views/blocks/block-hero-slider.blade.php ENDPATH**/ ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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 * * @throws \Throwable */ public function __toString() { return $this->render(); }} $view = ltrim($directory, 'views/') . '/' . $slug; if (isSage10()) { if (\Roots\view()->exists($view)) { // Use Sage's view() function to echo the block and populate it with data echo \Roots\view($view, $vars); } } else { echo \App\template(locate_template("${directory}/${slug}"), ['block' => $block]); } } // Setup postdata allowing get_field() to work. acf_setup_meta( $block['data'], $block['id'], true ); // Call render_callback. if ( is_callable( $block['render_callback'] ) ) { call_user_func( $block['render_callback'], $block, $content, $is_preview, $post_id, $wp_block, $context ); // Or include template. } elseif ( $block['render_template'] ) { do_action( 'acf_block_render_template', $block, $content, $is_preview, $post_id, $wp_block, $context ); } } else { echo acf_get_empty_block_form_html( $attributes['name'] ); //phpcs:ignore -- escaped in function. } } else { // Capture block render output. acf_render_block( $attributes, $content, $is_preview, $post_id, $wp_block, $context ); if ( $is_preview && ! $is_ajax_render ) { /** * If we're in preloaded preview, we need to get the validation state for a preview too. * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here. if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) { $attributes['name'] = $wp_block->name; } // Return rendered block HTML. return acf_rendered_block( $attributes, $content, $is_preview, $post_id, $wp_block );}/** * Returns the rendered block HTML. * $global_post = $post; $parent = WP_Block_Supports::$block_to_render; WP_Block_Supports::$block_to_render = $this->parsed_block; $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this ); WP_Block_Supports::$block_to_render = $parent; $post = $global_post; } */ $context = apply_filters( 'render_block_context', $context, $parsed_block, $parent_block ); $block = new WP_Block( $parsed_block, $context ); return $block->render();}/** * Parses blocks out of a content string. *function do_blocks( $content ) { $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { $output .= render_block( $block ); } // If there are blocks in this content, we shouldn't run wpautop() on it later. $priority = has_filter( 'the_content', 'wpautop' ); if ( false !== $priority && doing_filter( 'the_content' ) && has_blocks( $content ) ) { // Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) ); } // Pass the value to WP_Hook. array_unshift( $args, $value ); $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args ); array_pop( $wp_current_filter ); return $filtered;} * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content;}/**<?php $__env->startSection('content'); ?> <?php the_content() ?><?php $__env->stopSection(); ?><?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/stage/web/themes/sage-murexin/resources/views/front-page.blade.php ENDPATH**/ ?> $__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. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); array_pop($this->lastCompiled); return $results; } * * @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 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(); * @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<body <?php body_class( ); ?>> <?php wp_body_open(); ?> <?php do_action('get_header'); ?> <div id="app"> <?php echo view(app('sage.view'), app('sage.data'))->render(); ?> </div> <?php do_action('get_footer'); ?> <?php wp_footer(); ?></body> * * @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';|
[4/4]
ViewException
|
|---|
Illuminate\View\ViewException:
Trying to access array offset on value of type bool (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php) (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php) (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php)
at /var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php:74
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/home/ubuntu/stage/web/themes/sage-murexin/index.php:32)
at include('/home/ubuntu/stage/web/themes/sage-murexin/index.php')
(/var/www/stage/web/wp/wp-includes/template-loader.php:106)
at require_once('/var/www/stage/web/wp/wp-includes/template-loader.php')
(/var/www/stage/web/wp/wp-blog-header.php:19)
at require('/var/www/stage/web/wp/wp-blog-header.php')
(/var/www/stage/web/index.php:11)
|
|
[3/4]
ViewException
|
|---|
Illuminate\View\ViewException:
Trying to access array offset on value of type bool (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php) (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php)
at /var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php:74
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/stage/vendor/illuminate/view/View.php:440)
at Illuminate\View\View->__toString()
(/home/ubuntu/stage/web/themes/sage-murexin/app/sage-acf-gutenberg-blocks.php:210)
at App\sage_blocks_callback()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:718)
at acf_render_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:620)
at acf_rendered_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:543)
at acf_render_block_callback()
(/var/www/stage/web/wp/wp-includes/class-wp-block.php:586)
at WP_Block->render()
(/var/www/stage/web/wp/wp-includes/blocks.php:2358)
at render_block()
(/var/www/stage/web/wp/wp-includes/blocks.php:2410)
at do_blocks()
(/var/www/stage/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/stage/web/wp/wp-includes/plugin.php:205)
at apply_filters()
(/var/www/stage/web/wp/wp-includes/post-template.php:256)
at the_content()
(/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php:2)
at require('/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/home/ubuntu/stage/web/themes/sage-murexin/index.php:32)
at include('/home/ubuntu/stage/web/themes/sage-murexin/index.php')
(/var/www/stage/web/wp/wp-includes/template-loader.php:106)
at require_once('/var/www/stage/web/wp/wp-includes/template-loader.php')
(/var/www/stage/web/wp/wp-blog-header.php:19)
at require('/var/www/stage/web/wp/wp-blog-header.php')
(/var/www/stage/web/index.php:11)
|
|
[2/4]
ViewException
|
|---|
Illuminate\View\ViewException:
Trying to access array offset on value of type bool (View: /home/ubuntu/stage/web/themes/sage-murexin/resources/views/sections/section-hero-slider.blade.php)
at /var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php:74
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/stage/web/app/cache/acorn/framework/views/cc0204c9b38136ed3d4b41c6ec4db06f89e609ee.php:3)
at require('/var/www/stage/web/app/cache/acorn/framework/views/cc0204c9b38136ed3d4b41c6ec4db06f89e609ee.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/stage/vendor/illuminate/view/View.php:440)
at Illuminate\View\View->__toString()
(/home/ubuntu/stage/web/themes/sage-murexin/app/sage-acf-gutenberg-blocks.php:210)
at App\sage_blocks_callback()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:718)
at acf_render_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:620)
at acf_rendered_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:543)
at acf_render_block_callback()
(/var/www/stage/web/wp/wp-includes/class-wp-block.php:586)
at WP_Block->render()
(/var/www/stage/web/wp/wp-includes/blocks.php:2358)
at render_block()
(/var/www/stage/web/wp/wp-includes/blocks.php:2410)
at do_blocks()
(/var/www/stage/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/stage/web/wp/wp-includes/plugin.php:205)
at apply_filters()
(/var/www/stage/web/wp/wp-includes/post-template.php:256)
at the_content()
(/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php:2)
at require('/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/home/ubuntu/stage/web/themes/sage-murexin/index.php:32)
at include('/home/ubuntu/stage/web/themes/sage-murexin/index.php')
(/var/www/stage/web/wp/wp-includes/template-loader.php:106)
at require_once('/var/www/stage/web/wp/wp-includes/template-loader.php')
(/var/www/stage/web/wp/wp-blog-header.php:19)
at require('/var/www/stage/web/wp/wp-blog-header.php')
(/var/www/stage/web/index.php:11)
|
|
[1/4]
ErrorException
|
|---|
ErrorException:
Trying to access array offset on value of type bool
at /var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php:74
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/var/www/stage/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
(/var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php:74)
at require('/var/www/stage/web/app/cache/acorn/framework/views/fcb93d4f8eeb8447e196d87c7429d06b275f0e83.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/stage/web/app/cache/acorn/framework/views/cc0204c9b38136ed3d4b41c6ec4db06f89e609ee.php:3)
at require('/var/www/stage/web/app/cache/acorn/framework/views/cc0204c9b38136ed3d4b41c6ec4db06f89e609ee.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/stage/vendor/illuminate/view/View.php:440)
at Illuminate\View\View->__toString()
(/home/ubuntu/stage/web/themes/sage-murexin/app/sage-acf-gutenberg-blocks.php:210)
at App\sage_blocks_callback()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:718)
at acf_render_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:620)
at acf_rendered_block()
(/var/www/stage/web/app/plugins/advanced-custom-fields-pro/pro/blocks.php:543)
at acf_render_block_callback()
(/var/www/stage/web/wp/wp-includes/class-wp-block.php:586)
at WP_Block->render()
(/var/www/stage/web/wp/wp-includes/blocks.php:2358)
at render_block()
(/var/www/stage/web/wp/wp-includes/blocks.php:2410)
at do_blocks()
(/var/www/stage/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/stage/web/wp/wp-includes/plugin.php:205)
at apply_filters()
(/var/www/stage/web/wp/wp-includes/post-template.php:256)
at the_content()
(/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php:2)
at require('/var/www/stage/web/app/cache/acorn/framework/views/e5a620035278e47f9c6e6fa36a1a8696e52b50fb.php')
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/stage/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/stage/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/stage/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/stage/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/stage/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/stage/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/home/ubuntu/stage/web/themes/sage-murexin/index.php:32)
at include('/home/ubuntu/stage/web/themes/sage-murexin/index.php')
(/var/www/stage/web/wp/wp-includes/template-loader.php:106)
at require_once('/var/www/stage/web/wp/wp-includes/template-loader.php')
(/var/www/stage/web/wp/wp-blog-header.php:19)
at require('/var/www/stage/web/wp/wp-blog-header.php')
(/var/www/stage/web/index.php:11)
|