[pmwiki-users] I need a chef to help me with the ActionLog cookbook recipe
Petko Yotov
5ko at 5ko.fr
Wed Feb 26 18:56:54 PST 2025
Just replace strftime() with PSFT(), without changing the arguments, for
recent PmWiki versions.
https://www.pmwiki.org/wiki/PmWiki/Functions#PSFT
Petko
--
If you upgrade : https://www.pmwiki.org/Upgrades
On 27/02/2025 02:49, Neil Herber (nospam) wrote:
> I have used Dfaure's wonderful ActionLog recipe for years, but as of
> PHP 8 it has been throwing this error:
>
>> [26-Feb-2025 20:38:19 America/Toronto] PHP Deprecated: Function
>> strftime() is deprecated in /neil.eton.ca/cookbook/actionlog.php on
>> line 67
> Evidently strftime() will stop working at PHP v9, but right now the
> deprecation warning is just filling up my logs with nags.
>
> I tried fixing it myself by using the Date() function, but the results
> were a disaster.
>
> Can someone either tel me how to change the code, or can Dfaure kindly
> update the copy on PMwiki.org?
>
> https://www.pmwiki.org/wiki/Cookbook/ActionLog
>
> Many Thanks!
>
> Neil
More information about the pmwiki-users
mailing list