#1 2025-03-26 14:44:27

Yurch
Member
2025-02-01
25

Error in the Modus template

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

 

#2 2025-03-26 21:32:14

dougienisbet
Member
2025-01-02
16

Re: Error in the Modus template

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

 

#3 2025-03-27 11:06:14

dougienisbet
Member
2025-01-02
16

Re: Error in the Modus template

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

 

#4 2025-03-27 14:41:46

Yurch
Member
2025-02-01
25

Re: Error in the Modus template

I changed the permissions on the _data and template_c folder to 777
The error has not disappeared. What do you say?

Offline

 

#5 2025-03-27 20:34:23

dougienisbet
Member
2025-01-02
16

Re: Error in the Modus template

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

 

#6 2025-03-31 08:21:57

Yurch
Member
2025-02-01
25

Re: Error in the Modus template

Interestingly, even in the newly installed Piwigo, this template generates a fatal error, but it continues to work.

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact