Fresh Piwigo 13.7.0 installation -> Undefined array key "modus_theme" #1679

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

Hello

I've installed Piwigo 13.7.0 on my server. after finishing the database and user setup i get a white site with the following errors/warnings

Warning: Undefined array key "modus_theme" in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28

Warning: Trying to access array offset on value of type null in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28

Warning: include(/var/www/clients/client1/web3/web/share/themes/modus/skins/.inc.php): Failed to open stream: No such file or directory in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28

Warning: include(): Failed opening '/var/www/clients/client1/web3/web/share/themes/modus/skins/.inc.php' for inclusion (include_path='.:/usr/share/php') in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28

Warning: Undefined array key "modus_theme" in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 42

Warning: Trying to access array offset on value of type null in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 42

Warning: include(/var/www/clients/client1/web3/web/share/themes/default/themeconf.inc.php): Failed to open stream: No such file or directory in /var/www/clients/client1/web3/web/share/include/template.class.php on line 1141

Warning: include(): Failed opening '/var/www/clients/client1/web3/web/share/themes/default/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php') in /var/www/clients/client1/web3/web/share/include/template.class.php on line 1141

Fatal error: Uncaught --> Smarty: Unable to load template 'file:no_photo_yet.tpl' <-- thrown in /var/www/clients/client1/web3/web/share/include/smarty/libs/sysplugins/smarty_internal_template.php on line 195

i am Using apache2 and php8

what can i do to fix this error ?

thanks

br

Hello I've installed Piwigo 13.7.0 on my server. after finishing the database and user setup i get a white site with the following errors/warnings ``` Warning: Undefined array key "modus_theme" in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28 Warning: Trying to access array offset on value of type null in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28 Warning: include(/var/www/clients/client1/web3/web/share/themes/modus/skins/.inc.php): Failed to open stream: No such file or directory in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28 Warning: include(): Failed opening '/var/www/clients/client1/web3/web/share/themes/modus/skins/.inc.php' for inclusion (include_path='.:/usr/share/php') in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 28 Warning: Undefined array key "modus_theme" in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 42 Warning: Trying to access array offset on value of type null in /var/www/clients/client1/web3/web/share/themes/modus/themeconf.inc.php on line 42 Warning: include(/var/www/clients/client1/web3/web/share/themes/default/themeconf.inc.php): Failed to open stream: No such file or directory in /var/www/clients/client1/web3/web/share/include/template.class.php on line 1141 Warning: include(): Failed opening '/var/www/clients/client1/web3/web/share/themes/default/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php') in /var/www/clients/client1/web3/web/share/include/template.class.php on line 1141 Fatal error: Uncaught --> Smarty: Unable to load template 'file:no_photo_yet.tpl' <-- thrown in /var/www/clients/client1/web3/web/share/include/smarty/libs/sysplugins/smarty_internal_template.php on line 195 ``` i am Using apache2 and php8 what can i do to fix this error ? thanks br <!-- github-sync-id:1724672688 -->
adam closed this issue 2026-10-05 00:52:45 +02:00
Author
Owner

I have the same issue with a fresh install with 13.7.0.
Workaround: init a new project with 12.3.0, and then update to 13.7.0.

I have the same issue with a fresh install with 13.7.0. Workaround: init a new project with 12.3.0, and then update to 13.7.0. <!-- github-comment-id:1596234328 -->
Author
Owner

Please open a discussion on our forums.

Please open a discussion on our forums. <!-- github-comment-id:1613148676 -->
Author
Owner

I hit this issue too with piwigo 16.2.0 and then I downloaded and tried the modus theme and got these same errors.

There is a forum topic from Oct 2024 with no responses. I added a reply to that here:

https://piwigo.org/forum/viewtopic.php?pid=194039#p194039

So 3 or 4 people have hit this and their is no solution posted that I can find.

I hit this issue too with piwigo 16.2.0 and then I downloaded and tried the modus theme and got these same errors. There is a forum topic from Oct 2024 with no responses. I added a reply to that here: https://piwigo.org/forum/viewtopic.php?pid=194039#p194039 So 3 or 4 people have hit this and their is no solution posted that I can find. <!-- github-comment-id:3729621583 -->
Author
Owner

In the modus settings at the bottom of the page and selected "Display page banner" saved that and the issue went away.

I was then able to unset that and the issue was still gone.

In the modus settings at the bottom of the page and selected "Display page banner" saved that and the issue went away. I was then able to unset that and the issue was still gone. <!-- github-comment-id:3729726001 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1679