Symfony Exception

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (SQL: select * from `wp_posts` where `ID` in (?) and `post_type` = staff and `post_status` = publish order by FIELD(ID, )) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php)

Exceptions 7

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#3021
  #severity: E_ERROR
}
  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.     <div id="app">
  2.       <!--visual stuff starts here -->
  3.       <!-- by default, app('sage.view') is set to 'page.blade.php'  -->
  4.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  5.     
  6.       <!--visual stuff ends here -->
  7.     </div>
include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') in /home/forge/www.firstfriends.org/public/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') in /home/forge/www.firstfriends.org/public/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') in /home/forge/www.firstfriends.org/public/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Illuminate\View\ ViewException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (SQL: select * from `wp_posts` where `ID` in (?) and `post_type` = staff and `post_status` = publish order by FIELD(ID, )) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.   
  4.     <?php echo $__env->make('partials.content-page'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>    
  5.   
  6.   <?php endwhile; ?>
  7. <?php $__env->stopSection(); ?>
  8. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.     <div id="app">
  2.       <!--visual stuff starts here -->
  3.       <!-- by default, app('sage.view') is set to 'page.blade.php'  -->
  4.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  5.     
  6.       <!--visual stuff ends here -->
  7.     </div>
include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') in /home/forge/www.firstfriends.org/public/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') in /home/forge/www.firstfriends.org/public/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') in /home/forge/www.firstfriends.org/public/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Illuminate\View\ ViewException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (SQL: select * from `wp_posts` where `ID` in (?) and `post_type` = staff and `post_status` = publish order by FIELD(ID, )) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function __toString()
  5.     {
  6.         return $this->render();
  7.     }
  8. }
  1.                     $preview false,
  2.                     $post_id 0,
  3.                     $wp_block false,
  4.                     $context false
  5.                 ) {
  6.                     echo $this->render($block$content$preview$post_id$wp_block$context);
  7.                 },
  8.             ];
  9.             if ($this->example !== false) {
  10.                 $settings Arr::add($settings'example', [
  1.     // Setup postdata allowing get_field() to work.
  2.     acf_setup_meta$block['data'], $block['id'], true );
  3.     // Call render_callback.
  4.     if ( is_callable$block['render_callback'] ) ) {
  5.         call_user_func$block['render_callback'], $block$content$is_preview$post_id$wp_block$context );
  6.         // Or include template.
  7.     } elseif ( $block['render_template'] ) {
  8.         do_action'acf_block_render_template'$block$content$is_preview$post_id$wp_block$context );
  9.     }
  1.         } else {
  2.             echo acf_get_empty_block_form_html$attributes['name'] ); //phpcs:ignore -- escaped in function.
  3.         }
  4.     } else {
  5.         // Capture block render output.
  6.         acf_render_block$attributes$content$is_preview$post_id$wp_block$context );
  7.         if ( $is_preview && ! $is_ajax_render ) {
  8.             /**
  9.              * If we're in preloaded preview, we need to get the validation state for a preview too.
  10.              * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here.
  1.     if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) {
  2.         $attributes['name'] = $wp_block->name;
  3.     }
  4.     // Return rendered block HTML.
  5.     return acf_rendered_block$attributes$content$is_preview$post_id$wp_block );
  6. }
  7. /**
  8.  * Returns the rendered block HTML.
  9.  *
  1.             $global_post $post;
  2.             $parent      WP_Block_Supports::$block_to_render;
  3.             WP_Block_Supports::$block_to_render $this->parsed_block;
  4.             $block_content = (string) call_user_func$this->block_type->render_callback$this->attributes$block_content$this );
  5.             WP_Block_Supports::$block_to_render $parent;
  6.             $post $global_post;
  7.         }
  1.      */
  2.     $context apply_filters'render_block_context'$context$parsed_block$parent_block );
  3.     $block = new WP_Block$parsed_block$context );
  4.     return $block->render();
  5. }
  6. /**
  7.  * Parses blocks out of a content string.
  8.  *
  1. function do_blocks$content ) {
  2.     $blocks parse_blocks$content );
  3.     $output '';
  4.     foreach ( $blocks as $block ) {
  5.         $output .= render_block$block );
  6.     }
  7.     // If there are blocks in this content, we shouldn't run wpautop() on it later.
  8.     $priority has_filter'the_content''wpautop' );
  9.     if ( false !== $priority && doing_filter'the_content' ) && has_blocks$content ) ) {
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( === $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
  1.      *
  2.      * @since 0.71
  3.      *
  4.      * @param string $content Content of the current post.
  5.      */
  6.     $content apply_filters'the_content'$content );
  7.     $content str_replace']]>'']]&gt;'$content );
  8.     echo $content;
  9. }
  10. /**
  1. <?php (the_content()); ?>
  2. <?php echo wp_link_pages(['echo' => 0'before' => '<nav class="page-nav"><p>' __('Pages:''sage'), 'after' => '</p></nav>']); ?>
  3. <?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.   
  4.     <?php echo $__env->make('partials.content-page'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>    
  5.   
  6.   <?php endwhile; ?>
  7. <?php $__env->stopSection(); ?>
  8. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.     <div id="app">
  2.       <!--visual stuff starts here -->
  3.       <!-- by default, app('sage.view') is set to 'page.blade.php'  -->
  4.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  5.     
  6.       <!--visual stuff ends here -->
  7.     </div>
include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') in /home/forge/www.firstfriends.org/public/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') in /home/forge/www.firstfriends.org/public/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') in /home/forge/www.firstfriends.org/public/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Illuminate\View\ ViewException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (SQL: select * from `wp_posts` where `ID` in (?) and `post_type` = staff and `post_status` = publish order by FIELD(ID, )) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.             if ($view instanceof View) {
  2.                 return $view->with($data)->render();
  3.             } elseif ($view instanceof Htmlable) {
  4.                 return $view->toHtml();
  5.             } else {
  6.                 return $this->make($view$data)->render();
  7.             }
  8.         } finally {
  9.             $this->currentComponentData $previousComponentData;
  10.         }
  11.     }
  1. <?php $__env->startComponent($component->resolveView(), $component->data()); ?>
  2. <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
  3. <?php $attributes $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
  4. <?php endif; ?>
  5. <?php $component->withAttributes(['componentData' => $componentData]); ?>
  6. <?php echo $__env->renderComponent(); ?>
  7. <?php endif; ?>
  8. <?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
  9. <?php $component $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9?>
  10. <?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
  11. <?php endif; ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function __toString()
  5.     {
  6.         return $this->render();
  7.     }
  8. }
  1.                     $preview false,
  2.                     $post_id 0,
  3.                     $wp_block false,
  4.                     $context false
  5.                 ) {
  6.                     echo $this->render($block$content$preview$post_id$wp_block$context);
  7.                 },
  8.             ];
  9.             if ($this->example !== false) {
  10.                 $settings Arr::add($settings'example', [
  1.     // Setup postdata allowing get_field() to work.
  2.     acf_setup_meta$block['data'], $block['id'], true );
  3.     // Call render_callback.
  4.     if ( is_callable$block['render_callback'] ) ) {
  5.         call_user_func$block['render_callback'], $block$content$is_preview$post_id$wp_block$context );
  6.         // Or include template.
  7.     } elseif ( $block['render_template'] ) {
  8.         do_action'acf_block_render_template'$block$content$is_preview$post_id$wp_block$context );
  9.     }
  1.         } else {
  2.             echo acf_get_empty_block_form_html$attributes['name'] ); //phpcs:ignore -- escaped in function.
  3.         }
  4.     } else {
  5.         // Capture block render output.
  6.         acf_render_block$attributes$content$is_preview$post_id$wp_block$context );
  7.         if ( $is_preview && ! $is_ajax_render ) {
  8.             /**
  9.              * If we're in preloaded preview, we need to get the validation state for a preview too.
  10.              * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here.
  1.     if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) {
  2.         $attributes['name'] = $wp_block->name;
  3.     }
  4.     // Return rendered block HTML.
  5.     return acf_rendered_block$attributes$content$is_preview$post_id$wp_block );
  6. }
  7. /**
  8.  * Returns the rendered block HTML.
  9.  *
  1.             $global_post $post;
  2.             $parent      WP_Block_Supports::$block_to_render;
  3.             WP_Block_Supports::$block_to_render $this->parsed_block;
  4.             $block_content = (string) call_user_func$this->block_type->render_callback$this->attributes$block_content$this );
  5.             WP_Block_Supports::$block_to_render $parent;
  6.             $post $global_post;
  7.         }
  1.      */
  2.     $context apply_filters'render_block_context'$context$parsed_block$parent_block );
  3.     $block = new WP_Block$parsed_block$context );
  4.     return $block->render();
  5. }
  6. /**
  7.  * Parses blocks out of a content string.
  8.  *
  1. function do_blocks$content ) {
  2.     $blocks parse_blocks$content );
  3.     $output '';
  4.     foreach ( $blocks as $block ) {
  5.         $output .= render_block$block );
  6.     }
  7.     // If there are blocks in this content, we shouldn't run wpautop() on it later.
  8.     $priority has_filter'the_content''wpautop' );
  9.     if ( false !== $priority && doing_filter'the_content' ) && has_blocks$content ) ) {
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( === $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
  1.      *
  2.      * @since 0.71
  3.      *
  4.      * @param string $content Content of the current post.
  5.      */
  6.     $content apply_filters'the_content'$content );
  7.     $content str_replace']]>'']]&gt;'$content );
  8.     echo $content;
  9. }
  10. /**
  1. <?php (the_content()); ?>
  2. <?php echo wp_link_pages(['echo' => 0'before' => '<nav class="page-nav"><p>' __('Pages:''sage'), 'after' => '</p></nav>']); ?>
  3. <?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.   
  4.     <?php echo $__env->make('partials.content-page'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>    
  5.   
  6.   <?php endwhile; ?>
  7. <?php $__env->stopSection(); ?>
  8. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.     <div id="app">
  2.       <!--visual stuff starts here -->
  3.       <!-- by default, app('sage.view') is set to 'page.blade.php'  -->
  4.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  5.     
  6.       <!--visual stuff ends here -->
  7.     </div>
include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') in /home/forge/www.firstfriends.org/public/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') in /home/forge/www.firstfriends.org/public/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') in /home/forge/www.firstfriends.org/public/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Illuminate\View\ ViewException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (SQL: select * from `wp_posts` where `ID` in (?) and `post_type` = staff and `post_status` = publish order by FIELD(ID, )) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         try {
  2.             $view value($view$data);
  3.             if ($view instanceof View) {
  4.                 return $view->with($data)->render();
  5.             } elseif ($view instanceof Htmlable) {
  6.                 return $view->toHtml();
  7.             } else {
  8.                 return $this->make($view$data)->render();
  9.             }
  1. <?php endif; ?>
  2. <?php $component->withAttributes(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
  3. <?php echo e($slot ?? ""); ?>
  4.  <?php echo $__env->renderComponent(); ?>
  5. <?php endif; ?>
  6. <?php if (isset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606)): ?>
  7. <?php $component $__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606?>
  8. <?php unset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606); ?>
  9. <?php endif; ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/e266b35747d8727303de02448fa664a9928cc0b9.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.             if ($view instanceof View) {
  2.                 return $view->with($data)->render();
  3.             } elseif ($view instanceof Htmlable) {
  4.                 return $view->toHtml();
  5.             } else {
  6.                 return $this->make($view$data)->render();
  7.             }
  8.         } finally {
  9.             $this->currentComponentData $previousComponentData;
  10.         }
  11.     }
  1. <?php $__env->startComponent($component->resolveView(), $component->data()); ?>
  2. <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
  3. <?php $attributes $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
  4. <?php endif; ?>
  5. <?php $component->withAttributes(['componentData' => $componentData]); ?>
  6. <?php echo $__env->renderComponent(); ?>
  7. <?php endif; ?>
  8. <?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
  9. <?php $component $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9?>
  10. <?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
  11. <?php endif; ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function __toString()
  5.     {
  6.         return $this->render();
  7.     }
  8. }
  1.                     $preview false,
  2.                     $post_id 0,
  3.                     $wp_block false,
  4.                     $context false
  5.                 ) {
  6.                     echo $this->render($block$content$preview$post_id$wp_block$context);
  7.                 },
  8.             ];
  9.             if ($this->example !== false) {
  10.                 $settings Arr::add($settings'example', [
  1.     // Setup postdata allowing get_field() to work.
  2.     acf_setup_meta$block['data'], $block['id'], true );
  3.     // Call render_callback.
  4.     if ( is_callable$block['render_callback'] ) ) {
  5.         call_user_func$block['render_callback'], $block$content$is_preview$post_id$wp_block$context );
  6.         // Or include template.
  7.     } elseif ( $block['render_template'] ) {
  8.         do_action'acf_block_render_template'$block$content$is_preview$post_id$wp_block$context );
  9.     }
  1.         } else {
  2.             echo acf_get_empty_block_form_html$attributes['name'] ); //phpcs:ignore -- escaped in function.
  3.         }
  4.     } else {
  5.         // Capture block render output.
  6.         acf_render_block$attributes$content$is_preview$post_id$wp_block$context );
  7.         if ( $is_preview && ! $is_ajax_render ) {
  8.             /**
  9.              * If we're in preloaded preview, we need to get the validation state for a preview too.
  10.              * Because the block render resets meta once it's finished to not pollute $post_id, we need to redo that process here.
  1.     if ( empty( $attributes['name'] ) && ! empty( $wp_block->name ) ) {
  2.         $attributes['name'] = $wp_block->name;
  3.     }
  4.     // Return rendered block HTML.
  5.     return acf_rendered_block$attributes$content$is_preview$post_id$wp_block );
  6. }
  7. /**
  8.  * Returns the rendered block HTML.
  9.  *
  1.             $global_post $post;
  2.             $parent      WP_Block_Supports::$block_to_render;
  3.             WP_Block_Supports::$block_to_render $this->parsed_block;
  4.             $block_content = (string) call_user_func$this->block_type->render_callback$this->attributes$block_content$this );
  5.             WP_Block_Supports::$block_to_render $parent;
  6.             $post $global_post;
  7.         }
  1.      */
  2.     $context apply_filters'render_block_context'$context$parsed_block$parent_block );
  3.     $block = new WP_Block$parsed_block$context );
  4.     return $block->render();
  5. }
  6. /**
  7.  * Parses blocks out of a content string.
  8.  *
  1. function do_blocks$content ) {
  2.     $blocks parse_blocks$content );
  3.     $output '';
  4.     foreach ( $blocks as $block ) {
  5.         $output .= render_block$block );
  6.     }
  7.     // If there are blocks in this content, we shouldn't run wpautop() on it later.
  8.     $priority has_filter'the_content''wpautop' );
  9.     if ( false !== $priority && doing_filter'the_content' ) && has_blocks$content ) ) {
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( === $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
  1.      *
  2.      * @since 0.71
  3.      *
  4.      * @param string $content Content of the current post.
  5.      */
  6.     $content apply_filters'the_content'$content );
  7.     $content str_replace']]>'']]&gt;'$content );
  8.     echo $content;
  9. }
  10. /**
  1. <?php (the_content()); ?>
  2. <?php echo wp_link_pages(['echo' => 0'before' => '<nav class="page-nav"><p>' __('Pages:''sage'), 'after' => '</p></nav>']); ?>
  3. <?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.   
  4.     <?php echo $__env->make('partials.content-page'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>    
  5.   
  6.   <?php endwhile; ?>
  7. <?php $__env->stopSection(); ?>
  8. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.     <div id="app">
  2.       <!--visual stuff starts here -->
  3.       <!-- by default, app('sage.view') is set to 'page.blade.php'  -->
  4.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  5.     
  6.       <!--visual stuff ends here -->
  7.     </div>
include('/home/forge/www.firstfriends.