if(get_field('show_table_of_contents')){ if (!$html) return $html; $new_html=preg_replace("/(<aside(\n|.)*?<\/aside>)/i", "", $html); $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($new_html, 'HTML-ENTITIES', 'UTF-8')); libxml_clear_errors(); $toc.=toc_builder($dom, 'toc-sticky','multiCollapse1'); $toc.=toc_builder($dom, 'toc-sticky-list','multiCollapse2'); //$dom->getElementsByTagName('h2')[0]->parentNode->insertBefore($toc, $dom->getElementsByTagName('h2')[0]); // 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('no-js'); ?>> <?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'; if(get_field('show_table_of_contents')){ if (!$html) return $html; $new_html=preg_replace("/(<aside(\n|.)*?<\/aside>)/i", "", $html); $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($new_html, 'HTML-ENTITIES', 'UTF-8')); libxml_clear_errors(); $toc.=toc_builder($dom, 'toc-sticky','multiCollapse1'); $toc.=toc_builder($dom, 'toc-sticky-list','multiCollapse2'); //$dom->getElementsByTagName('h2')[0]->parentNode->insertBefore($toc, $dom->getElementsByTagName('h2')[0]); // 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 echo $__env->make('single', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/wp-content/themes/asktraders2022/resources/views/single-default.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 <body <?php body_class('no-js'); ?>> <?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'; if(get_field('show_table_of_contents')){ if (!$html) return $html; $new_html=preg_replace("/(<aside(\n|.)*?<\/aside>)/i", "", $html); $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($new_html, 'HTML-ENTITIES', 'UTF-8')); libxml_clear_errors(); $toc.=toc_builder($dom, 'toc-sticky','multiCollapse1'); $toc.=toc_builder($dom, 'toc-sticky-list','multiCollapse2'); //$dom->getElementsByTagName('h2')[0]->parentNode->insertBefore($toc, $dom->getElementsByTagName('h2')[0]); // 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 $__env->startSection('sidebar'); ?> <div class="hidden"></div><?php $__env->stopSection(); ?> $__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 echo $__env->make('single', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/wp-content/themes/asktraders2022/resources/views/single-default.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 <body <?php body_class('no-js'); ?>> <?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'; if(get_field('show_table_of_contents')){ if (!$html) return $html; $new_html=preg_replace("/(<aside(\n|.)*?<\/aside>)/i", "", $html); $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($new_html, 'HTML-ENTITIES', 'UTF-8')); libxml_clear_errors(); $toc.=toc_builder($dom, 'toc-sticky','multiCollapse1'); $toc.=toc_builder($dom, 'toc-sticky-list','multiCollapse2'); //$dom->getElementsByTagName('h2')[0]->parentNode->insertBefore($toc, $dom->getElementsByTagName('h2')[0]); if(get_field('show_table_of_contents')){ if (!$html) return $html; $new_html=preg_replace("/(<aside(\n|.)*?<\/aside>)/i", "", $html); $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($new_html, 'HTML-ENTITIES', 'UTF-8')); libxml_clear_errors(); $toc.=toc_builder($dom, 'toc-sticky','multiCollapse1'); $toc.=toc_builder($dom, 'toc-sticky-list','multiCollapse2'); //$dom->getElementsByTagName('h2')[0]->parentNode->insertBefore($toc, $dom->getElementsByTagName('h2')[0]); // 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 ] ) ); } // Pass the value to WP_Hook. array_unshift( $args, $value ); $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args ); array_pop( $wp_current_filter ); return $filtered;} * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content;}/** </header> <?php echo $__env->make('partials/entry-meta', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Lead --> <div class="container my-3"> <div class="entry-content"> <?php echo the_content(); ?> </div> </div> <?php if (isset($component)) { $__componentOriginal166f2dbf031bce43c5fa613a7aa7a5026579cb0e = $component; } ?> $__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 $__env->startSection('sidebar'); ?> <div class="hidden"></div><?php $__env->stopSection(); ?> $__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 echo $__env->make('single', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/wp-content/themes/asktraders2022/resources/views/single-default.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 <body <?php body_class('no-js'); ?>> <?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';|
[4/4]
ViewException
|
|---|
Illuminate\View\ViewException:
DOMDocument::loadHTML(): Argument #1 ($source) must not be empty (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php) (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php) (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php)
at /var/www/html/wp-content/themes/asktraders2022/app/View/legacy_functions/functions.php:599
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/index.php:15)
at include('/var/www/html/wp-content/themes/asktraders2022/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)
|
|
[3/4]
ViewException
|
|---|
Illuminate\View\ViewException:
DOMDocument::loadHTML(): Argument #1 ($source) must not be empty (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php) (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php)
at /var/www/html/wp-content/themes/asktraders2022/app/View/legacy_functions/functions.php:599
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php:10)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/index.php:15)
at include('/var/www/html/wp-content/themes/asktraders2022/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/4]
ViewException
|
|---|
Illuminate\View\ViewException:
DOMDocument::loadHTML(): Argument #1 ($source) must not be empty (View: /var/www/html/wp-content/themes/asktraders2022/resources/views/partials/content-single.blade.php)
at /var/www/html/wp-content/themes/asktraders2022/app/View/legacy_functions/functions.php:599
at Illuminate\View\Engines\CompilerEngine->handleViewException()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e59e8f17279613079b4b9beb1b479c2fc9a1de61.php:4)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e59e8f17279613079b4b9beb1b479c2fc9a1de61.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php:10)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/index.php:15)
at include('/var/www/html/wp-content/themes/asktraders2022/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/4]
ValueError
|
|---|
ValueError:
DOMDocument::loadHTML(): Argument #1 ($source) must not be empty
at /var/www/html/wp-content/themes/asktraders2022/app/View/legacy_functions/functions.php:599
at DOMDocument->loadHTML()
(/var/www/html/wp-content/themes/asktraders2022/app/View/legacy_functions/functions.php:599)
at create_toc()
(/var/www/html/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/html/wp-includes/plugin.php:205)
at apply_filters()
(/var/www/html/wp-includes/post-template.php:256)
at the_content()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e649611e37dde612940f19a1d2129630cab2bcd5.php:20)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e649611e37dde612940f19a1d2129630cab2bcd5.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e59e8f17279613079b4b9beb1b479c2fc9a1de61.php:4)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/e59e8f17279613079b4b9beb1b479c2fc9a1de61.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php:10)
at require('/var/www/html/wp-content/themes/asktraders2022/storage/framework/views/61c60b2b1b142c22e74ef650aee57b798e22b9ca.php')
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:107)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/filesystem/Filesystem.php:108)
at Illuminate\Filesystem\Filesystem->getRequire()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/Engines/CompilerEngine.php:61)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:139)
at Illuminate\View\View->getContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:122)
at Illuminate\View\View->renderContents()
(/var/www/html/wp-content/themes/asktraders2022/vendor/illuminate/view/View.php:91)
at Illuminate\View\View->render()
(/var/www/html/wp-content/themes/asktraders2022/index.php:15)
at include('/var/www/html/wp-content/themes/asktraders2022/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)
|