Extension Lightbox - Crash when activated #1572

Open
opened 2026-10-05 00:48:43 +02:00 by adam · 0 comments
Owner

Hallo
Piwigo 13.1.0 or 13.2.0, no difference and latest download of LightBox 12.a by P@t:
If I activate the extension Lightbox which says to be compatible with Piwigo 13 and open an image, there is a Fatal Error and the site crashes:

Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php:31 Stack trace: #0 /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php(31): implode() #1 /var/www/example.org/galerie/piwigo/plugins/lightbox/main.inc.php(18): include('...') #2 /var/www/example.org/galerie/piwigo/include/functions_plugins.inc.php(214): lightbox_plugin() #3 /var/www/example.org/galerie/piwigo/include/category_default.inc.php(146): trigger_change() #4 /var/www/example.org/galerie/piwigo/index.php(306): include('...') #5 {main} thrown in /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php on line 31

In the extensions' settings I see already a lot of warnings, e.g. "undefined array key" etc.

Seems not completely compatible with PHP 8 yet (even PHP 7 is very soon EOL).
As there is no github site for this extension and the developer of it seems to be some dev from Piwigo himself, I post this bug here.

The Forum is broken too, by the way, login not working, register not working as no confirmation-link nor password-forgotten link is sent (no, neither in spam, and neiter when I try several times and neither I get an answer from "plg@piwigo.org"), so this doesnt work:

Info
An e-mail has been sent to the specified address with instructions on how to change your password. If it does not arrive you can contact the forum administrator at plg@piwigo.org.

Sorry.
Thank, frank

Hallo Piwigo 13.1.0 or 13.2.0, no difference and latest download of LightBox 12.a by P@t: If I activate the [extension Lightbox](https://piwigo.org/ext/extension_view.php?eid=280) which says to be compatible with Piwigo 13 and open an image, there is a Fatal Error and the site crashes: ```Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php:31 Stack trace: #0 /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php(31): implode() #1 /var/www/example.org/galerie/piwigo/plugins/lightbox/main.inc.php(18): include('...') #2 /var/www/example.org/galerie/piwigo/include/functions_plugins.inc.php(214): lightbox_plugin() #3 /var/www/example.org/galerie/piwigo/include/category_default.inc.php(146): trigger_change() #4 /var/www/example.org/galerie/piwigo/index.php(306): include('...') #5 {main} thrown in /var/www/example.org/galerie/piwigo/plugins/lightbox/lightbox.php on line 31``` In the extensions' settings I see already a lot of warnings, e.g. "undefined array key" etc. Seems not completely compatible with PHP 8 yet (even PHP 7 is very soon EOL). As there is no github site for this extension and the developer of it seems to be some dev from Piwigo himself, I post this bug here. The Forum is broken too, by the way, login not working, register not working as no confirmation-link nor password-forgotten link is sent (no, neither in spam, and neiter when I try several times and neither I get an answer from "plg@piwigo.org"), so this doesnt work: ``` Info An e-mail has been sent to the specified address with instructions on how to change your password. If it does not arrive you can contact the forum administrator at plg@piwigo.org. ``` Sorry. Thank, frank <!-- github-sync-id:1453279830 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1572