Illuminate\View\ViewException {#3021 #severity: E_ERROR }
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
$preview = false,
$post_id = 0,
$wp_block = false,
$context = false
) {
echo $this->render($block, $content, $preview, $post_id, $wp_block, $context);
},
];
if ($this->example !== false) {
$settings = Arr::add($settings, 'example', [
// 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 (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
} finally {
$this->currentComponentData = $previousComponentData;
}
}
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['componentData' => $componentData]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
<?php $component = $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9; ?>
<?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
<?php endif; ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
$preview = false,
$post_id = 0,
$wp_block = false,
$context = false
) {
echo $this->render($block, $content, $preview, $post_id, $wp_block, $context);
},
];
if ($this->example !== false) {
$settings = Arr::add($settings, 'example', [
// 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 (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
try {
$view = value($view, $data);
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
<?php endif; ?>
<?php $component->withAttributes(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo e($slot ?? ""); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606)): ?>
<?php $component = $__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606; ?>
<?php unset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606); ?>
<?php endif; ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/e266b35747d8727303de02448fa664a9928cc0b9.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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
} finally {
$this->currentComponentData = $previousComponentData;
}
}
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['componentData' => $componentData]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
<?php $component = $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9; ?>
<?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
<?php endif; ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
$preview = false,
$post_id = 0,
$wp_block = false,
$context = false
) {
echo $this->render($block, $content, $preview, $post_id, $wp_block, $context);
},
];
if ($this->example !== false) {
$settings = Arr::add($settings, 'example', [
// 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 (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
* @param bool $useReadPdo
* @return array
*/
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
if (is_null($original)) {
$this->columns = $columns;
}
$result = $callback();
$this->columns = $original;
return $result;
}
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* @return \Illuminate\Database\Eloquent\Model[]|static[]
*/
public function getModels($columns = ['*'])
{
return $this->model->hydrate(
$this->query->get($columns)->all()
)->all();
}
/**
* Eager load the relationships for the models.
$builder = $this->applyScopes();
// If we actually found models we will also eager load any relationships that
// have been specified as needing to be eager loaded, which will solve the
// n+1 query issue for the developers to avoid running a lot of queries.
if (count($models = $builder->getModels($columns)) > 0) {
$models = $builder->eagerLoadRelations($models);
}
return $builder->getModel()->newCollection($models);
}
}
public function setStaffData($staff_ids = []){
if ( !empty($staff_ids) ){
//get the staff members where in ID staff_ids ordered by those IDs
$staff = Staff::whereIn('ID', $staff_ids)->orderByRaw('FIELD(ID, ' . implode(',', $staff_ids) . ')')->get();
// $staff = Staff::whereIn('ID', $staff_ids)->get();
} else {
$staff = Staff::all()->sortBy('menu_order');
}
)
{
parent::__construct();
$this->setStaffData($staffidlist);
}
public function setStaffData($staff_ids = []){
if ( !empty($staff_ids) ){
throw $e;
}
array_pop($this->buildStack);
return $reflector->newInstanceArgs($instances);
}
/**
* Resolve all of the dependencies from the ReflectionParameters.
*
// We're ready to instantiate an instance of the concrete type registered for
// the binding. This will instantiate the types, as well as resolve any of
// its "nested" dependencies recursively until all have gotten resolved.
if ($this->isBuildable($concrete, $abstract)) {
$object = $this->build($concrete);
} else {
$object = $this->make($concrete);
}
// If we defined any extenders for this type, we'll need to spin through them
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::resolve($abstract, $parameters, $raiseEvents);
}
/**
* Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
*
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make($abstract, array $parameters = [])
{
return $this->resolve($abstract, $parameters);
}
/**
* {@inheritdoc}
*
*/
public function make($abstract, array $parameters = [])
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
if (empty(array_diff($parameters, $dataKeys))) {
return new static(...array_intersect_key($data, array_flip($parameters)));
}
return Container::getInstance()->make(static::class, $data);
}
/**
* Extract the constructor parameters for the component.
*
<div class="h-[4px] bg-primary-600 w-3/5 my-2"></div>
</div>
<?php endif; ?>
<?php if (isset($component)) { $__componentOriginal93e3745b4d4f153ed4e0e86d0585df0846c8c6d1 = $component; } ?>
<?php $component = App\View\Components\StaffGrid::resolve(['staffidlist' => $getStaffIDs()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('staff-grid'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\StaffGrid::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
try {
$view = value($view, $data);
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
<?php endif; ?>
<?php $component->withAttributes(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo e($slot ?? ""); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606)): ?>
<?php $component = $__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606; ?>
<?php unset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606); ?>
<?php endif; ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/e266b35747d8727303de02448fa664a9928cc0b9.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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
} finally {
$this->currentComponentData = $previousComponentData;
}
}
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['componentData' => $componentData]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
<?php $component = $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9; ?>
<?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
<?php endif; ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
$preview = false,
$post_id = 0,
$wp_block = false,
$context = false
) {
echo $this->render($block, $content, $preview, $post_id, $wp_block, $context);
},
];
if ($this->example !== false) {
$settings = Arr::add($settings, 'example', [
// 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 (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
return $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
* @param bool $useReadPdo
* @return array
*/
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
if (is_null($original)) {
$this->columns = $columns;
}
$result = $callback();
$this->columns = $original;
return $result;
}
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* @return \Illuminate\Database\Eloquent\Model[]|static[]
*/
public function getModels($columns = ['*'])
{
return $this->model->hydrate(
$this->query->get($columns)->all()
)->all();
}
/**
* Eager load the relationships for the models.
$builder = $this->applyScopes();
// If we actually found models we will also eager load any relationships that
// have been specified as needing to be eager loaded, which will solve the
// n+1 query issue for the developers to avoid running a lot of queries.
if (count($models = $builder->getModels($columns)) > 0) {
$models = $builder->eagerLoadRelations($models);
}
return $builder->getModel()->newCollection($models);
}
}
public function setStaffData($staff_ids = []){
if ( !empty($staff_ids) ){
//get the staff members where in ID staff_ids ordered by those IDs
$staff = Staff::whereIn('ID', $staff_ids)->orderByRaw('FIELD(ID, ' . implode(',', $staff_ids) . ')')->get();
// $staff = Staff::whereIn('ID', $staff_ids)->get();
} else {
$staff = Staff::all()->sortBy('menu_order');
}
)
{
parent::__construct();
$this->setStaffData($staffidlist);
}
public function setStaffData($staff_ids = []){
if ( !empty($staff_ids) ){
throw $e;
}
array_pop($this->buildStack);
return $reflector->newInstanceArgs($instances);
}
/**
* Resolve all of the dependencies from the ReflectionParameters.
*
// We're ready to instantiate an instance of the concrete type registered for
// the binding. This will instantiate the types, as well as resolve any of
// its "nested" dependencies recursively until all have gotten resolved.
if ($this->isBuildable($concrete, $abstract)) {
$object = $this->build($concrete);
} else {
$object = $this->make($concrete);
}
// If we defined any extenders for this type, we'll need to spin through them
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::resolve($abstract, $parameters, $raiseEvents);
}
/**
* Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
*
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make($abstract, array $parameters = [])
{
return $this->resolve($abstract, $parameters);
}
/**
* {@inheritdoc}
*
*/
public function make($abstract, array $parameters = [])
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
if (empty(array_diff($parameters, $dataKeys))) {
return new static(...array_intersect_key($data, array_flip($parameters)));
}
return Container::getInstance()->make(static::class, $data);
}
/**
* Extract the constructor parameters for the component.
*
<div class="h-[4px] bg-primary-600 w-3/5 my-2"></div>
</div>
<?php endif; ?>
<?php if (isset($component)) { $__componentOriginal93e3745b4d4f153ed4e0e86d0585df0846c8c6d1 = $component; } ?>
<?php $component = App\View\Components\StaffGrid::resolve(['staffidlist' => $getStaffIDs()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('staff-grid'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\StaffGrid::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
try {
$view = value($view, $data);
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
<?php endif; ?>
<?php $component->withAttributes(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo e($slot ?? ""); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606)): ?>
<?php $component = $__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606; ?>
<?php unset($__componentOriginal263608f1e2531939a52c9d677d705bf42b3dc606); ?>
<?php endif; ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/e266b35747d8727303de02448fa664a9928cc0b9.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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
} finally {
$this->currentComponentData = $previousComponentData;
}
}
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['componentData' => $componentData]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
<?php $component = $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9; ?>
<?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
<?php endif; ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
$preview = false,
$post_id = 0,
$wp_block = false,
$context = false
) {
echo $this->render($block, $content, $preview, $post_id, $wp_block, $context);
},
];
if ($this->example !== false) {
$settings = Arr::add($settings, 'example', [
// 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 (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/partials/content-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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<div id="app">
<!--visual stuff starts here -->
<!-- by default, app('sage.view') is set to 'page.blade.php' -->
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<!--visual stuff ends here -->
</div>
*
* @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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
[7/7]
ViewException
|
---|
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) (View: /home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/resources/views/components/staff-list.blade.php) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[6/7]
ViewException
|
---|
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) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[5/7]
ViewException
|
---|
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) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:492) at Illuminate\View\View->__toString() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/vendor/log1x/acf-composer/src/Block.php:293) at Log1x\AcfComposer\Block->Log1x\AcfComposer\{closure}() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:708) at acf_render_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:610) at acf_rendered_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:533) at acf_render_block_callback() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-block.php:519) at WP_Block->render() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2061) at render_block() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2113) at do_blocks() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/plugin.php:205) at apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/post-template.php:256) at the_content() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php:1) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[4/7]
ViewException
|
---|
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) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:104) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php:22) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:492) at Illuminate\View\View->__toString() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/vendor/log1x/acf-composer/src/Block.php:293) at Log1x\AcfComposer\Block->Log1x\AcfComposer\{closure}() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:708) at acf_render_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:610) at acf_rendered_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:533) at acf_render_block_callback() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-block.php:519) at WP_Block->render() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2061) at render_block() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2113) at do_blocks() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/plugin.php:205) at apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/post-template.php:256) at the_content() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php:1) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[3/7]
ViewException
|
---|
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) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:100) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php:27) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:104) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php:22) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:492) at Illuminate\View\View->__toString() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/vendor/log1x/acf-composer/src/Block.php:293) at Log1x\AcfComposer\Block->Log1x\AcfComposer\{closure}() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:708) at acf_render_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:610) at acf_rendered_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:533) at acf_render_block_callback() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-block.php:519) at WP_Block->render() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2061) at render_block() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2113) at do_blocks() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/plugin.php:205) at apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/post-template.php:256) at the_content() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php:1) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[2/7]
QueryException
|
---|
Illuminate\Database\QueryException: 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, )) at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:760 at Illuminate\Database\Connection->runQueryCallback() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:405) at Illuminate\Database\Connection->select() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2705) at Illuminate\Database\Query\Builder->runSelect() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2693) at Illuminate\Database\Query\Builder->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/app/View/Components/StaffGrid.php:40) at App\View\Components\StaffGrid->setStaffData() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/app/View/Components/StaffGrid.php:33) at App\View\Components\StaffGrid->__construct() at ReflectionClass->newInstanceArgs() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:929) at Illuminate\Container\Container->build() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:770) at Illuminate\Container\Container->resolve() (/home/forge/www.firstfriends.org/public/vendor/roots/acorn/src/Illuminate/Foundation/Application.php:856) at Illuminate\Foundation\Application->resolve() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:706) at Illuminate\Container\Container->make() (/home/forge/www.firstfriends.org/public/vendor/roots/acorn/src/Illuminate/Foundation/Application.php:841) at Illuminate\Foundation\Application->make() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Component.php:105) at Illuminate\View\Component::resolve() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/89efecfc2c7e7de0a957cf4b60401ad4ae2afef0.php:10) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/89efecfc2c7e7de0a957cf4b60401ad4ae2afef0.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:100) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php:27) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:104) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php:22) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:492) at Illuminate\View\View->__toString() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/vendor/log1x/acf-composer/src/Block.php:293) at Log1x\AcfComposer\Block->Log1x\AcfComposer\{closure}() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:708) at acf_render_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:610) at acf_rendered_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:533) at acf_render_block_callback() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-block.php:519) at WP_Block->render() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2061) at render_block() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2113) at do_blocks() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/plugin.php:205) at apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/post-template.php:256) at the_content() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php:1) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |
[1/7]
PDOException
|
---|
PDOException: 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 at /home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:414 at PDO->prepare() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:414) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:753) at Illuminate\Database\Connection->runQueryCallback() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Connection.php:405) at Illuminate\Database\Connection->select() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2705) at Illuminate\Database\Query\Builder->runSelect() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Query/Builder.php:2693) at Illuminate\Database\Query\Builder->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels() (/home/forge/www.firstfriends.org/public/vendor/illuminate/database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/app/View/Components/StaffGrid.php:40) at App\View\Components\StaffGrid->setStaffData() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/app/View/Components/StaffGrid.php:33) at App\View\Components\StaffGrid->__construct() at ReflectionClass->newInstanceArgs() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:929) at Illuminate\Container\Container->build() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:770) at Illuminate\Container\Container->resolve() (/home/forge/www.firstfriends.org/public/vendor/roots/acorn/src/Illuminate/Foundation/Application.php:856) at Illuminate\Foundation\Application->resolve() (/home/forge/www.firstfriends.org/public/vendor/illuminate/container/Container.php:706) at Illuminate\Container\Container->make() (/home/forge/www.firstfriends.org/public/vendor/roots/acorn/src/Illuminate/Foundation/Application.php:841) at Illuminate\Foundation\Application->make() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Component.php:105) at Illuminate\View\Component::resolve() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/89efecfc2c7e7de0a957cf4b60401ad4ae2afef0.php:10) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/89efecfc2c7e7de0a957cf4b60401ad4ae2afef0.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:100) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php:27) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/b3050c1b316309adb016e643bc23517c98b11785.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Concerns/ManagesComponents.php:104) at Illuminate\View\Factory->renderComponent() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php:22) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/35695d88ec4f7fadf3e56c81ebc967a0e9707608.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:492) at Illuminate\View\View->__toString() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/vendor/log1x/acf-composer/src/Block.php:293) at Log1x\AcfComposer\Block->Log1x\AcfComposer\{closure}() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:708) at acf_render_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:610) at acf_rendered_block() (/home/forge/www.firstfriends.org/public/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php:533) at acf_render_block_callback() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-block.php:519) at WP_Block->render() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2061) at render_block() (/home/forge/www.firstfriends.org/public/wp-includes/blocks.php:2113) at do_blocks() (/home/forge/www.firstfriends.org/public/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/plugin.php:205) at apply_filters() (/home/forge/www.firstfriends.org/public/wp-includes/post-template.php:256) at the_content() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php:1) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/0f4704e3e75b62a95967c3872af35080ff801e13.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php:5) at require('/home/forge/www.firstfriends.org/public/wp-content/cache/acorn/framework/views/3db3609f914ae39e137af1da8cbd8e7655ddb20b.php') (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/forge/www.firstfriends.org/public/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/forge/www.firstfriends.org/public/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php:54) at include('/home/forge/www.firstfriends.org/public/wp-content/themes/sagetheme/index.php') (/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php:106) at require_once('/home/forge/www.firstfriends.org/public/wp-includes/template-loader.php') (/home/forge/www.firstfriends.org/public/wp-blog-header.php:19) at require('/home/forge/www.firstfriends.org/public/wp-blog-header.php') (/home/forge/www.firstfriends.org/public/index.php:17) |