Hello/Hi/Greetings,
(Here your message)
I turn on the "debugging template"- template "MODUS"- and see the following message
------
Fatal error
: Uncaught Error: Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically in /var/www/html/include/template.class.php:588 Stack trace: #0 /var/www/html/include/page_tail.php(96): Template->p() #1 /var/www/html/index.php(374): include('...') #2 {main} thrown in
/var/www/html/include/template.class.php
on line
588
------
What are your thoughts on this?
Piwigo URL: http://
Offline
I'm seeing this too. I've just tried a reinstall to get rid of annoying missing photos message so perhaps related to that.
==> /var/log/apache2/soppycat_error.log <==
[Wed Mar 26 20:25:55.838212 2025] [php:error] [pid 1779213:tid 1779213] [client 82.71.45.75:61482] PHP Fatal error: Uncaught Error: Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically in /var/www/soppycat.uk/include/template.class.php:588\nStack trace:\n#0 /var/www/soppycat.uk/include/page_tail.php(96): Template->p()\n#1 /var/www/soppycat.uk/admin.php(425): include('...')\n#2 {main}\n thrown in /var/www/soppycat.uk/include/template.class.php on line 588, referer: https://soppycat.uk/admin.php?page=conf … ction=main
Offline
In my case I may have been overthinking this one. After a more thorough search of the forums (e.g. https://piwigo.org/forum/viewtopic.php?id=29844) and checking my permissions and ownerships, I had a look at the template file and realised this was related to debugging. I checked my 'Tools' submenu (appears top right of screen on my desktop/firefox setup) and noticed that I had the option Debug Template checked. Unchecking this got rid of the message.
Offline
I changed the permissions on the _data and template_c folder to 777
The error has not disappeared. What do you say?
Offline
I didn't read your original post properly. I see what you mean now. The same is happening for me. I did a fresh install too. Deleted the old db first. The _data folder is 777. I don't have a template_c folder. I still see the Fatal Error if I check the Debug Template option in Modus.
[ EDIT: ] Also seeing it in 'elegant' theme.
Last edited by dougienisbet (2025-03-27 20:52:50)
Offline
Interestingly, even in the newly installed Piwigo, this template generates a fatal error, but it continues to work.
Offline