[pmwiki-users] pmwiki and php 7.4 (WikiSh, Peter Bowers)

Petko Yotov 5ko at 5ko.fr
Wed Mar 10 07:37:29 PST 2021


It looks like the errors come from a Cookbook recipe, WikiSh.

Try to reach the author/maintainer Peter Bowers and see if he can update 
his recipe for recent PHP versions.

If he cannot, and if nobody can take over the maintenance, you should 
evaluate if you actually use and need this recipe.

WikiSh is one of the most complex and powerful PmWiki modules and since 
it is not something I've ever used or reviewed, myself I will not 
volunteer to support it.

If you disable this recipe and still have errors, please see the page 
Troubleshooting on how to detect where they come from:

   https://www.pmwiki.org/wiki/PmWiki/Troubleshooting

Petko

On 09/03/2021 22:57, john.wobuck at gmail.com wrote:
> I have upgraded my site as thus:  “This site is running pmwiki-2.2.138
> (VersionNum=2002138).”
> 
> I am trying to upgrade from php 7.1.33 to php 7.4 but I am getting 
> errors
> 
> Some Examples:
> Warning: Use of undefined constant toolbox - assumed 'toolbox' (this
> will throw an Error in a future version of PHP) in
> \cookbook\toolbox.php on line 68
> 
> Warning: Use of undefined constant WikiSh - assumed 'WikiSh' (this
> will throw an Error in a future version of PHP) in cookbook\WikiSh.php
> on line 41
> 
> \pmwiki.php on line 502
> 
> Warning: Cannot modify header information - headers already sent by
> (output started at C:\wa\cookbook\WikiSh.php:42) wiki\pmwiki.php on
> line 1397
> 
> Can anyone help ?



More information about the pmwiki-users mailing list