Error going to admin settings #1690

Open
opened 2026-10-05 00:53:06 +02:00 by adam · 1 comment
Owner

Good morning,

Since update 13.7, I no longer have any plugins activated, the theme is no longer activated and my css mods in the localfile editor are no longer taken into account.
When I try to connect to my admin account it works but when I want to access the settings and the administration I have this error:

"Fatal error: Uncaught Error: Call to undefined function userprefs_get_param() in /var/www/piwigo/include/common.inc.php:234 Stack trace: #0 /var/www/piwigo/admin.php(16): include_once() #1 {main} thrown in /var/www/piwigo/include/common.inc.php on line 234"

This error seems to indicate the line that refers to the theme:
$template = new Template(PHPWG_ROOT_PATH.'admin/themes', userprefs_get_param('admin_theme', 'clear'));

I don't know what to do... The backup has an error and it is not possible to go back.
Can anyone help me? thanks in advance ;)

Piwigo version: Piwigo 13.7.0
PHP Version: PHP 7.4.28

Good morning, Since update 13.7, I no longer have any plugins activated, the theme is no longer activated and my css mods in the localfile editor are no longer taken into account. When I try to connect to my admin account it works but when I want to access the settings and the administration I have this error: "Fatal error: Uncaught Error: Call to undefined function userprefs_get_param() in /var/www/piwigo/include/common.inc.php:234 Stack trace: #0 /var/www/piwigo/admin.php(16): include_once() #1 {main} thrown in /var/www/piwigo/include/common.inc.php on line 234" This error seems to indicate the line that refers to the theme: $template = new Template(PHPWG_ROOT_PATH.'admin/themes', userprefs_get_param('admin_theme', 'clear')); I don't know what to do... The backup has an error and it is not possible to go back. Can anyone help me? thanks in advance ;) Piwigo version: Piwigo 13.7.0 PHP Version: PHP 7.4.28 <!-- github-sync-id:1785832445 -->
Author
Owner

Looks like a file extraction error from the zip file.

Download a clean Piwigo 13.7.0, extract files from the zip file and upload them all to your installation to overwrite existing files.

Looks like a file extraction error from the zip file. Download a clean Piwigo 13.7.0, extract files from the zip file and upload them all to your installation to overwrite existing files. <!-- github-comment-id:1617854847 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1690