[da_DK] missing news from piwigo.org #1664

Closed
opened 2026-10-05 00:52:12 +02:00 by adam · 0 comments
Owner

When the admin user displays Piwigo in da_DK (Dansk), the admin dashboard displays:

Warning: Invalid argument supplied for foreach() in admin/include/functions.php on line 3564

This is because we have recently shutdown several forums : da/pl/tr/ru/cn (not enough activity or only spams). As a consequence it breaks Piwigo when it tries to fetch the latest news.

I have added a new method porg.news.getLatest on piwigo.org, see https://github.com/Piwigo/piwigodotorg/commit/6d62b0747f295656f9db5b16c918d4f351e6a0d2 and we should use it instead of directly requesting the forum.

When the admin user displays Piwigo in da_DK (Dansk), the admin dashboard displays: > Warning: Invalid argument supplied for foreach() in `admin/include/functions.php` on line 3564 This is because we have recently shutdown several forums : da/pl/tr/ru/cn (not enough activity or only spams). As a consequence it breaks Piwigo when it tries to fetch the latest news. I have added a new method `porg.news.getLatest` on piwigo.org, see https://github.com/Piwigo/piwigodotorg/commit/6d62b0747f295656f9db5b16c918d4f351e6a0d2 and we should use it instead of directly requesting the forum. <!-- github-sync-id:1687138057 -->
adam closed this issue 2026-10-05 00:52:12 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1664