I'm running a dormant site (no new posts, no new comments) with s9y, but I'd like to keep it accessible because it's a bit of history I want to preserve.
Recently I upgraded the webserver and this upgraded PHP to version 8.2.29 from a 7.4 version. After the upgrade the s9y site started giving 500 internal server errors. I have upgraded the s9y code to version 2.5.0 from 2.4.0, and the site went through the upgrade process when I tried it again. But after the upgrade the internal server error is back.
The error_log has the following:
[Sat Dec 27 12:35:55.465860 2025] [php:error] [pid 4467:tid 4467] [client 2a10

1669:1:e77c:ac37:ea8c

0] PHP Fatal error: Uncaught TypeError: PHP81_BC\\strftime(): Argument #1 ($format) must be of type string, null given, called in /home/httpd/netwerkgroep/html/serendipity/include/functions.inc.php on line 143 and defined in /home/httpd/netwerkgroep/html/serendipity/bundled-libs/php81_bc/strftime/src/php-8.1-strftime.php:30\nStack trace:\n#0 /home/httpd/netwerkgroep/html/serendipity/include/functions.inc.php(143): PHP81_BC\\strftime()\n#1 /home/httpd/netwerkgroep/html/serendipity/include/functions.inc.php(191): serendipity_strftime()\n#2 /home/httpd/netwerkgroep/html/serendipity/include/functions_smarty.inc.php(750): serendipity_formatTime()\n#3 /home/httpd/netwerkgroep/html/serendipity/templates_c/moz_modern/34/a5/10/34a510de078cc5834317af88c0c67b0882fe1767_0.file.entries.tpl.php(51): serendipity_smarty_formatTime()\n#4 /home/httpd/netwerkgroep/html/serendipity/bundled-libs/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_694fc439e4e3f6_31921430()\n#5 /home/httpd/netwerkgroep/html/serendipity/bundled-libs/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#6 /home/httpd/netwerkgroep/html/serendipity/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()\n#7 /home/httpd/netwerkgroep/html/serendipity/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()\n#8 /home/httpd/netwerkgroep/html/serendipity/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()\n#9 /home/httpd/netwerkgroep/html/serendipity/include/functions_smarty.inc.php(82): Smarty_Internal_TemplateBase->fetch()\n#10 /home/httpd/netwerkgroep/html/serendipity/include/functions_entries.inc.php(1364): serendipity_smarty_fetch()\n#11 /home/httpd/netwerkgroep/html/serendipity/include/genpage.inc.php(126): serendipity_printEntries()\n#12 /home/httpd/netwerkgroep/html/serendipity/include/functions_routing.inc.php(18): include('...')\n#13 /home/httpd/netwerkgroep/html/serendipity/index.php(104): serveIndex()\n#14 {main}\n thrown in /home/httpd/netwerkgroep/html/serendipity/bundled-libs/php81_bc/strftime/src/php-8.1-strftime.php on line 30
So somehow strftime is called 'wrong' but even resetting the template I once created to a standard template doesn't fix this. I found out can access the serendipity admin side, so it was possible to change frontend template.