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/c00a73ac96005e857af1b6d6fa9c1191dc01595d.php:45 #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/c00a73ac96005e857af1b6d6fa9c1191dc01595d.php45
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/c00a73ac96005e857af1b6d6fa9c1191dc01595d.php
 
                <?php if(get_post_type() == 'post'): ?>
                    <?php echo $__env->make('partials.post-footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </article>
        </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 src="<?php echo e(get_the_post_thumbnail_url()); ?>" align="middle" alt="<?php echo e(the_title_attribute()); ?>">
                <?php endif; ?>
                <?php if(get_field('with_menu') == true): ?>
                    <?php echo $__env->make('partials.submenu', ['mobile' => false], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </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()
/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/c00a73ac96005e857af1b6d6fa9c1191dc01595d.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:2 [
  "page" => ""
  "name" => "nu-ar-det-antligen-dags"
]
query_string
"name=nu-ar-det-antligen-dags"
request
"inlagg/nu-ar-det-antligen-dags"
matched_rule
"inlagg/([^/]+)(?:/([0-9]+))?/?$"
matched_query
"name=nu-ar-det-antligen-dags&page="
did_permalink
true
Key Value
query
array:2 [
  "page" => ""
  "name" => "nu-ar-det-antligen-dags"
]
query_vars
array:67 [
  "page" => 0
  "name" => "nu-ar-det-antligen-dags"
  "error" => ""
  "m" => ""
  "p" => 0
  "post_parent" => ""
  "subpost" => ""
  "subpost_id" => ""
  "attachment" => ""
  "attachment_id" => 0
  "pagename" => ""
  "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"
    ]
  ]
  "ignore_sticky_posts" => false
  "suppress_filters" => false
  "cache_results" => true
  "update_post_term_cache" => true
  "update_menu_item_cache" => false
  "lazy_load_term_meta" => true
  "update_post_meta_cache" => true
  "post_type" => ""
  "posts_per_page" => 10
  "nopaging" => false
  "comments_per_page" => "50"
  "no_found_rows" => false
  "order" => "DESC"
]
meta_query
WP_Meta_Query {#16099}
queried_object
WP_Post {#16100}
queried_object_id
5068
request
"""
\n
\t\t\tSELECT   wp_posts.*\n
\t\t\tFROM wp_posts \n
\t\t\tWHERE 1=1  AND wp_posts.post_name = 'nu-ar-det-antligen-dags' AND wp_posts.post_type = 'post'\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
5068
post_author
"19"
post_date
"2018-10-30 17:12:47"
post_date_gmt
"2018-10-30 15:12:47"
post_content
"""
Den 30 november kommer huset Teknikdalen att byta namn till Dalarna Science Park och därmed avsluta en 30-årig period med det gamla namnet. Genom namnbytet tar vi också ett stort steg för att stärka Dalarnas position som en framtidsinriktad och stark region både nationellt och internationellt. Den plattform som platsen Dalarna Science Park nu blir ska byggas upp för att möta regionens behov av tillväxt och nyskapande.\n
\n
En viktig del i en science park är den fysiska miljön i form av både arbetsplatser och mötesplatser. Gärna kreativa miljöer som kan bidra till att skapa spännande möten och inspirera till olika former av samverkan. Mer dynamiska och öppna arbetsmiljöer som sjuder av aktivitet och energi bidrar till att företag och entreprenörer kan utveckla idéer och skapa affärer. En plats där människor möts och skapar det riktigt stora. I första hand ska huset utvecklas till en öppen, social och kreativ arena att arbeta och verka i men i det fortsatta arbetet tänker vi både på hela området runt huset och runt om i Dalarna. Den digitala utvecklingen öppnar för nya spännande mötesformer där Dalarna Science Park kan vara motor i en sådan utveckling.\n
\n
I den tilltagande konkurrensen och globaliseringen är det viktigt att Dalarna fortsätter vara en region där man vill bo, arbeta och verka i. För att klara den utmaningen krävs ett antal olika initiativ och aktiviteter. Att etablera och utveckla en infrastruktur runt begreppet Dalarna Science Park ska medverka till att människor aktivt söker sig hit. Lyckas vi få regionens alla aktörer att på olika sätt aktivt bidra till att stärka den fysiska miljön kommer Dalarna Science Park att bli något vi alla kan vara stolta över. Men det kommer att kräva att vi släpper lite på prestigen och försöker se Dalarna Science Park ur ett helhetsperspektiv snarare än att bevaka särintressen.\n
\n
Den kraft som vi tillsammans skapar gör Dalarna till något unikt. En region som bygger på historia och tradition men som är i ständig rörelse framåt. Där viljan till förändring och värdeskapande utgör grund för ambitionen att skapa en miljö som är hållbar, attraktiv och nyskapande. Kan vi bygga in innovation- och förnyelseförmåga i vår regions DNA kommer vi att stå på en stadig grund. Dalarna Science Park är en viktig regional resurs i arbetet med innovation, förnyelse och tillväxt. Det visar vi bland annat genom att byta namn på huset!\n
<blockquote>Varmt välkomna att besök oss den 30 november!!!</blockquote>\n
Sture Ericsson\n
vd Dalarna Science Park\n
\n
&nbsp;\n
\n
&nbsp;\n
\n
&nbsp;
"""
post_title
"Nu är det äntligen dags!"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"nu-ar-det-antligen-dags"
to_ping
""
pinged
""
post_modified
"2018-10-30 17:12:47"
post_modified_gmt
"2018-10-30 15:12:47"
post_content_filtered
""
post_parent
0
guid
"https://dalarnasciencepark.se/?p=5068"
menu_order
0
post_type
"post"
post_mime_type
""
comment_count
"0"
filter
"raw"
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.24.0"
REQUEST_URI
"/inlagg/nu-ar-det-antligen-dags/"
USER
"forge"
HOME
"/home/forge"
HTTP_REFERER
"http://www.dalarnasciencepark.se/inlagg/nu-ar-det-antligen-dags/"
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
"60276"
REMOTE_ADDR
"44.222.116.199"
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
1711666499.2876
REQUEST_TIME
1711666499
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