Whoops! There was an error.
Illuminate \ View \ ViewException (E_ERROR)
App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php) (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php)
Previous exceptions
  • App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php) (0)
  • App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (0)
Illuminate\View\ViewException thrown with message "App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php) (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php)" Stacktrace: #26 Illuminate\View\ViewException in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php:56 #25 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php:60 #24 Illuminate\View\ViewException in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php:56 #23 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php:60 #22 TypeError in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php:56 #21 App\Modules\WPML\TranslationService:getTranslatedString in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php:29 #20 App\View\Components\PageArchiveHeaderComponent:render in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Component.php:135 #19 Illuminate\View\Component:resolveView in /home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/a0bde94f6021d9398f68f8919cb9a6ca8861f16e.php:7 #18 require in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php:109 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php:110 #16 Illuminate\Filesystem\Filesystem:getRequire in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/CompilerEngine.php:70 #14 Illuminate\View\Engines\CompilerEngine:get in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:195 #13 Illuminate\View\View:getContents in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:178 #12 Illuminate\View\View:renderContents in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:147 #11 Illuminate\View\View:render in /home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/9a2f4fdf54eb93a3a5326f0fc9135feb9dc6e51f.php:2 #10 require in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php:109 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php:110 #8 Illuminate\Filesystem\Filesystem:getRequire in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/CompilerEngine.php:70 #6 Illuminate\View\Engines\CompilerEngine:get in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:195 #5 Illuminate\View\View:getContents in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:178 #4 Illuminate\View\View:renderContents in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php:147 #3 Illuminate\View\View:render in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/index.php:15 #2 include in /home/juwent/domains/juwent.com.pl/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/juwent/domains/juwent.com.pl/public_html/wp-blog-header.php:19 #0 require in /home/juwent/domains/juwent.com.pl/public_html/index.php:17
Stack frames (27)
26
Illuminate\View\ViewException
/app/Modules/WPML/TranslationService.php56
25
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
24
Illuminate\View\ViewException
/app/Modules/WPML/TranslationService.php56
23
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
22
TypeError
/app/Modules/WPML/TranslationService.php56
21
App\Modules\WPML\TranslationService getTranslatedString
/app/View/Components/PageArchiveHeaderComponent.php29
20
App\View\Components\PageArchiveHeaderComponent render
/vendor/illuminate/view/Component.php135
19
Illuminate\View\Component resolveView
/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/a0bde94f6021d9398f68f8919cb9a6ca8861f16e.php7
18
require
/vendor/illuminate/filesystem/Filesystem.php109
17
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php110
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php70
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php195
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php178
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php147
11
Illuminate\View\View render
/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/9a2f4fdf54eb93a3a5326f0fc9135feb9dc6e51f.php2
10
require
/vendor/illuminate/filesystem/Filesystem.php109
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php110
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php70
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php195
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php178
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php147
3
Illuminate\View\View render
/index.php15
2
include
/home/juwent/domains/juwent.com.pl/public_html/wp-includes/template-loader.php106
1
require_once
/home/juwent/domains/juwent.com.pl/public_html/wp-blog-header.php19
0
require
/home/juwent/domains/juwent.com.pl/public_html/index.php17
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php
    }
 
    public static function getDefaultLanguage(): string|null
    {
        return class_exists('SitePress') ? apply_filters('wpml_default_language', NULL) : null;
    }
 
    public static function getCurrentLanguageObject(): LanguageEntity|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $current = self::getCurrentLanguage();
        $langs = self::getActiveLanguages();
 
        return $langs[$current];
    }
 
    public static function getTranslatedString(string $string, string $lang = null, string $domain = 'webtom'): string
    {
        return class_exists('SitePress') ? apply_filters('wpml_translate_single_string', $string, $domain, $string, $lang) : __($string, $domain);
    }
 
    public static function getTranslatedPostID(int $ID, string $lang = null): int|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        return apply_filters('wpml_object_id', $ID, get_post_type($ID), false, $lang);
    }
 
    public static function getTranslatedPost(int $ID, string $lang = null): \WP_Post|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $post_id = self::getTranslatedPostID($ID, $lang);
Arguments
  1. "App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php) (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php)"
    
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // 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());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php
    }
 
    public static function getDefaultLanguage(): string|null
    {
        return class_exists('SitePress') ? apply_filters('wpml_default_language', NULL) : null;
    }
 
    public static function getCurrentLanguageObject(): LanguageEntity|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $current = self::getCurrentLanguage();
        $langs = self::getActiveLanguages();
 
        return $langs[$current];
    }
 
    public static function getTranslatedString(string $string, string $lang = null, string $domain = 'webtom'): string
    {
        return class_exists('SitePress') ? apply_filters('wpml_translate_single_string', $string, $domain, $string, $lang) : __($string, $domain);
    }
 
    public static function getTranslatedPostID(int $ID, string $lang = null): int|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        return apply_filters('wpml_object_id', $ID, get_post_type($ID), false, $lang);
    }
 
    public static function getTranslatedPost(int $ID, string $lang = null): \WP_Post|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $post_id = self::getTranslatedPostID($ID, $lang);
Arguments
  1. "App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php)"
    
Exception message: App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29 (View: /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/home.blade.php)
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // 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());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/Modules/WPML/TranslationService.php
    }
 
    public static function getDefaultLanguage(): string|null
    {
        return class_exists('SitePress') ? apply_filters('wpml_default_language', NULL) : null;
    }
 
    public static function getCurrentLanguageObject(): LanguageEntity|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $current = self::getCurrentLanguage();
        $langs = self::getActiveLanguages();
 
        return $langs[$current];
    }
 
    public static function getTranslatedString(string $string, string $lang = null, string $domain = 'webtom'): string
    {
        return class_exists('SitePress') ? apply_filters('wpml_translate_single_string', $string, $domain, $string, $lang) : __($string, $domain);
    }
 
    public static function getTranslatedPostID(int $ID, string $lang = null): int|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        return apply_filters('wpml_object_id', $ID, get_post_type($ID), false, $lang);
    }
 
    public static function getTranslatedPost(int $ID, string $lang = null): \WP_Post|null
    {
        if (!class_exists('SitePress')) {
            return null;
        }
 
        $post_id = self::getTranslatedPostID($ID, $lang);
Arguments
  1. "App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29"
    
Exception message: App\Modules\WPML\TranslationService::getTranslatedString(): Argument #1 ($string) must be of type string, null given, called in /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php on line 29
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/app/View/Components/PageArchiveHeaderComponent.php
class PageArchiveHeaderComponent extends Component
{
    public function render()
    {
        if (is_category() || is_tax()) {
 
            $term = get_queried_object();
            $post_type = $term->taxonomy == 'support_tag' ? 'support_file' : get_post_type();
 
            return $this->view('components.page-archive-header', [
                'title' => !is_tax('support_tag') ? single_cat_title('', false) : TranslationService::getTranslatedString(get_post_type_object($post_type)->label),
                'image' => getOption('image_id'),
                'description' => $term->description,
            ]);
        }
 
        $type = get_post_type_object(get_post_type());
 
        return $this->view('components.page-archive-header', [
            'title' => $type->name == 'post' ? get_the_title(get_option('page_for_posts')) : TranslationService::getTranslatedString($type->label),
            'image' => getOption('image_id'),
 
        ]);
    }
}
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Component.php
            $class = new ReflectionClass(static::class);
 
            $constructor = $class->getConstructor();
 
            static::$constructorParametersCache[static::class] = $constructor
                ? collect($constructor->getParameters())->map->getName()->all()
                : [];
        }
 
        return static::$constructorParametersCache[static::class];
    }
 
    /**
     * Resolve the Blade view or view file that should be used when rendering the component.
     *
     * @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string
     */
    public function resolveView()
    {
        $view = $this->render();
 
        if ($view instanceof ViewContract) {
            return $view;
        }
 
        if ($view instanceof Htmlable) {
            return $view;
        }
 
        $resolver = function ($view) {
            return $this->extractBladeViewFromString($view);
        };
 
        return $view instanceof Closure ? function (array $data = []) use ($view, $resolver) {
            return $resolver($view($data));
        }
        : $resolver($view);
    }
 
    /**
/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/a0bde94f6021d9398f68f8919cb9a6ca8861f16e.php
<?php $__env->startSection('content'); ?>
 
  <?php if (isset($component)) { $__componentOriginal895352425924da050784b5ef589759e486b708f2 = $component; } ?>
<?php $component = App\View\Components\PageArchiveHeaderComponent::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('page-archive-header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\PageArchiveHeaderComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'mb-16']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal895352425924da050784b5ef589759e486b708f2)): ?>
<?php $component = $__componentOriginal895352425924da050784b5ef589759e486b708f2; ?>
<?php unset($__componentOriginal895352425924da050784b5ef589759e486b708f2); ?>
<?php endif; ?>
 
  <section class="archive-post-content">
    <?php if(isset($years) && $years->isNotEmpty()): ?>
      <div class="container mb-16">
        <div class="overflow-auto">
          <div class="flex gap-4">
            <?php $__currentLoopData = $years; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $year): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <a id="<?php echo e($year['slug']); ?>" href="<?php echo e($year['link']); ?>"
                class="btn-gradient <?php echo e($year['slug'] == $active ? 'active' : ''); ?>">
                <span class="whitespace-nowrap block px-4">
                  <?php echo e($year['year']); ?>
 
                </span>
              </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </div>
      </div>
    <?php endif; ?>
 
    <div class="container mb-16">
      <?php if(isset($posts) && $posts->isNotEmpty()): ?>
        <div class="grid grid-cols-4 xl:grid-cols-3 lg:grid-cols-2 sm:grid-cols-1 gap-6">
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__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}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/a0bde94f6021d9398f68f8919cb9a6ca8861f16e.php"
    
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__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}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // 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());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // 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;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
        $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();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the number of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // 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();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
    {
        if (value($boolean)) {
            return $this->fragments($fragments);
        }
 
        return $this->render();
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @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
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/9a2f4fdf54eb93a3a5326f0fc9135feb9dc6e51f.php
 
<?php echo $__env->make('home', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/resources/views/archive.blade.php ENDPATH**/ ?>
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__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}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/juwent/domains/juwent.com.pl/public_html/wp-content/cache/acorn/framework/views/9a2f4fdf54eb93a3a5326f0fc9135feb9dc6e51f.php"
    
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__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}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // 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());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // 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;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
        $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();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the number of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // 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();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/vendor/illuminate/view/View.php
    {
        if (value($boolean)) {
            return $this->fragments($fragments);
        }
 
        return $this->render();
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @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
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
 
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php wp_head(); ?>
</head>
 
<body <?php body_class(); ?>>
    <?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>
 
</html>
/home/juwent/domains/juwent.com.pl/public_html/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @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() );
        }
    }
    return;
}
 
Arguments
  1. "/home/juwent/domains/juwent.com.pl/public_html/wp-content/themes/juwent/index.php"
    
/home/juwent/domains/juwent.com.pl/public_html/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/juwent/domains/juwent.com.pl/public_html/wp-includes/template-loader.php"
    
/home/juwent/domains/juwent.com.pl/public_html/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/juwent/domains/juwent.com.pl/public_html/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
Key Value
wp-wpml_current_language
"pl"
empty
Key Value
SERVER_SOFTWARE
"Apache/2"
REQUEST_URI
"/author/juwent-admin/"
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
CONTENT_LENGTH
"0"
HTTP_HOST
"juwent.com.pl"
HTTP_REFERER
"https://juwent.com.pl/author/juwent-admin"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"18.224.68.104"
HTTP_X_ACCEL_INTERNAL
"/nginx_static_files"
REDIRECT_UNIQUE_ID
"ZqToYfKpfxgMq6RP3W8J-wAAACQ"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZqToYfKpfxgMq6RP3W8J-wAAACQ"
HTTP_AUTHORIZATION
""
HTTPS
"on"
SERVER_SIGNATURE
""
SERVER_NAME
"juwent.com.pl"
SERVER_ADDR
"144.76.242.41"
SERVER_PORT
"443"
REMOTE_ADDR
"18.224.68.104"
DOCUMENT_ROOT
"/home/juwent/domains/juwent.com.pl/private_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/juwent/domains/juwent.com.pl/private_html"
SERVER_ADMIN
"webmaster@juwent.com.pl"
SCRIPT_FILENAME
"/home/juwent/domains/juwent.com.pl/private_html/index.php"
REMOTE_PORT
"47680"
REDIRECT_URL
"/author/juwent-admin/"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1722083425.4908
REQUEST_TIME
1722083425
APP_URL
"https://juwent.com.pl"
APP_ENV
"production"
APP_DEBUG
"false"
THEME_NAME
"juwent"
Key Value
APP_URL
"https://juwent.com.pl"
APP_ENV
"production"
APP_DEBUG
"false"
THEME_NAME
"juwent"
0. Whoops\Handler\PrettyPageHandler