Announcement

  •  » Engine
  •  » 13.4.0 Permissions page error with PHP8.1

#1 2023-01-18 16:18:59

skaldenhoven
Member
2018-12-28
2

13.4.0 Permissions page error with PHP8.1

Hi,

Upgraded to 13.4.0 and added some new albums today and when trying to set permissions the page threw an error. This was using PHP 8.1.
Switched back to PHP 7.2 which was also still on my server and the page worked without issue.
Verified whether the function.inc.php was the most recent one and even copied complete include directory from the installer zip over the current directory but with same result.
Below the error thrown.

Fatal error: Uncaught ValueError: Unknown format specifier "j" in /var/www/fotos/include/functions.inc.php:1203 Stack trace: #0 /var/www/fotos/include/functions.inc.php(1203): vsprintf() #1 /var/www/fotos/_data/templates_c/p6jhns^a274768b87497ffd55d466b1fbc581c81f970752_0.file.cat_perm.tpl.php(159): l10n() #2 /var/www/fotos/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_63c80c91e01385_90130948() #3 /var/www/fotos/include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #4 /var/www/fotos/include/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #5 /var/www/fotos/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #6 /var/www/fotos/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #7 /var/www/fotos/include/template.class.php(469): Smarty_Internal_TemplateBase->fetch() #8 /var/www/fotos/include/template.class.php(392): Template->parse() #9 /var/www/fotos/admin/cat_perm.php(297): Template->assign_var_from_handle() #10 /var/www/fotos/admin/album.php(73): include('...') #11 /var/www/fotos/admin.php(341): include('...') #12 {main} thrown in /var/www/fotos/include/functions.inc.php on line 1203

Also switched some of the themes but to no avail.
Anything other or just something that needs to be updated?
If more info is needed let me know.

Sander.

Offline

 
  •  » Engine
  •  » 13.4.0 Permissions page error with PHP8.1

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact