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" => "nya-tider-kraver-nya-grepp-inom-handeln"
]
query_string
"name=nya-tider-kraver-nya-grepp-inom-handeln"
request
"inlagg/nya-tider-kraver-nya-grepp-inom-handeln"
matched_rule
"inlagg/([^/]+)(?:/([0-9]+))?/?$"
matched_query
"name=nya-tider-kraver-nya-grepp-inom-handeln&page="
did_permalink
true
Key Value
query
array:2 [
  "page" => ""
  "name" => "nya-tider-kraver-nya-grepp-inom-handeln"
]
query_vars
array:67 [
  "page" => 0
  "name" => "nya-tider-kraver-nya-grepp-inom-handeln"
  "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
5673
request
"""
\n
\t\t\tSELECT   wp_posts.*\n
\t\t\tFROM wp_posts \n
\t\t\tWHERE 1=1  AND wp_posts.post_name = 'nya-tider-kraver-nya-grepp-inom-handeln' 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
5673
post_author
"19"
post_date
"2019-04-23 09:51:20"
post_date_gmt
"2019-04-23 07:51:20"
post_content
"""
<strong>Det är väl känt att handeln, särskilt i butik står inför stora förändringar. Även de stora kedjorna brottas med utmaningen att konkurrera och få lönsamhet i tider av distanshandel på nätet. För att lyckas krävs både nytänkande och lyhördhet för de trender som råder. För inkubatorföretaget Crona Craft är receptet flexibilitet</strong>.\n
\n
Att bevara det gamla fast i nya former är viktigt för Linn Sund, som driver Crona Craft med bas på Stationsgatan i Leksand sedan årsskiftet 2018/19. Fokus ligger på kvalitetsdesign med rötterna i hemslöjden och gärna från Dalarna. Men det är internationellt hon tänker. Japan och USA har redan fått smaka på Crona Crafts designade produkter och är först ut med att representera. Genom den tidigare butiksförsäljningen har Linn sett hur köpstarka besökare från andra länder uppskattar butikens produkter. Men varför vänta på att kunderna kommer till butiken?\n
\n
<strong>Flexibilitet och nätverk ger win-win</strong>\n
\n
Den nya satsningen för Crona Craft bygger på näthandel där kunderna betjänas dygnet runt, veckans alla dagar och ”all over the world”. Flexibilitet är viktigt för Linn Sund!\n
\n
Nätverk är ett av ledorden för organisationen i Crona Craft. Där traditionella butiker har fasta kostnader i form av personal, arbetar Linn i så stor utsträckning som möjligt med nätverk, samarbeten och partnerskap som ger win-win för flera aktörer i branschen och flexibilitet i arbetssättet.\n
\n
<img class="alignnone size-medium wp-image-5674" src="https://www.dalarnasciencepark.se/app/uploads/2019/04/cronacraft-butik3-300x300.jpg" alt="" width="300" height="300" />\n
\n
<strong>Crona Craft popar up </strong>\n
\n
Ett annat exempel på flexibilitet är hur den fysiska butiken minskat sina fasta öppettider och istället satsat på ett popup-koncept. Detta gör att man kan möta kunderna på de platser och tider där kunderna finns. Dessa tillfälliga butiker, är något som tilltalar Linn, och hon har testat det vid flera tillfällen. -Jag vill vara där kunden är och gärna i annorlunda miljöer och sammanhang. Anledningen till att jag har butikslokal är att jag behöver lager och arbetsyta för designproduktion.\n
\n
<strong>Grön tråd i företaget</strong>\n
\n
Hållbarhet går som en grön tråd genom Linns företagsutveckling; att välja produkter och tillverkare med omsorg och kvalitet lägger Linn stor tyngd i. Hon ser att även kunder efterfrågar hur och var produkten är tillverkad och ex hur djuren mår.\n
– Jag tar också in begagnade kvalitetskläder i de märkena jag redan säljer av i butiken; då kan kunden förnya sig och nya våga testa. Kul att kunna se produkterna få nytt liv på en annan kund!\n
\n
<strong>Berätta en historia</strong>\n
\n
Linn jobbar nu med paketering och storytelling av produkterna. Kunderna ska kunna känna produktens historia och även här tänker hon hållbarhet med val av transporter, leverans, tillverkningskedjor och kvalitet. Och det är här hon får processledning genom Eva Mandelqvist och Dalarna Science Parks inkubator;\n
\n
– Crona Craft gör hantverkstraditionen intressant och nyskapande. Det är ett stort steg att lämna en traditionell hemslöjdsbransch, men Linn är både modig och smart och det finns stor potential för att lyckas internationellt, säger Eva Mandelqvist\n
\n
Att våga tänka nytt och annorlunda, se det innovativa i det traditionella och att bevara det gamla men i nya former både nationellt och internationellt, det är Crona Craft i ett hållbart nötskal.\n
\n
&nbsp;
"""
post_title
"Nya tider kräver nya grepp inom handeln"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"nya-tider-kraver-nya-grepp-inom-handeln"
to_ping
""
pinged
""
post_modified
"2019-04-23 09:51:20"
post_modified_gmt
"2019-04-23 07:51:20"
post_content_filtered
""
post_parent
0
guid
"https://www.dalarnasciencepark.se/?p=5673"
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/nya-tider-kraver-nya-grepp-inom-handeln/"
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
"44252"
REMOTE_ADDR
"44.200.145.114"
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
1711654937.3842
REQUEST_TIME
1711654937
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