: Attempt to read property "value" on null in #1739

Closed
opened 2026-10-05 00:54:56 +02:00 by adam · 11 comments
Owner

Hi, all. Can you help me with this issue:

/config/www/_data/templates_c/1uyas8y_rafr8z^51f34276967318fc82694b733f6652fbc085696f_0.file.header.tpl.php on line
109

Warning
Attempt to read property "value" on null in
/config/www/_data/templates_c/1uyas8y_rafr8z^51f34276967318fc82694b733f6652fbc085696f_0.file.header.tpl.php
on line
109

">

Hi, all. Can you help me with this issue: /config/www/_data/templates_c/1uyas8y_rafr8z^51f34276967318fc82694b733f6652fbc085696f_0.file.header.tpl.php on line 109 Warning : Attempt to read property "value" on null in /config/www/_data/templates_c/1uyas8y_rafr8z^51f34276967318fc82694b733f6652fbc085696f_0.file.header.tpl.php on line 109 "> <!-- github-sync-id:1913543655 -->
adam closed this issue 2026-10-05 00:54:56 +02:00
Author
Owner

Could you post which versions of Piwigo and php you are using?

Could you post which versions of Piwigo and php you are using? <!-- github-comment-id:1735578364 -->
Author
Owner

[Piwigo 14.0.0.beta3]
Using this docker img: https://hub.docker.com/r/linuxserver/piwigo

[Piwigo 14.0.0.beta3] Using this docker img: https://hub.docker.com/r/linuxserver/piwigo <!-- github-comment-id:1735602936 -->
Author
Owner

Tag 13.8.0

Tag 13.8.0 <!-- github-comment-id:1735604190 -->
Author
Owner

PHP: 8.1.22

PHP: 8.1.22 <!-- github-comment-id:1736075274 -->
Author
Owner

Unfortunetaly are there several uninitialized variables through the whole system.
Guess (without closer checking that file) one of those bugs.
The core devs of Piwigo should check that an fix.

Unfortunetaly are there several uninitialized variables through the whole system. Guess (without closer checking that file) one of those bugs. The core devs of Piwigo should check that an fix. <!-- github-comment-id:1737004201 -->
Author
Owner

I hope so, but I wander if they already know that... Until now I really don´t know what to do.

I hope so, but I wander if they already know that... Until now I really don´t know what to do. <!-- github-comment-id:1737355572 -->
Author
Owner

Sorry, tried to help you (soving that bug is easy), but my installation (got it from here: https://piwigo.org/forum/viewtopic.php?id=33105) has less lines.
Therefore I don't know what your lin 109 contains.
Maybe post it here or open a new thread in the piwigo forum: https://piwigo.org/forum/viewforum.php?id=8

Sorry, tried to help you (soving that bug is easy), but my installation (got it from here: https://piwigo.org/forum/viewtopic.php?id=33105) has less lines. Therefore I don't know what your lin 109 contains. Maybe post it here or open a new thread in the piwigo forum: https://piwigo.org/forum/viewforum.php?id=8 <!-- github-comment-id:1737455239 -->
Author
Owner

The line is not always the same. For now, the message I got is:

/config/www/_data/templates_c/rr6dxn_rafr8z^afffd7bc43f1f2b35d1815b0cc89de72f825b1df_0.file.header.tpl.php on line 63

Warning: Attempt to read property "value" on null in /config/www/_data/templates_c/rr6dxn_rafr8z^afffd7bc43f1f2b35d1815b0cc89de72f825b1df_0.file.header.tpl.php on line 63
">

The line is not always the same. For now, the message I got is: /config/www/_data/templates_c/rr6dxn_rafr8z^afffd7bc43f1f2b35d1815b0cc89de72f825b1df_0.file.header.tpl.php on line 63 Warning: Attempt to read property "value" on null in /config/www/_data/templates_c/rr6dxn_rafr8z^afffd7bc43f1f2b35d1815b0cc89de72f825b1df_0.file.header.tpl.php on line 63 "> <!-- github-comment-id:1737928518 -->
Author
Owner

You have to open that file and look in the header comment what source template file actually generated the file. It might not even be Piwigo core but some plugin.

You have to open that file and look in the header comment what source template file actually generated the file. It might not even be Piwigo core but some plugin. <!-- github-comment-id:1738223135 -->
Author
Owner

Correct what @erAck said.
Not only the error/warning message is the important part, also that mentioned line.

And if the line is changing, it seems that a plugin is changing that file.
Can be easely tested wehn you disable all plugins and perfom the same action - repeat that by enabling the plugins one by one.
Once you should then know which cause this error - then a help is possible.

Correct what @erAck said. Not only the error/warning message is the important part, also that mentioned line. And if the line is changing, it seems that a plugin is changing that file. Can be easely tested wehn you disable all plugins and perfom the same action - repeat that by enabling the plugins one by one. Once you should then know which cause this error - then a help is possible. <!-- github-comment-id:1739053590 -->
Author
Owner

Guys, problem solved. The Meta Plugin caused this error. I had to disable all the plugins to find it out. I appreciate your help and want to thank you for taking a moment on this.

Guys, problem solved. The Meta Plugin caused this error. I had to disable all the plugins to find it out. I appreciate your help and want to thank you for taking a moment on this. <!-- github-comment-id:1762125996 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1739