$fields = get_fields('option');
?>
<section id="subscribe">
<div class="wp-block-columns is-layout-flex">
<div class="wp-block-column is-layout-flow">
<h2 class="wp-block-heading"><?= $fields['heading'] ?></h2>
<p><?= $fields['paragraph'] ?></p>
</div>
<div class="wp-block-column is-layout-flow">
<div id="mc_embed_signup">
<form action="https://717alliance.us14.list-manage.com/subscribe/post?u=9dc950c30b44eb337b39f8e58&id=fa33dfe7bd&f_id=00b18fe0f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self">
// 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
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
<?php
/**
* WordPress View Bootstrapper
*/
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
$fields = get_fields('option');
?>
<section id="subscribe">
<div class="wp-block-columns is-layout-flex">
<div class="wp-block-column is-layout-flow">
<h2 class="wp-block-heading"><?= $fields['heading'] ?></h2>
<p><?= $fields['paragraph'] ?></p>
</div>
<div class="wp-block-column is-layout-flow">
<div id="mc_embed_signup">
<form action="https://717alliance.us14.list-manage.com/subscribe/post?u=9dc950c30b44eb337b39f8e58&id=fa33dfe7bd&f_id=00b18fe0f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self">
* @throws \ErrorException
*/
public function handleError($level, $message, $file = '', $line = 0, $context = [])
{
try {
parent::handleError($level, $message, $file, $line, $context);
} catch (Throwable $e) {
if (! apply_filters('acorn/throw_error_exception', true, $e)) {
return false;
}
$fields = get_fields('option');
?>
<section id="subscribe">
<div class="wp-block-columns is-layout-flex">
<div class="wp-block-column is-layout-flow">
<h2 class="wp-block-heading"><?= $fields['heading'] ?></h2>
<p><?= $fields['paragraph'] ?></p>
</div>
<div class="wp-block-column is-layout-flow">
<div id="mc_embed_signup">
<form action="https://717alliance.us14.list-manage.com/subscribe/post?u=9dc950c30b44eb337b39f8e58&id=fa33dfe7bd&f_id=00b18fe0f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self">
$__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());
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
return $this->evaluatePath($path, $data);
}
/**
* Get the evaluated contents of the view at the given path.
*
*
* @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('title'); ?>
<section class="title"><h1><?php echo $post->post_title; ?></h1></section>
<?php $__env->stopSection(); ?>
<?php echo $__env->first(['partials.content-page', 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php echo $__env->make('partials.signup', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /srv/dev.717alliance.org/web/app/themes/717/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
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
<?php
/**
* WordPress View Bootstrapper
*/
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
[2/2]
ViewException
|
---|
Illuminate\View\ViewException: Trying to access array offset on value of type bool (View: /srv/dev.717alliance.org/web/app/themes/717/resources/views/page.blade.php) at /srv/dev.717alliance.org/web/app/themes/717/resources/views/partials/signup.php:7 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/srv/dev.717alliance.org/web/app/themes/717/index.php:14) at include('/srv/dev.717alliance.org/web/app/themes/717/index.php') (/srv/dev.717alliance.org/web/wp/wp-includes/template-loader.php:106) at require_once('/srv/dev.717alliance.org/web/wp/wp-includes/template-loader.php') (/srv/dev.717alliance.org/web/wp/wp-blog-header.php:19) at require('/srv/dev.717alliance.org/web/wp/wp-blog-header.php') (/srv/dev.717alliance.org/web/index.php:6) |
[1/2]
ErrorException
|
---|
ErrorException: Trying to access array offset on value of type bool at /srv/dev.717alliance.org/web/app/themes/717/resources/views/partials/signup.php:7 at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() (/srv/dev.717alliance.org/web/app/themes/717/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49) at Roots\Acorn\Bootstrap\HandleExceptions->handleError() (/srv/dev.717alliance.org/web/app/themes/717/resources/views/partials/signup.php:7) at require('/srv/dev.717alliance.org/web/app/themes/717/resources/views/partials/signup.php') (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/PhpEngine.php:38) at Illuminate\View\Engines\PhpEngine->get() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/srv/dev.717alliance.org/web/app/cache/acorn/framework/views/10d2b94401fa0540d093c17fb12f61ce5203ec71.php:8) at require('/srv/dev.717alliance.org/web/app/cache/acorn/framework/views/10d2b94401fa0540d093c17fb12f61ce5203ec71.php') (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/srv/dev.717alliance.org/web/app/themes/717/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/srv/dev.717alliance.org/web/app/themes/717/index.php:14) at include('/srv/dev.717alliance.org/web/app/themes/717/index.php') (/srv/dev.717alliance.org/web/wp/wp-includes/template-loader.php:106) at require_once('/srv/dev.717alliance.org/web/wp/wp-includes/template-loader.php') (/srv/dev.717alliance.org/web/wp/wp-blog-header.php:19) at require('/srv/dev.717alliance.org/web/wp/wp-blog-header.php') (/srv/dev.717alliance.org/web/index.php:6) |