Announcement

  •  » Themes
  •  » Bootstrap Darkroom - Leaving comments produces errors

#1 2024-02-08 19:06:59

Dal
Member
2023-10-14
16

Bootstrap Darkroom - Leaving comments produces errors

Hi.
When leaving comments on pictures, it gives the error:

/config/www/_data/templates_c/1yju0id^d2b92c41ffb8e0a6d73fb2cc91365bba1161a62e_0.file.comment_list.tpl.php on line 92

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /config/www/_data/templates_c/1yju0id^d2b92c41ffb8e0a6d73fb2cc91365bba1161a62e_0.file.comment_list.tpl.php on line 92
d41d8cd98f00b204e9800998ecf8427e?d=https://piwigo.domain.tld//themes/bootstrap_darkroom/img/user.png" />

The comment is added, though.
When I delete the comment, the error above goes away.

It does not happen when using other themes.
Unfortunately none of the other themes are so beautiful as Bootstrap :)

What could cause this?

This is a Piwigo v14.2 docker container running on Unraid

Thanks.

Last edited by Dal (2024-02-08 19:08:11)

Offline

 

#2 2024-02-09 01:12:19

erAck
Only trying to help
2015-09-06
1971

Re: Bootstrap Darkroom - Leaving comments produces errors

It's (only) a deprecation, either disable displaying deprecated and warning messages (because it effectively may break functionality of a page even if nothing else is broken), in local config

$conf['show_php_errors_on_frontend'] = false;

or fine tune message classes to display, see [Forum, post 183126 by erAck in topic 31852] Menubar tags issue after 12.2.0 upgrade, or better, log to file instead.
See [Forum, post 180778 by erAck in topic 31258] Error Message.


Running Piwigo at https://erack.net/gallery/

Offline

 
  •  » Themes
  •  » Bootstrap Darkroom - Leaving comments produces errors

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact