Al hacer click en "Añadir", me surge un mensaje de error fatal:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home3/cbi85558/public_html/fotos1/_data/templates_c/p6jhns^e299374547b1ade8077a89a2994b0d72244ec289_0.file.photos_add_direct.tpl.php:488 Stack trace: #0 /home3/cbi85558/public_html/fotos1/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66461ca7ec83e3_31693558() #1 /home3/cbi85558/public_html/fotos1/include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #2 /home3/cbi85558/public_html/fotos1/include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #3 /home3/cbi85558/public_html/fotos1/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #4 /home3/cbi85558/public_html/fotos1/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #5 /home3/cbi85558/public_html/fotos1/include/template.class.php(483): Smarty_Internal_TemplateBase->fetch() #6 /home3/cbi85558/public_html/fotos1/include/template.class.php(406): Template->parse() #7 /home3/cbi85558/public_html/fotos1/admin/photos_add_direct.php(158): Template->assign_var_from_handle() #8 /home3/cbi85558/public_html/fotos1/admin/photos_add.php(73): include('/home3/cbi85558...') #9 /home3/cbi85558/public_html/fotos1/admin.php(346): include('/home3/cbi85558...') #10 {main} thrown in /home3/cbi85558/public_html/fotos1/_data/templates_c/p6jhns^e299374547b1ade8077a89a2994b0d72244ec289_0.file.photos_add_direct.tpl.php on line 488
¿Alguna idea?
Gracias.