Hello/Hi/Greetings,
AT the end of a synchronization I received the following error message:
Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/domain-name/public_html/domain-name/_data/templates_c/p6jhns^864912024f50b42e7cf5248caa4a43bb146f06e8_0.file.intro.tpl.php:504
plus a stack trace.
Now I am unable to access the Admin Dashboard - always this message appears.
Other parts of the Admin menu are accessible.
the file appears to be generated by
<?php
/* Smarty version 4.3.1, created on 2024-03-12 10:22:49
from '/home/domain-name/public_html/piwigo_attempt/admin/themes/default/template/intro.tpl' */
lines 503, 504 and 505 of that file are:
<span data-type="storage-<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
" style="width:<?php echo $_smarty_tpl->tpl_vars['details']->value['total']['filesize']/$_smarty_tpl->tpl_vars['STORAGE_TOTAL']->value*100;?>
%">
I have tried the suggestions in the Forum post: How-To and Troubleshooting » [resolved] Cannot view admin after first synchronization. Getting an error.
but they don’t help.
Any suggestions please?
Richard
Piwigo 14.3.0 Check for upgrade
Installed on 11 March 2024, 20 hours ago
Operating system: Linux
PHP: 8.1.27 (Show info) [2024-03-12 10:43:28]
MySQL: 5.7.44 [2024-03-12 12:43:28]
Graphics Library: GD bundled (2.1.0 compatible)
Cache size 0 Mo calculated 39 minutes ago Refresh
Activated plugin list3
Admin Tools
LocalFiles Editor
Rotate Image
Offline
Are you saying that neither purging caches nor one of the two remedies in [Forum, post 188544 by erAck in topic 33290] Cannot view admin after first synchronization. Getting an error. help?
Offline