[pmwiki-users] problem with php 8.0

Petko Yotov 5ko at 5ko.fr
Mon Sep 26 12:41:18 PDT 2022


Apparently your signalwhenmarkup.php is an older version (from 2016) 
than the one in the cookbook (from 2019).

Moreover, you should be able to replace signalwhenmarkup.php with 2 
lines, as written near the top of the cookbook page.

Please make sure you update the PmWiki core and the other recipes too, 
and report if any problems.

Petko

-- 
If you upgrade :  https://www.pmwiki.org/Upgrades


На 26/09/2022 21:15, jdd at dodin.org написа:
> Hello,
> 
> When updating to php 8.0, pmwiki core works ok, but not all the 
> cookbooks.
> 
> just now I, updated sectionedit.php, markuptounstyled.php and
> signalwhenmarkup.php (and of course pmwiki to latest) and I still get
> a blanc page with home page.
> 
> logs says
> 
> $ tail -n 1 ~/log/error.log
> [Mon Sep 26 21:11:41.047298 2022] [php:error] [pid 2886] [client
> 172.20.0.1:0] PHP Fatal error:  Uncaught Error: Undefined constant
> "Markup_e" in
> /home/culte-st3/www/pmwiki/cookbook/signalwhenmarkup.php:71\nStack
> trace:\n#0 /home/culte-st3/www/pmwiki/cookbook/sectionedit.php(256):
> require_once()\n#1 /home/culte-st3/www/pmwiki/local/config.php(14):
> include_once('...')\n#2 /home/culte-st3/www/pmwiki/pmwiki.php(370):
> include_once('...')\n#3 /home/culte-st3/www/pmwiki/index.php(1):
> include('...')\n#4 {main}\n  thrown in
> /home/culte-st3/www/pmwiki/cookbook/signalwhenmarkup.php on line 71
> 
> any clue (I'm not a programmer)
> 
> thanks
> jdd



More information about the pmwiki-users mailing list