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" => "exklusiva-dofter-fran-somalia"
]
query_string
"name=exklusiva-dofter-fran-somalia"
request
"inlagg/exklusiva-dofter-fran-somalia"
matched_rule
"inlagg/([^/]+)(?:/([0-9]+))?/?$"
matched_query
"name=exklusiva-dofter-fran-somalia&page="
did_permalink
true
Key Value
query
array:2 [
  "page" => ""
  "name" => "exklusiva-dofter-fran-somalia"
]
query_vars
array:67 [
  "page" => 0
  "name" => "exklusiva-dofter-fran-somalia"
  "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
3956
request
"""
\n
\t\t\tSELECT   wp_posts.*\n
\t\t\tFROM wp_posts \n
\t\t\tWHERE 1=1  AND wp_posts.post_name = 'exklusiva-dofter-fran-somalia' 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
3956
post_author
"19"
post_date
"2018-03-01 08:00:26"
post_date_gmt
"2018-03-01 06:00:26"
post_content
"""
<strong>Inkubatorföretaget SwedEast Oils importerar exotisk kåda från Östafrika för att framställa exklusiva väldoftande och läkande oljor. Nu har företaget fått sin första kund.</strong>\n
\n
Säga vad man vill om Mohamed Nur Adam, men han väljer inte att göra det lätt för sig här i livet. I två år har han – på sin fritid – arbetat på att förverkliga sin affärsidé som bygger på att skapa en länk mellan Somalia och Sverige. Hans mål är att utvinna och förädla ”mirakeloljan” frankincense, istället för att importera den färdiga produkten.\n
\n
Mohamed berättar att redan de gamla faraonerna reste till Somalia, som de kallade ”dofternas land”, för att köpa den här exklusiva råvaran som är en av världens äldsta eteriska oljor.\n
\n
– Här i Sverige är det ingen som kan det här hantverket, så jag utgår verkligen från noll, berättar Mohamed. Tålamod och kreativitet Det är när han börjar prata om säkerhetsdatablad* och teknisk information som man börjar förstå vilka byråkratiska krumbukter Mohamed har lyckats utföra de senaste åren. Företagsinkubatorn hittade han genom att googla på hur man startar företag i Sverige, och vilket stöd som finns att få.\n
\n
– I mitt arbete på Borlänge kommuns arbetsmarknadsenhet kommer jag ofta i kontakt med människor som ställer frågor om företagande, så jag bestämde mig för att verkligen sätta mig in i hur systemet fungerar, berättar Mohamed. Nu vet han.\n
<h3>FAKTA FRANKINCENSE</h3>\n
• Frankincense framställs av trädet Boswellia, som beroende på underart och växtplats varierar i doft och kvalitet.\n
• Frankincense fungerar bra tillsammans med de flesta trä-, krydd-, blom- och citrusdofter.\n
• Ekologisk Frankincense är antiinflammatorisk, milt antiseptisk och sammandragande.\n
• I hudvård passar den alla hudtyper.\n
• Oljan anses motverka rynkor och är därför vanlig i anti-age produkter.\n
\n
* Säkerhetsdatablad – ett datablad med information om bland annat eventuella hälso- och miljörisker samt andra egenskaper hos kemiska produkter och beredningar.
"""
post_title
"Exklusiva dofter från Somalia"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"exklusiva-dofter-fran-somalia"
to_ping
""
pinged
""
post_modified
"2018-03-01 08:00:26"
post_modified_gmt
"2018-03-01 06:00:26"
post_content_filtered
""
post_parent
0
guid
"https://dalarnasciencepark.se/?p=3956"
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/exklusiva-dofter-fran-somalia/"
USER
"forge"
HOME
"/home/forge"
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
"59678"
REMOTE_ADDR
"3.81.221.121"
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
1711661339.1544
REQUEST_TIME
1711661339
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