If I open the main admin without any params:
/admin.php
> Fatal error: Uncaught DivisionByZeroError: Division by zero in _data/templates_c/...file.intro.tpl.php:393
>
> Stack trace:
```
#0 include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_682eee449a74d0_08548380()
#1 include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#2 include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#3 include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#4 include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#5 /include/template.class.php(486): Smarty_Internal_TemplateBase->fetch()
#6 include/template.class.php(409): Template->parse()
#7 admin/intro.php(433): Template->assign_var_from_handle()
#8 admin.php(406): include('...')
#9 {main} thrown in _data/templates_c/...file.intro.tpl.php on line 393
```
<!-- github-sync-id:3082708944 -->
Just a note : it happens when you have files but the sum of all file sizes is under 1kB. For example when you have uploaded one single SVG small icon.
Just a note : it happens when you have files but the sum of all file sizes is under 1kB. For example when you have uploaded one single SVG small icon.
<!-- github-comment-id:4258154406 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If I open the main admin without any params:
/admin.php
Hi
which piwigo version ?
Last Update: May 17, 2025
Theme Bootstrap + Admin plugin
Try purge template compiled in Maintenance
Just a note : it happens when you have files but the sum of all file sizes is under 1kB. For example when you have uploaded one single SVG small icon.