Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/bubbleweb/application/2.0/gallery/controller/widget.controller.php:34
Stack trace:
#0 /var/www/bubbleweb/system/2.0/helpers/Widget.php(17): Gallery_Widget_Controller->pick()
#1 /var/cache/bubbleweb/bestofviborg.dk/smarty/templates_c/72e8c366de49f0ab0437a3f65824850c3c99db28_0.db.layouttheme.tpl.php(220): Widget_Helper::load()
#2 /var/www/bubbleweb/system/2.0/Smarty4/sysplugins/smarty_template_resource_base.php(123): content_663d6364b76958_83960075()
#3 /var/www/bubbleweb/system/2.0/Smarty4/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#4 /var/www/bubbleweb/system/2.0/Smarty4/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render()
#5 /var/www/bubbleweb/system/2.0/Smarty4/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#6 /var/www/bubbleweb/system/2.0/Smarty4/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#7 /var/www/bubbleweb/application/2.0/base/controller/default.controller.php(241): Smarty_Internal_TemplateBase->fetch()
#8 /var/www/bubbleweb/system/2.0/Bootstrapper.php(32): Base_Default_Controller->__destruct()
#9 /var/www/bubbleweb/cms/index.php(20): require_once('...')
#10 {main}
thrown in /var/www/bubbleweb/application/2.0/gallery/controller/widget.controller.php on line 34