/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php
<div class="accordion text-sm">
<details>
<summary class="py-2 container">
<span>Categories</span>
<i class="fas fa-angle-down"></i>
</summary>
<div class="accordion--content container py-4">
<nav class="nav--sub-bar">
<ul class="nav--list">
<?php if( $terms ): ?>
<?php $__currentLoopData = $terms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $term): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php ( $term_link = get_term_link( $term ) ); ?>
<li><a href="<?php echo $term_link; ?>"><?php echo $term->name; ?></a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</ul>
</nav>
</div>
</details>
</div><?php /**PATH /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php ENDPATH**/ ?>
Arguments
"Object of class WP_Error could not be converted to string (View: /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php) (View: /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php)"
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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();
}
Arguments
Illuminate\View\ViewException {#6204
#message: "Object of class WP_Error could not be converted to string (View: /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php)"
#code: 0
#file: "/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php"
#line: 15
-previous: Error {#6199
#message: "Object of class WP_Error could not be converted to string"
#code: 0
#file: "/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php"
#line: 15
}
#severity: E_ERROR
}
5
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php
<div class="accordion text-sm">
<details>
<summary class="py-2 container">
<span>Categories</span>
<i class="fas fa-angle-down"></i>
</summary>
<div class="accordion--content container py-4">
<nav class="nav--sub-bar">
<ul class="nav--list">
<?php if( $terms ): ?>
<?php $__currentLoopData = $terms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $term): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php ( $term_link = get_term_link( $term ) ); ?>
<li><a href="<?php echo $term_link; ?>"><?php echo $term->name; ?></a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</ul>
</nav>
</div>
</details>
</div><?php /**PATH /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php ENDPATH**/ ?>
Arguments
"Object of class WP_Error could not be converted to string (View: /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php)"
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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();
}
Arguments
Error {#6199
#message: "Object of class WP_Error could not be converted to string"
#code: 0
#file: "/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php"
#line: 15
}
7
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php
<div class="accordion text-sm">
<details>
<summary class="py-2 container">
<span>Categories</span>
<i class="fas fa-angle-down"></i>
</summary>
<div class="accordion--content container py-4">
<nav class="nav--sub-bar">
<ul class="nav--list">
<?php if( $terms ): ?>
<?php $__currentLoopData = $terms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $term): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php ( $term_link = get_term_link( $term ) ); ?>
<li><a href="<?php echo $term_link; ?>"><?php echo $term->name; ?></a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</ul>
</nav>
</div>
</details>
</div><?php /**PATH /home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php ENDPATH**/ ?>
Arguments
"Object of class WP_Error could not be converted to string"
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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;
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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;
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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();
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php"
array:9 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
"queried_object" => WP_User {#5975}
"taxonomy" => ""
"terms" => WP_Error {#6200}
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
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 ($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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/2b1c3f670cc9afa028ecd71895daadfede1012fc.php"
array:9 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
"queried_object" => WP_User {#5975}
"taxonomy" => ""
"terms" => WP_Error {#6200}
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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 sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
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;
}
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/components/sub-bar-tax.blade.php"
array:9 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
"queried_object" => WP_User {#5975}
"taxonomy" => ""
"terms" => WP_Error {#6200}
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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 amount 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 sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|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
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/33825c154ab091e1873c1a87d78bae9e21a47790.php
<?php
$queried_object = get_queried_object();
$taxonomy = $queried_object->taxonomy;
$terms = get_terms(['taxonomy' => $taxonomy, 'parent' => $queried_object->term_id]);
?>
<?php if( count( $terms ) > 0 ): ?>
<?php $__env->startSection('header-sub-bar'); ?>
<?php echo $__env->make('components/sub-bar-tax', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php endif; ?>
<?php $__env->startSection('content'); ?>
<header>
<h1 class="entry-title container"><?php ( the_archive_title() ); ?></h1>
</header>
<section class="page-section bg-secondary">
<div class="cards container">
<?php if(empty($query)): ?>
<?php global $wp_query; ?>
<?php $query = $wp_query; ?>
<?php endif; ?>
<?php if($query->have_posts()): ?>
<?php while($query->have_posts()): ?>
<?php ( $query->the_post() ); ?>
<?php echo $__env->first(['partials.content-' . get_post_type(), 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php ( wp_reset_postdata() ); ?>
<?php endif; ?>
</div>
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/33825c154ab091e1873c1a87d78bae9e21a47790.php"
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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;
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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();
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/33825c154ab091e1873c1a87d78bae9e21a47790.php"
array:6 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
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 ($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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/storage/framework/views/33825c154ab091e1873c1a87d78bae9e21a47790.php"
array:6 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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 sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
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;
}
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/resources/views/archive.blade.php"
array:6 [
"__env" => Illuminate\View\Factory {#2922}
"app" => Roots\Acorn\Application {#2837}
"post" => WP_Post {#5856}
"siteName" => "Brisbane Skin, Dermatologist Brisbane. Medical, surgical, cosmetic"
"themeDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin"
"assetDir" => "https://brisbaneskin.com.au/wp-content/themes/brisbaneskin/public"
]
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/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 amount 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 sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|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
/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta name="google-site-verification" content="ytZac6By34TgJxgBbHCnV3jZqhV0jtcz1Ni-CVlc9MY" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
<script defer src="https://connect.podium.com/widget.js#ORG_TOKEN=8e2acfab-4eaa-4fa8-9f49-f7cc8873e175" id="podium-widget" data-organization-api-token="8e2acfab-4eaa-4fa8-9f49-f7cc8873e175"></script>
</body>
</html>
/home/brisbaneskin/public_html/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @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() );
}
}
return;
}
Arguments
"/home/brisbaneskin/public_html/wp-content/themes/brisbaneskin/index.php"
/home/brisbaneskin/public_html/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
"/home/brisbaneskin/public_html/wp-includes/template-loader.php"
/home/brisbaneskin/public_html/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
"/home/brisbaneskin/public_html/wp-blog-header.php"