strftime deprecated in PHP 8.1 #1446

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

Deprecated: Function strftime() is deprecated in / ... /include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 48

https://www.php.net/manual/en/function.strftime.php

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in / ... /include/template.class.php on line 911

`Deprecated: Function strftime() is deprecated in / ... /include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 48` [https://www.php.net/manual/en/function.strftime.php](url) `Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in / ... /include/template.class.php on line 911` <!-- github-sync-id:1212171113 -->
adam closed this issue 2026-10-05 00:44:09 +02:00
Author
Owner

Also had this problem with a fresh install. Using PHP 8.1.

Also had this problem with a fresh install. Using PHP 8.1. <!-- github-comment-id:1227686824 -->
Author
Owner

Fixed with the update of Smarty to version 4.1. See #1693

Fixed with the update of Smarty to version 4.1. See #1693 <!-- github-comment-id:1229163676 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1446