PHP Warning #1504

Closed
opened 2026-10-05 00:46:21 +02:00 by adam · 5 comments
Owner

When I'm logged in and in any category page, eg. https://example.com/piwigo/index.php?/category/3, I get the following warning:

Warning: Undefined array key "IS_IN_CADDIE" in /srv/html/piwigo/_data/templates_c/1oivm68^b28a8459f5c203fb0f2c820e9728d5e1488fa528_0.file.public_controller.tpl.php on line 174

Server: Ubuntu 20.04, PHP 8.1 and Piwigo 13.0.0RC3

When I'm logged in and in any category page, eg. https://example.com/piwigo/index.php?/category/3, I get the following warning: <b>Warning</b>: Undefined array key "IS_IN_CADDIE" in <b>/srv/html/piwigo/_data/templates_c/1oivm68^b28a8459f5c203fb0f2c820e9728d5e1488fa528_0.file.public_controller.tpl.php</b> on line <b>174</b> Server: Ubuntu 20.04, PHP 8.1 and Piwigo 13.0.0RC3 <!-- github-sync-id:1369056373 -->
adam closed this issue 2026-10-05 00:46:21 +02:00
Author
Owner

I couldn't reproduce the issue, the caddie works fine for me.

I couldn't reproduce the issue, the caddie works fine for me. <!-- github-comment-id:1246442133 -->
Author
Owner

@MatthieuLP Then why is this with me?

Screen Shot 2022-09-15 at 12 34 48 PM

@MatthieuLP Then why is this with me? ![Screen Shot 2022-09-15 at 12 34 48 PM](https://user-images.githubusercontent.com/57904791/190383156-23de663c-7785-467e-8fec-7a96db0d64e4.png) <!-- github-comment-id:1247919412 -->
Author
Owner

I see that you use Admin tools, I installed it and now I reproduce the issue, working on it !

I see that you use Admin tools, I installed it and now I reproduce the issue, working on it ! <!-- github-comment-id:1250754672 -->
Author
Owner

Fixed the problem on the plugin repository and added a new release (AdminTools 12.3.1). Update your plugin and it should be fixed.

See commit here -> https://github.com/Piwigo/AdminTools/commit/14f9e68319b46b05e0de974fb77ec0e8651a2394

Fixed the problem on the plugin repository and added a new release (AdminTools 12.3.1). Update your plugin and it should be fixed. See commit here -> https://github.com/Piwigo/AdminTools/commit/14f9e68319b46b05e0de974fb77ec0e8651a2394 <!-- github-comment-id:1250853724 -->
Author
Owner

Thank you!

Thank you! <!-- github-comment-id:1252636352 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1504