Illuminate \ View \ ViewException (E_ERROR)
count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php) (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php)
Previous exceptions
  • count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php) (0)
  • count(): Argument #1 ($value) must be of type Countable|array, string given (0)
Illuminate\View\ViewException thrown with message "count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php) (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php)" Stacktrace: #23 Illuminate\View\ViewException in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php:7 #22 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/PhpEngine.php:60 #21 Illuminate\View\ViewException in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php:7 #20 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/PhpEngine.php:60 #19 TypeError in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php:7 #18 require in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/filesystem/Filesystem.php:109 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/filesystem/Filesystem.php:110 #16 Illuminate\Filesystem\Filesystem:getRequire in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/CompilerEngine.php:70 #14 Illuminate\View\Engines\CompilerEngine:get in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:195 #13 Illuminate\View\View:getContents in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:178 #12 Illuminate\View\View:renderContents in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:147 #11 Illuminate\View\View:render in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/501a288bf7dc92a191f234a0ec72a7aa6205c3b0.php:87 #10 require in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/filesystem/Filesystem.php:109 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/filesystem/Filesystem.php:110 #8 Illuminate\Filesystem\Filesystem:getRequire in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/Engines/CompilerEngine.php:70 #6 Illuminate\View\Engines\CompilerEngine:get in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:195 #5 Illuminate\View\View:getContents in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:178 #4 Illuminate\View\View:renderContents in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/vendor/illuminate/view/View.php:147 #3 Illuminate\View\View:render in /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/index.php:1 #2 include in /home/forge/www.dalarnasciencepark.se/web/wp/wp-includes/template-loader.php:106 #1 require_once in /home/forge/www.dalarnasciencepark.se/web/wp/wp-blog-header.php:19 #0 require in /home/forge/www.dalarnasciencepark.se/web/index.php:11
23
Illuminate\View\ViewException
/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php7
22
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
21
Illuminate\View\ViewException
/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php7
20
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
19
TypeError
/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.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
/storage/framework/views/501a288bf7dc92a191f234a0ec72a7aa6205c3b0.php87
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.php1
2
include
/home/forge/www.dalarnasciencepark.se/web/wp/wp-includes/template-loader.php106
1
require_once
/home/forge/www.dalarnasciencepark.se/web/wp/wp-blog-header.php19
0
require
/home/forge/www.dalarnasciencepark.se/web/index.php11
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php
<?php $i = 0;?>
<?php if(get_field('relationship')): ?>
    <!-- partials/page-footer.blade.php -->
    <?php
    $counter = 0;
    $relationships = get_field('relationship');
    $count = count($relationships);
    ?>
    <div class="bottom-box-container">
        <?php $__currentLoopData = $relationships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php ($item = $item['items']); ?>
            <?php if(! $item) continue; ?>
            <?php if($i == 0): ?>
                <div class="row">
            <?php endif; ?>
            <?php if($item->post_type == 'personel'): ?>
                <?php echo $__env->make('partials.contact-card', ['meta_key' => $key], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php else: ?>
                <div class="col-md-6 bottom-box">
                    <div class="standard type-<?php echo e($i); ?>">
                        <p class="title">
                            <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo e($item->post_title); ?></a>
                        </p>
                        <p class="ingress">
                            <?php echo e(App\get_custom_excerpt($item->ID, 'small')); ?>
 
                        </p>
                        <p class="read-more">
                            <?php if($item->post_type == 'organisation'): ?>
                                <a href="<?php echo e(get_field('link', $item->ID)['url']); ?>"
                                   target="_blank"><?php echo e(get_field('link', $item['ID'])['title']); ?></a>
 
                            <?php else: ?>
                                <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo __('Read more', 'popcorn'); ?></a>
                            <?php endif; ?>
                        </p>
                        <?php if($item->post_type == "organisation"): ?>
                            <div class="organisation-image">
                                <?php if(get_the_post_thumbnail_url($item->ID)): ?>
                                    <img src="<?php echo e(get_the_post_thumbnail_url($item->ID, 'full')); ?>" alt="<?php echo e(the_title_attribute()); ?>">
Arguments
  1. "count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php) (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php)"
    
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php
<?php $i = 0;?>
<?php if(get_field('relationship')): ?>
    <!-- partials/page-footer.blade.php -->
    <?php
    $counter = 0;
    $relationships = get_field('relationship');
    $count = count($relationships);
    ?>
    <div class="bottom-box-container">
        <?php $__currentLoopData = $relationships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php ($item = $item['items']); ?>
            <?php if(! $item) continue; ?>
            <?php if($i == 0): ?>
                <div class="row">
            <?php endif; ?>
            <?php if($item->post_type == 'personel'): ?>
                <?php echo $__env->make('partials.contact-card', ['meta_key' => $key], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php else: ?>
                <div class="col-md-6 bottom-box">
                    <div class="standard type-<?php echo e($i); ?>">
                        <p class="title">
                            <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo e($item->post_title); ?></a>
                        </p>
                        <p class="ingress">
                            <?php echo e(App\get_custom_excerpt($item->ID, 'small')); ?>
 
                        </p>
                        <p class="read-more">
                            <?php if($item->post_type == 'organisation'): ?>
                                <a href="<?php echo e(get_field('link', $item->ID)['url']); ?>"
                                   target="_blank"><?php echo e(get_field('link', $item['ID'])['title']); ?></a>
 
                            <?php else: ?>
                                <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo __('Read more', 'popcorn'); ?></a>
                            <?php endif; ?>
                        </p>
                        <?php if($item->post_type == "organisation"): ?>
                            <div class="organisation-image">
                                <?php if(get_the_post_thumbnail_url($item->ID)): ?>
                                    <img src="<?php echo e(get_the_post_thumbnail_url($item->ID, 'full')); ?>" alt="<?php echo e(the_title_attribute()); ?>">
Arguments
  1. "count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php)"
    
Exception message: count(): Argument #1 ($value) must be of type Countable|array, string given (View: /home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/resources/views/partials/page-footer.blade.php)
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/877cf12e426bd531e6c5c7401b7e5599770a8845.php
<?php $i = 0;?>
<?php if(get_field('relationship')): ?>
    <!-- partials/page-footer.blade.php -->
    <?php
    $counter = 0;
    $relationships = get_field('relationship');
    $count = count($relationships);
    ?>
    <div class="bottom-box-container">
        <?php $__currentLoopData = $relationships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php ($item = $item['items']); ?>
            <?php if(! $item) continue; ?>
            <?php if($i == 0): ?>
                <div class="row">
            <?php endif; ?>
            <?php if($item->post_type == 'personel'): ?>
                <?php echo $__env->make('partials.contact-card', ['meta_key' => $key], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php else: ?>
                <div class="col-md-6 bottom-box">
                    <div class="standard type-<?php echo e($i); ?>">
                        <p class="title">
                            <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo e($item->post_title); ?></a>
                        </p>
                        <p class="ingress">
                            <?php echo e(App\get_custom_excerpt($item->ID, 'small')); ?>
 
                        </p>
                        <p class="read-more">
                            <?php if($item->post_type == 'organisation'): ?>
                                <a href="<?php echo e(get_field('link', $item->ID)['url']); ?>"
                                   target="_blank"><?php echo e(get_field('link', $item['ID'])['title']); ?></a>
 
                            <?php else: ?>
                                <a href="<?php echo e(get_the_permalink($item->ID)); ?>"><?php echo __('Read more', 'popcorn'); ?></a>
                            <?php endif; ?>
                        </p>
                        <?php if($item->post_type == "organisation"): ?>
                            <div class="organisation-image">
                                <?php if(get_the_post_thumbnail_url($item->ID)): ?>
                                    <img src="<?php echo e(get_the_post_thumbnail_url($item->ID, 'full')); ?>" alt="<?php echo e(the_title_attribute()); ?>">
Arguments
  1. "count(): Argument #1 ($value) must be of type Countable|array, string given"
    
Exception message: count(): Argument #1 ($value) must be of type Countable|array, string given
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/501a288bf7dc92a191f234a0ec72a7aa6205c3b0.php
            </div>
            <div class="col-sm-6 chosen-image hidden-xs">
                <div class="article-image ie-fix-image-container">
                    <?php
                    if (get_the_post_thumbnail_url()) {
                        $img = get_the_post_thumbnail_url();
                        $title = the_title_attribute(['echo' => false]);
                    } else {
                        $img = get_stylesheet_directory() . '/images/Calendar_placeholder.jpg';
                        $title = 'Placeholder';
                    }
                    ?>
                    <img src="<?php echo e($img); ?>" alt="<?php echo e($title); ?>">
 
                </div>
 
            </div>
        </div>
 
        <?php echo $__env->make('partials.page-footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endwhile; wp_reset_postdata(); $__env->popLoop(); $loop = $__env->getLastLoop(); endif; ?>
<?php $__env->stopSection(); ?>
 
<?php $__env->startSection('scripts'); ?>
    <script>
        var called = false;
        function checkOffset(called) {
            if (called) {
 
                if (jQuery('.bottom-box-container').length) {
                    $container = jQuery('.bottom-box-container');
                } else {
                    $container = jQuery('footer');
                }
                var extra = 0;
                if (jQuery('#wpadminbar').length) {
                    extra = 32;
                }
                if (jQuery('.chosen-image').offset().top + jQuery('.chosen-image').height()
                        >= $container.offset().top - 10) {
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/storage/framework/views/501a288bf7dc92a191f234a0ec72a7aa6205c3b0.php"
    
/home/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/index.php
<?= view(app('horizon.view'), app('horizon.data'))->render();
 
/home/forge/www.dalarnasciencepark.se/web/wp/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/forge/www.dalarnasciencepark.se/web/app/themes/dalarna-theme/index.php"
    
/home/forge/www.dalarnasciencepark.se/web/wp/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/forge/www.dalarnasciencepark.se/web/wp/wp-includes/template-loader.php"
    
/home/forge/www.dalarnasciencepark.se/web/index.php
<?php
 
/**
 * WordPress View Bootstrapper
 */
 
declare(strict_types=1);
 
define('WP_USE_THEMES', true);
 
require __DIR__.'/wp/wp-blog-header.php';
 
Arguments
  1. "/home/forge/www.dalarnasciencepark.se/web/wp/wp-blog-header.php"
    

Environment & details:

Key Value
query_vars
array:4 [
  "page" => ""
  "event" => "digitala-trender-2019"
  "post_type" => "event"
  "name" => "digitala-trender-2019"
]
query_string
"event=digitala-trender-2019&post_type=event&name=digitala-trender-2019"
request
"events/kalender/digitala-trender-2019"
matched_rule
"events/kalender/(.+?)(?:/([0-9]+))?/?$"
matched_query
"event=digitala-trender-2019&page="
did_permalink
true
Key Value
query
array:4 [
  "page" => ""
  "event" => "digitala-trender-2019"
  "post_type" => "event"
  "name" => "digitala-trender-2019"
]
query_vars
array:68 [
  "page" => 0
  "event" => "digitala-trender-2019"
  "post_type" => "event"
  "name" => "digitala-trender-2019"
  "error" => ""
  "m" => ""
  "p" => 0
  "post_parent" => ""
  "subpost" => ""
  "subpost_id" => ""
  "attachment" => ""
  "attachment_id" => 0
  "pagename" => "digitala-trender-2019"
  "page_id" => 0
  "second" => ""
  "minute" => ""
  "hour" => ""
  "day" => 0
  "monthnum" => 0
  "year" => 0
  "w" => 0
  "category_name" => ""
  "tag" => ""
  "cat" => ""
  "tag_id" => ""
  "author" => ""
  "author_name" => ""
  "feed" => ""
  "tb" => ""
  "paged" => 0
  "meta_key" => ""
  "meta_value" => ""
  "preview" => ""
  "s" => ""
  "sentence" => ""
  "title" => ""
  "fields" => ""
  "menu_order" => ""
  "embed" => ""
  "category__in" => []
  "category__not_in" => []
  "category__and" => []
  "post__in" => []
  "post__not_in" => []
  "post_name__in" => []
  "tag__in" => []
  "tag__not_in" => []
  "tag__and" => []
  "tag_slug__in" => []
  "tag_slug__and" => []
  "post_parent__in" => []
  "post_parent__not_in" => []
  "author__in" => []
  "author__not_in" => []
  "search_columns" => []
  "tax_query" => array:1 [
    0 => array:4 [
      "taxonomy" => "language"
      "field" => "term_taxonomy_id"
      "terms" => array:1 [
        0 => 2
      ]
      "operator" => "IN"
    ]
  ]
  "update_post_term_cache" => true
  "ignore_sticky_posts" => false
  "suppress_filters" => false
  "cache_results" => true
  "update_menu_item_cache" => false
  "lazy_load_term_meta" => true
  "update_post_meta_cache" => true
  "posts_per_page" => 10
  "nopaging" => false
  "comments_per_page" => "50"
  "no_found_rows" => false
  "order" => "DESC"
]
meta_query
WP_Meta_Query {#16098}
queried_object
WP_Post {#16102}
queried_object_id
5163
request
"""
\n
\t\t\tSELECT   wp_posts.*\n
\t\t\tFROM wp_posts \n
\t\t\tWHERE 1=1  AND (wp_posts.ID = '5163') AND wp_posts.post_type = 'event'\n
\t\t\t\n
\t\t\tORDER BY wp_posts.post_date DESC\n
\t\t\t\n
\t\t
"""
post_count
1
in_the_loop
true
current_comment
-1
found_posts
1
is_single
true
is_singular
true
Key Value
ID
5163
post_author
"19"
post_date
"2018-11-12 16:37:16"
post_date_gmt
"2018-11-12 14:37:16"
post_content
"""
<strong>Vilka är de 10 hetaste digitala trenderna 2019 och hur kommer de påverka Er? Vad finns det för affärsmöjligheter?</strong>\n
\n
Varje år tar Acando fram de 10 hetaste digitala trenderna inför kommande år och presenterar dem offentligt. År 2019 är inget undantag och den 30 november listar vi trenderna i samband med invigningen av Dalarna Science Park.\n
\n
Samarrangeras mellan Acando och Dalarna Science Park. Detta är en programpunkt under "Teknikdalen goes Dalarna Science Park". <a href="https://dalarnasciencepark.se/events/kalender/teknikdalen-goes-dalarna-science-park-2/">Läs hela programmet här.</a>\n
\n
Anmäl dig nedan så bjuder vi på lunch från 11:30 i Ljusgården och presentationen startar 12:00. OBS! Begränsat antal platser.\n
\n
<b>OBS! Föreläsningen är fullsatt. Vill du anmäla upp dig på väntelista? Maila kontakt@dalarnasciencepark.se</b>\n
\n
&nbsp;
"""
post_title
"Digitala Trender 2019"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"digitala-trender-2019"
to_ping
""
pinged
""
post_modified
"2023-11-07 11:53:41"
post_modified_gmt
"2023-11-07 09:53:41"
post_content_filtered
""
post_parent
0
guid
"https://dalarnasciencepark.se/?post_type=event&#038;p=5163"
menu_order
214
post_type
"event"
post_mime_type
""
comment_count
"0"
filter
"raw"
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.24.0"
REQUEST_URI
"/events/kalender/digitala-trender-2019/"
USER
"forge"
HOME
"/home/forge"
HTTP_REFERER
"http://www.dalarnasciencepark.se/events/kalender/digitala-trender-2019/"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.dalarnasciencepark.se"
REDIRECT_STATUS
"200"
HTTPS
"on"
SERVER_NAME
"www.dalarnasciencepark.se"
SERVER_PORT
"443"
SERVER_ADDR
"65.108.248.196"
REMOTE_PORT
"44606"
REMOTE_ADDR
"34.229.50.161"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/home/forge/www.dalarnasciencepark.se/web"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"/home/forge/www.dalarnasciencepark.se/web/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711629985.0958
REQUEST_TIME
1711629985
WP_ENV
"production"
WP_HOME
"https://www.dalarnasciencepark.se"
WP_SITEURL
"https://www.dalarnasciencepark.se/wp"
DB_NAME
"dalarnascience_wp"
DB_USER
"dalarnascience_wp"
DB_PASSWORD
"********************"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
Key Value
WP_ENV
"production"
WP_HOME
"https://www.dalarnasciencepark.se"
WP_SITEURL
"https://www.dalarnasciencepark.se/wp"
DB_NAME
"dalarnascience_wp"
DB_USER
"dalarnascience_wp"
DB_PASSWORD
"********************"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
0. Whoops\Handler\PrettyPageHandler