[11.x] Parse error: syntax error, unexpected '[' #1120

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

Original report (in French) on https://fr.piwigo.org/forum/viewtopic.php?id=29045

Parse error: syntax error, unexpected '[' in admin/stats.php on line 215
...
Parse error: syntax error, unexpected '[' in admin/batch_manager.php on line 608

It's due to an old PHP 5.3 version and the use of "recent" syntax. Let's keep Piwigo 11 compatible with PHP 5.3 (but we will certainly increase PHP version required for Piwigo 12)

Original report (in French) on https://fr.piwigo.org/forum/viewtopic.php?id=29045 ``` Parse error: syntax error, unexpected '[' in admin/stats.php on line 215 ... Parse error: syntax error, unexpected '[' in admin/batch_manager.php on line 608 ``` It's due to an old PHP 5.3 version and the use of "recent" syntax. Let's keep Piwigo 11 compatible with PHP 5.3 (but we will certainly increase PHP version required for Piwigo 12) <!-- github-sync-id:790891641 -->
adam closed this issue 2026-10-05 00:32:06 +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#1120