ErrorException {#7039 #severity: E_WARNING }
$located = ''; foreach ( (array) $template_names as $template_name ) { if ( ! $template_name ) { continue; } if ( file_exists( STYLESHEETPATH . '/' . $template_name ) ) { $located = STYLESHEETPATH . '/' . $template_name; break; } elseif ( file_exists( TEMPLATEPATH . '/' . $template_name ) ) { $located = TEMPLATEPATH . '/' . $template_name; break; * @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; } $located = ''; foreach ( (array) $template_names as $template_name ) { if ( ! $template_name ) { continue; } if ( file_exists( STYLESHEETPATH . '/' . $template_name ) ) { $located = STYLESHEETPATH . '/' . $template_name; break; } elseif ( file_exists( TEMPLATEPATH . '/' . $template_name ) ) { $located = TEMPLATEPATH . '/' . $template_name; break; * * @param string[] $templates A list of template candidates, in descending order of priority. */ $templates = apply_filters( "{$type}_template_hierarchy", $templates ); $template = locate_template( $templates ); $template = locate_block_template( $template, $type, $templates ); /** * Filters the path of the queried template by type. $templates[] = "taxonomy-$taxonomy-{$term->slug}.php"; $templates[] = "taxonomy-$taxonomy.php"; } $templates[] = 'taxonomy.php'; return get_query_template( 'taxonomy', $templates );}/** * Retrieves path of date template in current or parent template. * $template = false; // Loop through each of the template conditionals, and find the appropriate template file. foreach ( $tag_templates as $tag => $template_getter ) { if ( call_user_func( $tag ) ) { $template = call_user_func( $template_getter ); } if ( $template ) { if ( 'is_attachment' === $tag ) { remove_filter( 'the_content', 'prepend_attachment' ); // 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';|
ErrorException
|
|---|
ErrorException:
file_exists(): open_basedir restriction in effect. File(/home/aungcrown/staging/config/environments/../../web/app/themes/aungcrown/../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php) is not within the allowed path(s): (/home/aungcrown/staging/web:/home/aungcrown:/var/cpanel/php/sessions/ea-php81:/tmp:/var/tmp)
at /home/aungcrown/staging/web/wp/wp-includes/template.php:705
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_exists(): open_basedir restriction in effect. File(/home/aungcrown/staging/config/environments/../../web/app/themes/aungcrown/../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php) is not within the allowed path(s): (/home/aungcrown/staging/web:/home/aungcrown:/var/cpanel/php/sessions/ea-php81:/tmp:/var/tmp)', '/home/aungcrown/staging/web/wp/wp-includes/template.php', 705, array())
(/home/aungcrown/staging/web/app/themes/aungcrown/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'file_exists(): open_basedir restriction in effect. File(/home/aungcrown/staging/config/environments/../../web/app/themes/aungcrown/../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php) is not within the allowed path(s): (/home/aungcrown/staging/web:/home/aungcrown:/var/cpanel/php/sessions/ea-php81:/tmp:/var/tmp)', '/home/aungcrown/staging/web/wp/wp-includes/template.php', 705)
at file_exists('/home/aungcrown/staging/config/environments/../../web/app/themes/aungcrown/../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php')
(/home/aungcrown/staging/web/wp/wp-includes/template.php:705)
at locate_template(array('../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.html', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.html', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.html'))
(/home/aungcrown/staging/web/wp/wp-includes/template.php:64)
at get_query_template('taxonomy', array('../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat-pet-hats.html', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy-product_cat.html', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.blade.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.php', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.css', '../../../../../../../../web/app/themes/aungcrown/resources/views/taxonomy.html'))
(/home/aungcrown/staging/web/wp/wp-includes/template.php:364)
at get_taxonomy_template()
(/home/aungcrown/staging/web/wp/wp-includes/template-loader.php:81)
at require_once('/home/aungcrown/staging/web/wp/wp-includes/template-loader.php')
(/home/aungcrown/staging/web/wp/wp-blog-header.php:19)
at require('/home/aungcrown/staging/web/wp/wp-blog-header.php')
(/home/aungcrown/staging/web/index.php:6)
|