/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Img::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $attributes = $__attributesOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__attributesOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $component = $__componentOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__componentOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<div class="left">
<h2 class="fz(28) c(sea-moss) t-1"><?php echo e($data->title); ?></h2>
<div class="contact-info">
<a href="mailto:<?php echo e($email); ?>" class="email fz(16) c(sea-moss)"><i class="fal fa-envelope-open-text c(burnt-orange)"></i><span><?php echo e($email); ?></span></a>
<p class="phone fz(16) c(sea-moss)"><i class="fal fa-mobile-android c(burnt-orange)"></i><span><?php echo e($phone); ?></span></p>
<p class="addy fz(16) c(sea-moss)"><i class="fal fa-building c(burnt-orange)"></i><span><?php echo e($addy); ?></span></p>
</div>
</div>
<hr class="hr">
<div class="right">
<h2 class="fz(28) c(sea-moss) t-2"><?php echo e($data->title_2); ?></h2>
<div class="list">
<?php $__currentLoopData = $data->list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($item->link->url)): ?>
<a href="<?php echo e($item->link->url); ?>" <?php echo e($item->link->blank ? 'target="_blank"' : ''); ?> class="item"><i class="fal fa-asterisk c(burnt-orange)"></i><span class="fz(15) c(sea-moss)"><?php echo e($item->title); ?></span><div class="sm-btn tan-border"><?php echo e($item->link->anchor); ?></div></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php ENDPATH**/ ?>
Arguments
"Undefined variable $email (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php) (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php) (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php)"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Img::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $attributes = $__attributesOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__attributesOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $component = $__componentOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__componentOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<div class="left">
<h2 class="fz(28) c(sea-moss) t-1"><?php echo e($data->title); ?></h2>
<div class="contact-info">
<a href="mailto:<?php echo e($email); ?>" class="email fz(16) c(sea-moss)"><i class="fal fa-envelope-open-text c(burnt-orange)"></i><span><?php echo e($email); ?></span></a>
<p class="phone fz(16) c(sea-moss)"><i class="fal fa-mobile-android c(burnt-orange)"></i><span><?php echo e($phone); ?></span></p>
<p class="addy fz(16) c(sea-moss)"><i class="fal fa-building c(burnt-orange)"></i><span><?php echo e($addy); ?></span></p>
</div>
</div>
<hr class="hr">
<div class="right">
<h2 class="fz(28) c(sea-moss) t-2"><?php echo e($data->title_2); ?></h2>
<div class="list">
<?php $__currentLoopData = $data->list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($item->link->url)): ?>
<a href="<?php echo e($item->link->url); ?>" <?php echo e($item->link->blank ? 'target="_blank"' : ''); ?> class="item"><i class="fal fa-asterisk c(burnt-orange)"></i><span class="fz(15) c(sea-moss)"><?php echo e($item->title); ?></span><div class="sm-btn tan-border"><?php echo e($item->link->anchor); ?></div></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php ENDPATH**/ ?>
Arguments
"Undefined variable $email (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php) (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php)"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Img::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $attributes = $__attributesOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__attributesOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $component = $__componentOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__componentOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<div class="left">
<h2 class="fz(28) c(sea-moss) t-1"><?php echo e($data->title); ?></h2>
<div class="contact-info">
<a href="mailto:<?php echo e($email); ?>" class="email fz(16) c(sea-moss)"><i class="fal fa-envelope-open-text c(burnt-orange)"></i><span><?php echo e($email); ?></span></a>
<p class="phone fz(16) c(sea-moss)"><i class="fal fa-mobile-android c(burnt-orange)"></i><span><?php echo e($phone); ?></span></p>
<p class="addy fz(16) c(sea-moss)"><i class="fal fa-building c(burnt-orange)"></i><span><?php echo e($addy); ?></span></p>
</div>
</div>
<hr class="hr">
<div class="right">
<h2 class="fz(28) c(sea-moss) t-2"><?php echo e($data->title_2); ?></h2>
<div class="list">
<?php $__currentLoopData = $data->list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($item->link->url)): ?>
<a href="<?php echo e($item->link->url); ?>" <?php echo e($item->link->blank ? 'target="_blank"' : ''); ?> class="item"><i class="fal fa-asterisk c(burnt-orange)"></i><span class="fz(15) c(sea-moss)"><?php echo e($item->title); ?></span><div class="sm-btn tan-border"><?php echo e($item->link->anchor); ?></div></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php ENDPATH**/ ?>
Arguments
"Undefined variable $email (View: /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php)"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Img::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $attributes = $__attributesOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__attributesOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $component = $__componentOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__componentOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<div class="left">
<h2 class="fz(28) c(sea-moss) t-1"><?php echo e($data->title); ?></h2>
<div class="contact-info">
<a href="mailto:<?php echo e($email); ?>" class="email fz(16) c(sea-moss)"><i class="fal fa-envelope-open-text c(burnt-orange)"></i><span><?php echo e($email); ?></span></a>
<p class="phone fz(16) c(sea-moss)"><i class="fal fa-mobile-android c(burnt-orange)"></i><span><?php echo e($phone); ?></span></p>
<p class="addy fz(16) c(sea-moss)"><i class="fal fa-building c(burnt-orange)"></i><span><?php echo e($addy); ?></span></p>
</div>
</div>
<hr class="hr">
<div class="right">
<h2 class="fz(28) c(sea-moss) t-2"><?php echo e($data->title_2); ?></h2>
<div class="list">
<?php $__currentLoopData = $data->list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($item->link->url)): ?>
<a href="<?php echo e($item->link->url); ?>" <?php echo e($item->link->blank ? 'target="_blank"' : ''); ?> class="item"><i class="fal fa-asterisk c(burnt-orange)"></i><span class="fz(15) c(sea-moss)"><?php echo e($item->title); ?></span><div class="sm-btn tan-border"><?php echo e($item->link->anchor); ?></div></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php ENDPATH**/ ?>
Arguments
"Undefined variable $email"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Img::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $attributes = $__attributesOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__attributesOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal974beb57630a060906e7ed79fa6f1593)): ?>
<?php $component = $__componentOriginal974beb57630a060906e7ed79fa6f1593; ?>
<?php unset($__componentOriginal974beb57630a060906e7ed79fa6f1593); ?>
<?php endif; ?>
<div class="left">
<h2 class="fz(28) c(sea-moss) t-1"><?php echo e($data->title); ?></h2>
<div class="contact-info">
<a href="mailto:<?php echo e($email); ?>" class="email fz(16) c(sea-moss)"><i class="fal fa-envelope-open-text c(burnt-orange)"></i><span><?php echo e($email); ?></span></a>
<p class="phone fz(16) c(sea-moss)"><i class="fal fa-mobile-android c(burnt-orange)"></i><span><?php echo e($phone); ?></span></p>
<p class="addy fz(16) c(sea-moss)"><i class="fal fa-building c(burnt-orange)"></i><span><?php echo e($addy); ?></span></p>
</div>
</div>
<hr class="hr">
<div class="right">
<h2 class="fz(28) c(sea-moss) t-2"><?php echo e($data->title_2); ?></h2>
<div class="list">
<?php $__currentLoopData = $data->list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($item->link->url)): ?>
<a href="<?php echo e($item->link->url); ?>" <?php echo e($item->link->blank ? 'target="_blank"' : ''); ?> class="item"><i class="fal fa-asterisk c(burnt-orange)"></i><span class="fz(15) c(sea-moss)"><?php echo e($item->title); ?></span><div class="sm-btn tan-border"><?php echo e($item->link->anchor); ?></div></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/blocks/contact_links.blade.php ENDPATH**/ ?>
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/5002742ce28442a5bda3a6de7b6aab50.php"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @throws \Illuminate\View\ViewException
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// 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::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
$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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the number of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// 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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return (new Collection($this->render(fn () => $this->factory->getFragments())))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @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
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/app/Blocks.php
});
foreach ($registerMethods as $method) {
$this->$method();
}
});
}
/**
* Echo template in a uniform way. This is intentionally antipattern.
* Any methods within $blockdata will _not_ be passed to view.
*
* @param string $template Template name
* @param array $blockdata Block Data
*/
private function echoTemplate($template = '', $fields)
{
// if (empty($template)) return false;
echo \Roots\view($template, ['data' => json_decode(json_encode($fields))])->render();
}
/**
* About Block doRegistration
*/
private function registerAbout()
{
Block::make('About')
->add_fields([
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('checkbox', 'hide', 'Hide Icon?')
->set_option_value('yes')
->set_width(50),
Field::make('textarea', 'desc', 'Description')
->set_width(50),
Field::make('text', 'b_desc', 'Button Description')
->set_width(50),
Field::make('urlpicker', 'btn', 'Button')
->set_width(50)
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/app/Blocks.php
Field::make('image', 'image', 'Image')
->set_width(50),
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('text', 'title_2', 'Second Title')
->set_width(50),
Field::make('complex', 'list', 'List')
->set_layout('tabbed-vertical')
->add_fields([
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('urlpicker', 'link', 'Link')
->set_width(50)
])
->set_header_template('<%- title %>')
])
->set_icon('phone')
->set_category('custom-layout', 'Custom Layout')
->set_render_callback(function($block){
$this->echoTemplate('blocks.contact_links', $block);
});
}
/**
* CTA Block Registration
*/
private function registerCta()
{
Block::make('CTA')
->add_fields([
Field::make('image', 'image', 'Image')
->set_width(50),
Field::make('text', 'eyebrow', 'Eyebrow')
->set_width(50),
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('text', 'subtitle', 'Subtitle')
->set_width(50),
Field::make('complex', 'btns', 'Buttons')
->set_layout('tabbed-horizontal')
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php
return $post_id;
}
/**
* Render the block type.
*
* @param array $attributes
* @param string $content
* @param \WP_Block $block
* @return string
*/
public function render_block( $attributes, $content, $block = null ) { // added variable at the end
$fields = $attributes['data'];
$post_id = $this->get_post_id();
// Unset the "data" property because we
// pass it as separate argument to the callback.
unset($attributes['data']);
ob_start();
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
return ob_get_clean();
}
/**
* Returns the block type name, e.g. "carbon-fields/testimonial"
*/
private function get_block_type_name() {
return str_replace( 'carbon-fields-container-', 'carbon-fields/', str_replace( '_', '-', $this->id ) );
}
/**
* Register the block type.
*
* @return void
*/
protected function register_block() {
if ( is_null( $this->render_callback ) ) {
throw new \Exception( __( "'render_callback' is required for the blocks.", 'crb' ) );
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php
return $post_id;
}
/**
* Render the block type.
*
* @param array $attributes
* @param string $content
* @param \WP_Block $block
* @return string
*/
public function render_block( $attributes, $content, $block = null ) { // added variable at the end
$fields = $attributes['data'];
$post_id = $this->get_post_id();
// Unset the "data" property because we
// pass it as separate argument to the callback.
unset($attributes['data']);
ob_start();
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
return ob_get_clean();
}
/**
* Returns the block type name, e.g. "carbon-fields/testimonial"
*/
private function get_block_type_name() {
return str_replace( 'carbon-fields-container-', 'carbon-fields/', str_replace( '_', '-', $this->id ) );
}
/**
* Register the block type.
*
* @return void
*/
protected function register_block() {
if ( is_null( $this->render_callback ) ) {
throw new \Exception( __( "'render_callback' is required for the blocks.", 'crb' ) );
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/class-wp-block.php
}
++$index;
}
}
}
if ( ! empty( $computed_attributes ) && ! empty( $block_content ) ) {
foreach ( $computed_attributes as $attribute_name => $source_value ) {
$block_content = $this->replace_html( $block_content, $attribute_name, $source_value );
}
}
if ( $is_dynamic ) {
$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;
}
if ( ( ! empty( $this->block_type->script_handles ) ) ) {
foreach ( $this->block_type->script_handles as $script_handle ) {
wp_enqueue_script( $script_handle );
}
}
if ( ! empty( $this->block_type->view_script_handles ) ) {
foreach ( $this->block_type->view_script_handles as $view_script_handle ) {
wp_enqueue_script( $view_script_handle );
}
}
if ( ! empty( $this->block_type->view_script_module_ids ) ) {
foreach ( $this->block_type->view_script_module_ids as $view_script_module_id ) {
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/blocks.php
*
* @param array $context Default context.
* @param array $parsed_block {
* An associative array of the block being rendered. See WP_Block_Parser_Block.
*
* @type string|null $blockName Name of block.
* @type array $attrs Attributes from block comment delimiters.
* @type array[] $innerBlocks List of inner blocks. An array of arrays that
* have the same structure as this one.
* @type string $innerHTML HTML from inside block comment delimiters.
* @type array $innerContent List of string fragments and null markers where
* inner blocks were found.
* }
* @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block.
*/
$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.
*
* Given an HTML document, this function fully-parses block content, producing
* a tree of blocks and their contents, as well as top-level non-block content,
* which will appear as a block with no `blockName`.
*
* This function can be memory heavy for certain documents, particularly those
* with deeply-nested blocks or blocks with extensive attribute values. Further,
* this function must parse an entire document in one atomic operation.
*
* If the entire parsed document is not necessary, consider using {@see WP_Block_Processor}
* instead, as it provides a streaming and low-overhead interface for finding blocks.
*
* @since 5.0.0
*
* @param string $content Post content.
* @return array[] {
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/blocks.php
* Parsed blocks consist of a list of top-level blocks. Those top-level
* blocks may themselves contain nested inner blocks. However, every
* top-level block is rendered independently, meaning there are no data
* dependencies between them.
*
* Ideally, therefore, the parser would only need to parse one complete
* top-level block at a time, render it, and move on. Unfortunately, this
* is not possible with {@see \parse_blocks()} because it must parse the
* entire given document at once.
*
* While the current implementation prevents this optimization, it’s still
* possible to reduce the peak memory use when calls to `render_block()`
* on those top-level blocks are memory-heavy (which many of them are).
* By setting each parsed block to `NULL` after rendering it, any memory
* allocated during the render will be freed and reused for the next block.
* Before making this change, that memory was retained and would lead to
* out-of-memory crashes for certain posts that now run with this change.
*/
for ( $i = 0; $i < $top_level_block_count; $i++ ) {
$output .= render_block( $blocks[ $i ] );
$blocks[ $i ] = null;
}
// 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 ) ) {
remove_filter( 'the_content', 'wpautop', $priority );
add_filter( 'the_content', '_restore_wpautop_hook', $priority + 1 );
}
return $output;
}
/**
* If do_blocks() needs to remove wpautop() from the `the_content` filter, this re-adds it afterwards,
* for subsequent `the_content` usage.
*
* @since 5.0.0
* @access private
*
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/class-wp-hook.php
$this->iterations[ $nesting_level ] = $this->priorities;
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
$priority = $this->current_priority[ $nesting_level ];
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// 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 ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
--$this->nesting_level;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/plugin.php
$all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
_wp_call_all_hook( $all_args );
}
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
// 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;
}
/**
* Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
*
* @since 3.0.0
*
* @see apply_filters() This function is identical, but the arguments passed to the
* functions hooked to `$hook_name` are supplied using an array.
*
* @global WP_Hook[] $wp_filter Stores all of the filters and actions.
* @global int[] $wp_filters Stores the number of times each filter was triggered.
* @global string[] $wp_current_filter Stores the list of current filters with the current one last.
*
* @param string $hook_name The name of the filter hook.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/post-template.php
/**
* Displays the post content.
*
* @since 0.71
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default false.
*/
function the_content( $more_link_text = null, $strip_teaser = false ) {
$content = get_the_content( $more_link_text, $strip_teaser );
/**
* Filters the post content.
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
echo $content;
}
/**
* Retrieves the post content.
*
* @since 0.71
* @since 5.2.0 Added the `$post` parameter.
*
* @global int $page Page number of a single post/page.
* @global int $more Boolean indicator for whether single post/page is being viewed.
* @global bool $preview Whether post/page is in preview mode.
* @global array $pages Array of all pages in post/page. Each array element contains
* part of the content separated by the `<!--nextpage-->` tag.
* @global int $multipage Boolean indicator for whether multiple pages are in play.
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default false.
* @param WP_Post|object|int $post Optional. WP_Post instance or Post ID/object. Default null.
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/108058cdb5d60b5e496555ccdeb5a21b.php
<?php (the_content()); ?>
<?php if($pagination()): ?>
<nav class="page-nav" aria-label="Page">
<?php echo $pagination; ?>
</nav>
<?php endif; ?>
<?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/108058cdb5d60b5e496555ccdeb5a21b.php"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @throws \Illuminate\View\ViewException
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// 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::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
$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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the number of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// 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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return (new Collection($this->render(fn () => $this->factory->getFragments())))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @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
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/e8c4fce0730c2b36149b8d9365a41d0f.php
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->make('partials.page-header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php echo $__env->make('partials.content-page', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/resources/views/template-custom.blade.php ENDPATH**/ ?>
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/cache/acorn/framework/views/e8c4fce0730c2b36149b8d9365a41d0f.php"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @throws \Illuminate\View\ViewException
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// 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::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
$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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the number of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// 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();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return (new Collection($this->render(fn () => $this->factory->getFragments())))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @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
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/index.php
<?php
echo view(app('sage.view'), app('sage.data'))->render();
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/template-loader.php
*/
$template = apply_filters( 'template_include', $template );
$is_stringy = is_string( $template ) || ( is_object( $template ) && method_exists( $template, '__toString' ) );
$template = $is_stringy ? realpath( (string) $template ) : null;
if (
is_string( $template ) &&
( str_ends_with( $template, '.php' ) || str_ends_with( $template, '.html' ) ) &&
is_file( $template ) &&
is_readable( $template )
) {
/**
* Fires immediately before including the template.
*
* @since 6.9.0
*
* @param string $template The path of the template about to be included.
*/
do_action( 'wp_before_include_template', $template );
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-content/themes/resig/index.php"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-includes/template-loader.php"
/var/www/vhosts/resig.kalerwhales.com/httpdocs/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/var/www/vhosts/resig.kalerwhales.com/httpdocs/wp-blog-header.php"