Illuminate\View\ViewException {#12797 #severity: E_ERROR }
<?php echo $__env->make('components.post.post', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
</div>
<div class="pagination" id="pagination">
<?php echo pagination(); ?>
</div>
</div>
</section>
\Illuminate\View\Engines\PhpEngine::handleViewException($e, $obLevel);
return;
}
parent::handleViewException($e, $obLevel);
}
public function shouldBypassExceptionForLivewire(\Throwable $e, $obLevel)
{
$uses = array_flip(class_uses_recursive($e));
// 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());
}
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @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 section gets 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 wp_body_open(); ?>
<?php do_action('get_header'); ?>
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<?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';
<?php echo $__env->make('components.post.post', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
</div>
<div class="pagination" id="pagination">
<?php echo pagination(); ?>
</div>
</div>
</section>
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @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 section gets 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 wp_body_open(); ?>
<?php do_action('get_header'); ?>
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<?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';
[2/2]
ViewException
|
---|
Illuminate\View\ViewException: Call to undefined function pagination() (View: /home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/resources/views/index.blade.php) at /home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php:20 at Illuminate\View\Engines\CompilerEngine->handleViewException(object(Error), 1) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException(object(Error), 1) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/Engines/CompilerEngine.php:72) at Illuminate\View\Engines\CompilerEngine->get('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:207) at Illuminate\View\View->getContents() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:190) at Illuminate\View\View->renderContents() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:159) at Illuminate\View\View->render() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/index.php:26) at include('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/index.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-includes/template-loader.php:106) at require_once('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-includes/template-loader.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-blog-header.php:19) at require('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-blog-header.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/index.php:17) |
[1/2]
Error
|
---|
Error: Call to undefined function pagination() at /home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php:20 at require() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/cache/acorn/framework/views/c4ff73dfb2e70666c1121444a6b5edc8.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/Engines/CompilerEngine.php:72) at Illuminate\View\Engines\CompilerEngine->get('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'siteName' => 'Restauracja Meluzyna', 'page_title' => 'Uncategorized', 'acf_options' => array('logo' => 'http://restauracjameluzyna.pl/wp-content/uploads/2024/10/brand-scaled.webp', 'logo_footer' => null, 'footer_title' => 'Kontakt', 'default_banner' => null, 'phones' => null, 'emails' => null, 'address' => null, 'social_media' => null))) (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:207) at Illuminate\View\View->getContents() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:190) at Illuminate\View\View->renderContents() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/vendor/illuminate/view/View.php:159) at Illuminate\View\View->render() (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/index.php:26) at include('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-content/themes/meluzyna/index.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-includes/template-loader.php:106) at require_once('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-includes/template-loader.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-blog-header.php:19) at require('/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/wp-blog-header.php') (/home/rmeluzyna/domains/restauracjameluzyna.pl/public_html/index.php:17) |