$attributes .= ' ' . $attr . '="' . $value . '"';
}
}
$title = apply_filters('the_title', $data_object->title, $data_object->ID);
$title = apply_filters('nav_menu_item_title', $title, $data_object, $args, $depth);
$data_object_output = $args->before;
$data_object_output .= '<a'. $attributes .'>';
$data_object_output .= $args->link_before . $title . $args->link_after;
$data_object_output .= '</a>';
$data_object_output .= $args->after;
$output .= apply_filters('walker_nav_menu_start_el', $data_object_output, $data_object, $depth, $args);
// 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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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 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';
$attributes .= ' ' . $attr . '="' . $value . '"';
}
}
$title = apply_filters('the_title', $data_object->title, $data_object->ID);
$title = apply_filters('nav_menu_item_title', $title, $data_object, $args, $depth);
$data_object_output = $args->before;
$data_object_output .= '<a'. $attributes .'>';
$data_object_output .= $args->link_before . $title . $args->link_after;
$data_object_output .= '</a>';
$data_object_output .= $args->after;
$output .= apply_filters('walker_nav_menu_start_el', $data_object_output, $data_object, $depth, $args);
// 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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/single.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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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 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';
$attributes .= ' ' . $attr . '="' . $value . '"';
}
}
$title = apply_filters('the_title', $data_object->title, $data_object->ID);
$title = apply_filters('nav_menu_item_title', $title, $data_object, $args, $depth);
$data_object_output = $args->before;
$data_object_output .= '<a'. $attributes .'>';
$data_object_output .= $args->link_before . $title . $args->link_after;
$data_object_output .= '</a>';
$data_object_output .= $args->after;
$output .= apply_filters('walker_nav_menu_start_el', $data_object_output, $data_object, $depth, $args);
// 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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/partials/content-single-games.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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/single.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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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 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';
$attributes .= ' ' . $attr . '="' . $value . '"';
}
}
$title = apply_filters('the_title', $data_object->title, $data_object->ID);
$title = apply_filters('nav_menu_item_title', $title, $data_object, $args, $depth);
$data_object_output = $args->before;
$data_object_output .= '<a'. $attributes .'>';
$data_object_output .= $args->link_before . $title . $args->link_after;
$data_object_output .= '</a>';
$data_object_output .= $args->after;
$output .= apply_filters('walker_nav_menu_start_el', $data_object_output, $data_object, $depth, $args);
* @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;
}
$attributes .= ' ' . $attr . '="' . $value . '"';
}
}
$title = apply_filters('the_title', $data_object->title, $data_object->ID);
$title = apply_filters('nav_menu_item_title', $title, $data_object, $args, $depth);
$data_object_output = $args->before;
$data_object_output .= '<a'. $attributes .'>';
$data_object_output .= $args->link_before . $title . $args->link_after;
$data_object_output .= '</a>';
$data_object_output .= $args->after;
$output .= apply_filters('walker_nav_menu_start_el', $data_object_output, $data_object, $depth, $args);
$this->has_children = ! empty( $children_elements[ $id ] );
if ( isset( $args[0] ) && is_array( $args[0] ) ) {
$args[0]['has_children'] = $this->has_children; // Back-compat.
}
$this->start_el( $output, $element, $depth, ...array_values( $args ) );
// Descend only when the depth is right and there are children for this element.
if ( ( 0 == $max_depth || $max_depth > $depth + 1 ) && isset( $children_elements[ $id ] ) ) {
foreach ( $children_elements[ $id ] as $child ) {
}
}
}
foreach ( $top_level_elements as $e ) {
$this->display_element( $e, $children_elements, $max_depth, 0, $args, $output );
}
/*
* If we are displaying all levels, and remaining children_elements is not empty,
* then we got orphans, which should be displayed regardless.
if ( $page->post_parent ) {
$args['pages_with_children'][ $page->post_parent ] = true;
}
}
return $walker->walk( $pages, $depth, $args, $current_page );
}
/**
* Retrieves HTML dropdown (select) content for page list.
*
if ( is_post_type_hierarchical( $queried_object->post_type ) ) {
$current_page = $queried_object->ID;
}
}
$output .= walk_page_tree( $pages, $parsed_args['depth'], $current_page, $parsed_args );
if ( $parsed_args['title_li'] ) {
$output .= '</ul></li>';
}
}
}
}
$list_args['echo'] = false;
$list_args['title_li'] = '';
$menu .= wp_list_pages( $list_args );
$container = sanitize_text_field( $args['container'] );
// Fallback in case `wp_nav_menu()` was called without a container.
if ( empty( $container ) ) {
* - Fall back, but only if no theme location was specified.
* - Otherwise, bail.
*/
if ( ( ! $menu || is_wp_error( $menu ) || ( isset( $menu_items ) && empty( $menu_items ) && ! $args->theme_location ) )
&& isset( $args->fallback_cb ) && $args->fallback_cb && is_callable( $args->fallback_cb ) ) {
return call_user_func( $args->fallback_cb, (array) $args );
}
if ( ! $menu || is_wp_error( $menu ) ) {
return false;
}
<?php
wp_nav_menu(array(
'theme_location' => 'primary_navigation',
'menu_class' => 'list-none p-1',
'items_wrap' => '<ul id="%1$s" class="flex flex-col p-4 mt-4 border md:flex-row md:space-x-8 md:mt-0 md:text-sm md:font-medium md:border-0 bg-primary-500">%3$s</ul>',
'walker' => new \App\Walkers\PrimaryNavMenuWalker()
))
?>
</div>
</div>
</nav>
$__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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/partials/content-single-games.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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/single.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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
*
* @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 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();
* @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 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';
[4/4]
ViewException
|
---|
Illuminate\View\ViewException: Attempt to read property "before" on array (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) at /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/app/Walkers/PrimaryNavMenuWalker.php:41 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php:20) at include('/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php:106) at require_once('/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php:19) at require('/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php') (/var/www/sigmaplay/sigmaredesign/web/index.php:6) |
[3/4]
ViewException
|
---|
Illuminate\View\ViewException: Attempt to read property "before" on array (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) at /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/app/Walkers/PrimaryNavMenuWalker.php:41 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php:3) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php:20) at include('/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php:106) at require_once('/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php:19) at require('/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php') (/var/www/sigmaplay/sigmaredesign/web/index.php:6) |
[2/4]
ViewException
|
---|
Illuminate\View\ViewException: Attempt to read property "before" on array (View: /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/resources/views/layouts/app.blade.php) at /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/app/Walkers/PrimaryNavMenuWalker.php:41 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/b74df2a0e6b7b394e9b65caf24249343e47750f9.php:610) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/b74df2a0e6b7b394e9b65caf24249343e47750f9.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php:3) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php:20) at include('/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php:106) at require_once('/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php:19) at require('/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php') (/var/www/sigmaplay/sigmaredesign/web/index.php:6) |
[1/4]
ErrorException
|
---|
ErrorException: Attempt to read property "before" on array at /var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/app/Walkers/PrimaryNavMenuWalker.php:41 at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54) at Roots\Acorn\Bootstrap\HandleExceptions->handleError() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/app/Walkers/PrimaryNavMenuWalker.php:41) at App\Walkers\PrimaryNavMenuWalker->start_el() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/class-wp-walker.php:147) at Walker->display_element() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/class-wp-walker.php:247) at Walker->walk() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/post-template.php:1567) at walk_page_tree() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/post-template.php:1350) at wp_list_pages() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/post-template.php:1482) at wp_page_menu() (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/nav-menu-template.php:164) at wp_nav_menu() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/a622d463364abb51d14034e69057368ff7c264f5.php:17) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/a622d463364abb51d14034e69057368ff7c264f5.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/b74df2a0e6b7b394e9b65caf24249343e47750f9.php:610) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/b74df2a0e6b7b394e9b65caf24249343e47750f9.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php:3) at require('/var/www/sigmaplay/sigmaredesign/web/app/cache/acorn/framework/views/1d365f815200793c43e2485233866c659da50b1d.php') (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php:20) at include('/var/www/sigmaplay/sigmaredesign/web/app/themes/sigma-main/index.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php:106) at require_once('/var/www/sigmaplay/sigmaredesign/web/wp/wp-includes/template-loader.php') (/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php:19) at require('/var/www/sigmaplay/sigmaredesign/web/wp/wp-blog-header.php') (/var/www/sigmaplay/sigmaredesign/web/index.php:6) |