mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
[16.x] stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in pwg.comments.php #2179
Reference in new issue
Block a user
In the user comments administration page, we now (since 16) use the API method
pwg.userComments.getListand it sometimes outputs:After investigating the database, it seems the
comments.author_idis "broken", meaning "no longer related to an existing user". In that cas, we need a fallback.