It may be an artifact of my installation but if I am logged out and access a page requiring admin permissions I see a series of what appear to be template errors from PHP. On Microsoft Edge the browser still redirects to the login page but on Firefox I just see all the errors with no redirect.
I also tested this with all the plugins turned off and it behaved in exactly the same fashion.
Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 127 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 134 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 134 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 136 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/piwigo/include/smarty/src/Extension/CallbackWrapper.php on line 29 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 136 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 166 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/piwigo/include/smarty/src/Extension/CallbackWrapper.php on line 29 Warning: Attempt to read property "page_header" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b_1ldtpmm^0d7dadca4e9f214b7ca14c198dc89f742228550c_0.file_header.tpl.php on line 354 /var/www/html/piwigo/_data/templates_c/1hjw97b^3aa242278e648ba810753077c0848e630ecd31e1_0.file_redirect.tpl.php on line 25 justify-content-center mb-5"> Redirection... /var/www/html/piwigo/_data/templates_c/1hjw97b^3aa242278e648ba810753077c0848e630ecd31e1_0.file_redirect.tpl.php on line 30 justify-content-center"> Click here if your browser does not automatically forward you /var/www/html/piwigo/_data/templates_c/1hjw97b^253f2245a5d014515c4f3a2df43f980684cc2fee_0.file_footer.tpl.php on line 28 "> Page generated in 0.195 s (11 SQL queries in 0.005 s) - Powered by Piwigo 16.0.0RC2 Warning: Attempt to read property "photoswipe" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b^253f2245a5d014515c4f3a2df43f980684cc2fee_0.file_footer.tpl.php on line 77 Warning: Attempt to read property "bootstrap_theme" on null in /var/www/html/piwigo/_data/templates_c/1hjw97b^253f2245a5d014515c4f3a2df43f980684cc2fee_0.file_footer.tpl.php on line 84 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/piwigo/include/smarty/src/Extension/CallbackWrapper.php on line 29
Environment
Piwigo 16.0.0RC2 Check for upgrade
Installed on 6 November 2025, 4 days ago
Operating system: Linux
PHP: 8.4.11 (Show info) [2025-11-10 22:10:08]
MySQL: 11.8.3-MariaDB-0+deb13u1 from Debian [2025-11-10 16:10:08]
Graphics Library: External ImageMagick 7.1.1-43
Cache size 14.93 Mo calculated 19 hours ago Refresh
Activated plugin list
Add Users Notes
Additional Pages
Admin Tools
Community
Copyrights
Extended Description
LocalFiles Editor
Perso Footer
Personal Plugin
Photo added by
Protect Notification
User Custom Fields
Write Metadata
Offline
moberley wrote:
On Microsoft Edge the browser still redirects to the login page but on Firefox I just see all the errors with no redirect.
I don't remember why we redirect in HTML. The template doesn't have enough variables to display the page and PHP 8+ shows warnings for each missing variable.
I'm going to change it to a server-side redirect and these errors will no longer be possible.
Offline
I created an issue [Github] Piwigo issue #2434
Offline