Page 2 of 2

Re: Problem with MySQL during update of 2.3.5

Posted: Wed Feb 25, 2026 12:09 pm
by deedw
And was that under PHP 7.4
Yes, PHP 7.4.33 with Serendipity 2.5.0
and changing line 261 to array() fixed it
I don't know honestly. With PHP 7.4.33 and the unfixed nl2br plugin I only see the "php-8.1-strftime.php" problem in the php.log. So maybe it does not need to be fixed with 7.4.33, yet?
onli wrote: Wed Feb 25, 2026 8:59 amThe new error you see is because of https://packagist.org/packages/php81_bc/strftime. It needs the php-intl extension to be activated.
Do I need this and can I deactivate it? Otherwise I think my hoster needs to install this "php-intl" extension, right?

Thanks for all your help
Dee

Re: Problem with MySQL during update of 2.3.5

Posted: Wed Feb 25, 2026 12:12 pm
by onli
Right, if you were under PHP 7.4 the bug would not have happened. The code was compatible with it. But the fix will help under PHP 8.

Btw, great to see that Serendipity 2.5.0 still really worked with PHP 7.4! :)

For php-intl, exactly. That's for the server hoster to activate. I'm surprised it isn't activated by default, it was already there on the hosters I'm using (uberspace, manitu).

That new requirement slipped under the radar, but even after noticing it I think we assumed it would basically be always enabled. Otherwise we should have written about the new requirement more often.

Re: Problem with MySQL during update of 2.3.5

Posted: Mon Mar 02, 2026 3:07 pm
by deedw
So, finally everything works (with the patched nl2br plugin).

Thanks for your help
Dee

Re: [Solved] Problem with MySQL during update of 2.3.5

Posted: Mon Mar 02, 2026 5:40 pm
by onli
Thanks for reporting back :)