Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/Controllers/components/archive.php:3
Stack trace:
#0 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/Controllers/Components.php(58): include()
#1 /mnt/Uploads/nth2025.webcore.no/sites/27/cache/f0049d141a8e11ff36f5fdd6715981f6488acd48.php(72): App\Controllers\Components::archive()
#2 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/PhpEngine.php(43): include('...')
#3 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath()
#4 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get()
#5 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#6 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#7 /mnt/Uploads/nth2025.webcore.no/sites/27/cache/2daaebc6e4ae66864669661274e59f6ba9947387.php(11): Illuminate\View\View->render()
#8 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/PhpEngine.php(43): include('...')
#9 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath()
#10 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get()
#11 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#12 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#13 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render()
#14 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/helpers.php(55): Roots\Sage\Template\Blade->render()
#15 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php(63): App\template()
#16 /srv/web/nth2025.webcore.no/root/wp-includes/class-wp-hook.php(324): {closure:/srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php:49}()
#17 /srv/web/nth2025.webcore.no/root/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#18 /srv/web/nth2025.webcore.no/root/wp-includes/template-loader.php(104): apply_filters()
#19 /srv/web/nth2025.webcore.no/root/wp-blog-header.php(19): require_once('...')
#20 /srv/web/nth2025.webcore.no/root/index.php(17): require('...')
#21 {main}
Next ErrorException: count(): Argument #1 ($value) must be of type Countable|array, null given (View: /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/resources/views/partials/content-archive.blade.php) in /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/Controllers/components/archive.php:3
Stack trace:
#0 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/PhpEngine.php(47): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath()
#2 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get()
#3 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#4 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#5 /mnt/Uploads/nth2025.webcore.no/sites/27/cache/2daaebc6e4ae66864669661274e59f6ba9947387.php(11): Illuminate\View\View->render()
#6 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/PhpEngine.php(43): include('...')
#7 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath()
#8 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get()
#9 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#10 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#11 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render()
#12 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/helpers.php(55): Roots\Sage\Template\Blade->render()
#13 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php(63): App\template()
#14 /srv/web/nth2025.webcore.no/root/wp-includes/class-wp-hook.php(324): {closure:/srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php:49}()
#15 /srv/web/nth2025.webcore.no/root/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#16 /srv/web/nth2025.webcore.no/root/wp-includes/template-loader.php(104): apply_filters()
#17 /srv/web/nth2025.webcore.no/root/wp-blog-header.php(19): require_once('...')
#18 /srv/web/nth2025.webcore.no/root/index.php(17): require('...')
#19 {main}
Next ErrorException: count(): Argument #1 ($value) must be of type Countable|array, null given (View: /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/resources/views/partials/content-archive.blade.php) (View: /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/resources/views/partials/content-archive.blade.php) in /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/Controllers/components/archive.php:3
Stack trace:
#0 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/PhpEngine.php(45): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath()
#2 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get()
#3 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#4 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#5 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render()
#6 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/helpers.php(55): Roots\Sage\Template\Blade->render()
#7 /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php(63): App\template()
#8 /srv/web/nth2025.webcore.no/root/wp-includes/class-wp-hook.php(324): {closure:/srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/filters.php:49}()
#9 /srv/web/nth2025.webcore.no/root/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#10 /srv/web/nth2025.webcore.no/root/wp-includes/template-loader.php(104): apply_filters()
#11 /srv/web/nth2025.webcore.no/root/wp-blog-header.php(19): require_once('...')
#12 /srv/web/nth2025.webcore.no/root/index.php(17): require('...')
#13 {main}
thrown in /srv/web/nth2025.webcore.no/root/wp-content/themes/nth-5.1/app/Controllers/components/archive.php on line 3