> Am 13.09.2022 um 15:58 schrieb Landry Breuil <[email protected]>: > > Le Sat, Aug 13, 2022 at 09:30:45AM +0200, Landry Breuil a écrit : >> Le Sat, Aug 13, 2022 at 09:15:30AM +0200, Rafael Sadowski a écrit : >>> I'm no longer a dokuwiki user so I can't test it. The update looks quite >>> simple. My motivation is to get rid of PHP7 here. >> >> oh great there's finally been a release with php8 ? will test that next >> week at work, thanks ! > > Two things: > > - this update works here with php 7.4 (not via a package but a git clone > of the upstream stable branch), will confirm that it works with 8.0 > but don't wait for me :) > - there's been a 2022-07-31a for > https://github.com/splitbrain/dokuwiki/issues/3761 > > definitely ok with me to commit this before 7.2. > > Landry
I agree! I have DokuWiki from packages (Hogfather) running fine on 7.1 stable and 7.4.30. And a copy that I manually updated to 2022-07-31a is running on PHP 8.0.23. I have not done any testing with PHP 8.1 yet (or with Igor on 7.4). There are a few minor issues but for the most part they are PHP 8 related and only warnings in the logs. I have filed a number of issues and PRs upstream, and some of them have already been fixed. DW itself is pretty much ok, but some of the plugins and themes may need some attention. Depending on what plugins and themes you use YMMV though. About 90% of the PHP related issues are caused by stricter rules for accessing missing array elements. My manually patched version of DW 2022-07-31a running on PHP 8.0.23 incl. the sprintDoc theme and an number of additional plugins is now working fine, i.e. there have been no more warnings or errors in my logs for a few days and everything seems to work as expected. Until the rest of the upstream plugin maintainers get around to releasing new versions with the fixes either ignoring the warnings or manually patching things should work. Mike
