Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically #1652

Open
opened 2026-10-05 00:51:40 +02:00 by adam · 1 comment
Owner

When enabeling the debuging mode, I get:

Fatal error: Uncaught Error: Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically in /var/www/html/piwigo/include/template.class.php:571 Stack trace: #0 /var/www/html/piwigo/include/page_tail.php(94): Template->p() #1 /var/www/html/piwigo/index.php(358): include('...') #2 {main} thrown in /var/www/html/piwigo/include/template.class.php on line 571

When enabeling the debuging mode, I get: Fatal error: Uncaught Error: Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically in /var/www/html/piwigo/include/template.class.php:571 Stack trace: #0 /var/www/html/piwigo/include/page_tail.php(94): Template->p() #1 /var/www/html/piwigo/index.php(358): include('...') #2 {main} thrown in /var/www/html/piwigo/include/template.class.php on line 571 <!-- github-sync-id:1642402720 -->
Author
Owner

screenshot_22

![screenshot_22](https://user-images.githubusercontent.com/4677678/228000714-ded23ff6-3147-4bd8-b6b5-8e506ed8f6db.png) <!-- github-comment-id:1485426318 -->
adam changed title from Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically to Non-static method Smarty_Internal_Debug::display_debug() cannot be called statically 2026-10-27 11:26:15 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1652