$local_url = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '';
$local_url .= isset( $parsed_url['host'] ) ? $parsed_url['host'] : '';
$local_url .= isset( $parsed_url['path'] ) ? $parsed_url['path'] : '';
$id_v2 = pathinfo( preg_replace( '/[\/\:]/', '_', $local_url ), PATHINFO_FILENAME );
$local_file_v2 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$id_v2." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
$local_file_v3 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$type/$id_v3." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
if ( ! trim( $id_v2 ) && ! trim( $id_v3 ) ) {
continue;
}
// 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
<body <?php body_class('woocommerce-block-theme-has-button-styles'); ?>>
<?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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
$local_url = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '';
$local_url .= isset( $parsed_url['host'] ) ? $parsed_url['host'] : '';
$local_url .= isset( $parsed_url['path'] ) ? $parsed_url['path'] : '';
$id_v2 = pathinfo( preg_replace( '/[\/\:]/', '_', $local_url ), PATHINFO_FILENAME );
$local_file_v2 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$id_v2." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
$local_file_v3 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$type/$id_v3." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
if ( ! trim( $id_v2 ) && ! trim( $id_v3 ) ) {
continue;
}
// 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
<?= \Roots\view('woocommerce.content-product', $data ?? get_defined_vars())->render(); ?>
<?php /**PATH /var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-product.blade.php ENDPATH**/ ?>
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
if ( $load_once ) {
require_once $_template_file;
} else {
require $_template_file;
}
/**
* Fires after a template file is loaded.
*
// Allow 3rd party plugins to filter template file from their plugin.
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
if ( $template ) {
load_template( $template, false );
}
}
/**
* Get other templates (e.g. product attributes) passing attributes and including the file.
<?php
$post_object = get_post( $related_product->get_id() );
setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited, Squiz.PHP.DisallowMultipleAssignments.Found
wc_get_template_part( 'content', 'product' );
?>
<?php endforeach; ?>
<?php woocommerce_product_loop_end(); ?>
extract( $args ); // @codingStandardsIgnoreLine
}
do_action( 'woocommerce_before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
include $action_args['located'];
do_action( 'woocommerce_after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
}
/**
// Set global loop values.
wc_set_loop_prop( 'name', 'related' );
wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_related_products_columns', $args['columns'] ) );
wc_get_template( 'single-product/related.php', $args );
}
}
if ( ! function_exists( 'woocommerce_upsell_display' ) ) {
'posts_per_page' => 4,
'columns' => 4,
'orderby' => 'rand', // @codingStandardsIgnoreLine.
);
woocommerce_related_products( apply_filters( 'woocommerce_output_related_products_args', $args ) );
}
}
if ( ! function_exists( 'woocommerce_related_products' ) ) {
// 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 ] ) );
*
* @param array $args Parameters to pass to the callback functions.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
*
* @hooked woocommerce_output_product_data_tabs - 10
* @hooked woocommerce_upsell_display - 15
* @hooked woocommerce_output_related_products - 20
*/
do_action( 'woocommerce_after_single_product_summary' );
?>
</div>
<?php do_action( 'woocommerce_after_single_product' ); ?>
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
if ( $load_once ) {
require_once $_template_file;
} else {
require $_template_file;
}
/**
* Fires after a template file is loaded.
*
// Allow 3rd party plugins to filter template file from their plugin.
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
if ( $template ) {
load_template( $template, false );
}
}
/**
* Get other templates (e.g. product attributes) passing attributes and including the file.
?>
<?php while(have_posts()): ?>
<?php
the_post();
wc_get_template_part('content', 'single-product');
?>
<?php endwhile; ?>
<?php
do_action('woocommerce_after_main_content');
$__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
<body <?php body_class('woocommerce-block-theme-has-button-styles'); ?>>
<?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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
$local_url = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '';
$local_url .= isset( $parsed_url['host'] ) ? $parsed_url['host'] : '';
$local_url .= isset( $parsed_url['path'] ) ? $parsed_url['path'] : '';
$id_v2 = pathinfo( preg_replace( '/[\/\:]/', '_', $local_url ), PATHINFO_FILENAME );
$local_file_v2 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$id_v2." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
$local_file_v3 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$type/$id_v3." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
if ( ! trim( $id_v2 ) && ! trim( $id_v3 ) ) {
continue;
}
* @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;
}
$local_url = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '';
$local_url .= isset( $parsed_url['host'] ) ? $parsed_url['host'] : '';
$local_url .= isset( $parsed_url['path'] ) ? $parsed_url['path'] : '';
$id_v2 = pathinfo( preg_replace( '/[\/\:]/', '_', $local_url ), PATHINFO_FILENAME );
$local_file_v2 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$id_v2." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
$local_file_v3 = wp_normalize_path( WAVEPLAYER_PEAK_FOLDER . "$type/$id_v3." . pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) );
if ( ! trim( $id_v2 ) && ! trim( $id_v3 ) ) {
continue;
}
if ( isset( $args['ids'] ) ) {
$tracks = array_merge( $tracks, AJAX::create_playlist( $args['ids'], $post_id ) );
}
if ( isset( $args['url'] ) && $args['url'] ) {
$tracks = array_merge( $tracks, AJAX::create_external_playlist( $args['url'], $post_id ) );
}
if ( isset( $args['tracks'] ) ) {
$track_param = json_decode( base64_decode( $args['tracks'] ), true ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
if ( is_array( $track_param ) ) {
$stack .= self::shortcode_content( $single_args );
}
return $stack;
} else {
return self::shortcode_content( $args );
}
}
/**
*
return $return;
}
$content = isset( $m[5] ) ? $m[5] : null;
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
/**
* Filters the output created by a shortcode callback.
*
* @since 4.7.0
}
$content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
$pattern = get_shortcode_regex( $tagnames );
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
// Always restore square braces so we don't break things like <!--[if IE ]>.
$content = unescape_invalid_shortcodes( $content );
// Only remove the filter if it was added in this scope.
},
array_keys( $args ),
$args
)
);
return do_shortcode( "[waveplayer $params]" );
}
}
return false;
}
* @since 3.0.0
*/
public static function print_product_player() {
global $product;
$product_player = self::product_player( $product, self::get_player_args() );
if ( $product_player ) {
echo $product_player; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
// 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 ] ) );
*
* @param array $args Parameters to pass to the callback functions.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
/**
* Hook: woocommerce_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
/**
* Hook: woocommerce_after_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_rating - 5
$__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
<?= \Roots\view('woocommerce.content-product', $data ?? get_defined_vars())->render(); ?>
<?php /**PATH /var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-product.blade.php ENDPATH**/ ?>
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
if ( $load_once ) {
require_once $_template_file;
} else {
require $_template_file;
}
/**
* Fires after a template file is loaded.
*
// Allow 3rd party plugins to filter template file from their plugin.
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
if ( $template ) {
load_template( $template, false );
}
}
/**
* Get other templates (e.g. product attributes) passing attributes and including the file.
<?php
$post_object = get_post( $related_product->get_id() );
setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited, Squiz.PHP.DisallowMultipleAssignments.Found
wc_get_template_part( 'content', 'product' );
?>
<?php endforeach; ?>
<?php woocommerce_product_loop_end(); ?>
extract( $args ); // @codingStandardsIgnoreLine
}
do_action( 'woocommerce_before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
include $action_args['located'];
do_action( 'woocommerce_after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
}
/**
// Set global loop values.
wc_set_loop_prop( 'name', 'related' );
wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_related_products_columns', $args['columns'] ) );
wc_get_template( 'single-product/related.php', $args );
}
}
if ( ! function_exists( 'woocommerce_upsell_display' ) ) {
'posts_per_page' => 4,
'columns' => 4,
'orderby' => 'rand', // @codingStandardsIgnoreLine.
);
woocommerce_related_products( apply_filters( 'woocommerce_output_related_products_args', $args ) );
}
}
if ( ! function_exists( 'woocommerce_related_products' ) ) {
// 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 ] ) );
*
* @param array $args Parameters to pass to the callback functions.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
*
* @hooked woocommerce_output_product_data_tabs - 10
* @hooked woocommerce_upsell_display - 15
* @hooked woocommerce_output_related_products - 20
*/
do_action( 'woocommerce_after_single_product_summary' );
?>
</div>
<?php do_action( 'woocommerce_after_single_product' ); ?>
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
if ( $load_once ) {
require_once $_template_file;
} else {
require $_template_file;
}
/**
* Fires after a template file is loaded.
*
// Allow 3rd party plugins to filter template file from their plugin.
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
if ( $template ) {
load_template( $template, false );
}
}
/**
* Get other templates (e.g. product attributes) passing attributes and including the file.
?>
<?php while(have_posts()): ?>
<?php
the_post();
wc_get_template_part('content', 'single-product');
?>
<?php endwhile; ?>
<?php
do_action('woocommerce_after_main_content');
$__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
<body <?php body_class('woocommerce-block-theme-has-button-styles'); ?>>
<?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';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
[3/3]
ViewException
|
---|
Illuminate\View\ViewException: Undefined array key "path" (View: /var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-product.blade.php) (View: /var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-product.blade.php) at /var/www/html/wp-content/plugins/waveplayer/includes/class-ajax.php:792 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/html/wp-content/themes/swamp/index.php:21) at include('/var/www/html/wp-content/themes/swamp/index.php') (/var/www/html/wp-includes/template-loader.php:106) at require_once('/var/www/html/wp-includes/template-loader.php') (/var/www/html/wp-blog-header.php:19) at require('/var/www/html/wp-blog-header.php') (/var/www/html/index.php:17) |
[2/3]
ViewException
|
---|
Illuminate\View\ViewException: Undefined array key "path" (View: /var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-product.blade.php) at /var/www/html/wp-content/plugins/waveplayer/includes/class-ajax.php:792 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/html/wp-content/cache/acorn/framework/views/f772eb19544980d1eb3d58fdda880852-loader.php:1) at require('/var/www/html/wp-content/cache/acorn/framework/views/f772eb19544980d1eb3d58fdda880852-loader.php') (/var/www/html/wp-includes/template.php:792) at load_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284) at wc_get_template_part() (/var/www/html/wp-content/plugins/woocommerce/templates/single-product/related.php:43) at include('/var/www/html/wp-content/plugins/woocommerce/templates/single-product/related.php') (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:345) at wc_get_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:2080) at woocommerce_related_products() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:2043) at woocommerce_output_related_products() (/var/www/html/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/var/www/html/wp-includes/class-wp-hook.php:348) at WP_Hook->do_action() (/var/www/html/wp-includes/plugin.php:517) at do_action() (/var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-single-product.php:78) at require('/var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-single-product.php') (/var/www/html/wp-includes/template.php:792) at load_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284) at wc_get_template_part() (/var/www/html/wp-content/cache/acorn/framework/views/0c5552f9cefc0de239fe292f1026eb623292f508.php:10) at require('/var/www/html/wp-content/cache/acorn/framework/views/0c5552f9cefc0de239fe292f1026eb623292f508.php') (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/html/wp-content/themes/swamp/index.php:21) at include('/var/www/html/wp-content/themes/swamp/index.php') (/var/www/html/wp-includes/template-loader.php:106) at require_once('/var/www/html/wp-includes/template-loader.php') (/var/www/html/wp-blog-header.php:19) at require('/var/www/html/wp-blog-header.php') (/var/www/html/index.php:17) |
[1/3]
ErrorException
|
---|
ErrorException: Undefined array key "path" at /var/www/html/wp-content/plugins/waveplayer/includes/class-ajax.php:792 at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() (/var/www/html/wp-content/themes/swamp/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54) at Roots\Acorn\Bootstrap\HandleExceptions->handleError() (/var/www/html/wp-content/plugins/waveplayer/includes/class-ajax.php:792) at PerfectPeach\WavePlayer\AJAX::create_external_playlist() (/var/www/html/wp-content/plugins/waveplayer/includes/class-renderer.php:1004) at PerfectPeach\WavePlayer\Renderer::shortcode_content() (/var/www/html/wp-content/plugins/waveplayer/includes/class-renderer.php:889) at PerfectPeach\WavePlayer\Renderer::waveplayer_shortcode() (/var/www/html/wp-includes/shortcodes.php:433) at do_shortcode_tag() at preg_replace_callback() (/var/www/html/wp-includes/shortcodes.php:273) at do_shortcode() (/var/www/html/wp-content/plugins/waveplayer/includes/class-woocommerce.php:739) at PerfectPeach\WavePlayer\WooCommerce::product_player() (/var/www/html/wp-content/plugins/waveplayer/includes/class-woocommerce.php:755) at PerfectPeach\WavePlayer\WooCommerce::print_product_player() (/var/www/html/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/var/www/html/wp-includes/class-wp-hook.php:348) at WP_Hook->do_action() (/var/www/html/wp-includes/plugin.php:517) at do_action() (/var/www/html/wp-content/cache/acorn/framework/views/e09dfe86dc4133e8bdbd6dee5ce9e7cff43b995d.php:51) at require('/var/www/html/wp-content/cache/acorn/framework/views/e09dfe86dc4133e8bdbd6dee5ce9e7cff43b995d.php') (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/html/wp-content/cache/acorn/framework/views/f772eb19544980d1eb3d58fdda880852-loader.php:1) at require('/var/www/html/wp-content/cache/acorn/framework/views/f772eb19544980d1eb3d58fdda880852-loader.php') (/var/www/html/wp-includes/template.php:792) at load_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284) at wc_get_template_part() (/var/www/html/wp-content/plugins/woocommerce/templates/single-product/related.php:43) at include('/var/www/html/wp-content/plugins/woocommerce/templates/single-product/related.php') (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:345) at wc_get_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:2080) at woocommerce_related_products() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:2043) at woocommerce_output_related_products() (/var/www/html/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/var/www/html/wp-includes/class-wp-hook.php:348) at WP_Hook->do_action() (/var/www/html/wp-includes/plugin.php:517) at do_action() (/var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-single-product.php:78) at require('/var/www/html/wp-content/themes/swamp/resources/views/woocommerce/content-single-product.php') (/var/www/html/wp-includes/template.php:792) at load_template() (/var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284) at wc_get_template_part() (/var/www/html/wp-content/cache/acorn/framework/views/0c5552f9cefc0de239fe292f1026eb623292f508.php:10) at require('/var/www/html/wp-content/cache/acorn/framework/views/0c5552f9cefc0de239fe292f1026eb623292f508.php') (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/Engines/CompilerEngine.php:61) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/var/www/html/wp-content/themes/swamp/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/var/www/html/wp-content/themes/swamp/index.php:21) at include('/var/www/html/wp-content/themes/swamp/index.php') (/var/www/html/wp-includes/template-loader.php:106) at require_once('/var/www/html/wp-includes/template-loader.php') (/var/www/html/wp-blog-header.php:19) at require('/var/www/html/wp-blog-header.php') (/var/www/html/index.php:17) |