[pmwiki-users] pmwiki 2.2-127 & PHP 7.3 warnings (Peter Bowers)

Petko Yotov 5ko at 5ko.fr
Mon Apr 6 02:38:23 PDT 2020


These are all addons/recipes by Peter Bowers, I hope that he can reply 
-- he was last active on the mailing list in 2017.

I wouldn't be able to provide an easy fix for these because they are 
quite complex and I don't even use them.

If Peter cannot reply, the 3 recipes have a license that allows 
modification and redistribution, so if you think you can, feel free to 
take over the maintenance and update them yourself.

Petko

On 06/04/2020 11:05, Johan Bengtsson wrote:
> I am now running all our wikis on a new server with php 7.3 and 
> 2.2-127.
> 
> I works really well, pmtoc + sectionedit seems to be working together
> perfectly now:-)
> 
> There are some php warnings in the log though, seems to be mostly 
> related
> to wikish, seclayer & toolbox:
> 
> 
> [Mon Apr 06 10:58:22.640448 2020] [proxy_fcgi:error] [pid 16717]
> [client 46.239.101.40:51276] AH01071: Got error 'PHP message: PHP
> Deprecated: Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Warning:  Use of undefined constant toolbox - assumed 'toolbox'
> (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/toolbox.php on line 68PHP
> message: PHP Warning:  "continue" targeting switch is equivalent to
> "break". Did you mean to use "continue 2"? in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 4616PHP
> message: PHP Warning:  "continue" targeting switch is equivalent to
> "break". Did you mean to use "continue 2"? in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 4620PHP
> message: PHP Warning:  Use of undefined constant WikiSh - assumed
> 'WikiSh' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 41PHP
> message: PHP Warning:  Use of undefined constant WIKIPAGEID - assumed
> 'WIKIPAGEID' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 42PHP
> message: PHP Warning:  Use of undefined constant TEXTFILEID - assumed
> 'TEXTFILEID' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 43PHP
> message: PHP Warning:  Use of undefined constant SESSFILEID - assumed
> 'SESSFILEID' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 44PHP
> message: PHP Warning:  Use of undefined constant BADFILEID - assumed
> 'BADFILEID' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 45PHP
> message: PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Warning:  Use of undefined constant WIKISH_ACTION_OPTIONS -
> assumed 'WIKISH_ACTION_OPTIONS' (this will throw an Error in a future
> version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 116PHP
> message: PHP Warning:  Use of undefined constant
> WIKISH_ACTION_VARIABLE - assumed 'WIKISH_ACTION_VARIABLE' (this will
> throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 117PHP
> message: PHP Warning:  Use of undefined constant
> WIKISH_ACTION_WILDCARD - assumed 'WIKISH_ACTION_WILDCARD' (this will
> throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 118PHP
> message: PHP Warning:  Use of undefined constant WIKISH_ACTION_DEFAULT
> - assumed 'WIKISH_ACTION_DEFAULT' (this will throw an Error in a
> future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/WikiSh.php on line 119PHP
> message: PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Warning:  "continue" targeting switch is equivalent to "break".
> Did you mean to use "continue 2"? in
> /var/www/wikiportal/Farm-2.2.127/cookbook/SecLayer.php on line 313PHP
> message: PHP Warning:  "continue" targeting switch is equivalent to
> "break". Did you mean to use "continue 2"? in
> /var/www/wikiportal/Farm-2.2.127/cookbook/SecLayer.php on line 319PHP
> message: PHP Warning:  Use of undefined constant SecLayer - assumed
> 'SecLayer' (this will throw an Error in a future version of PHP) in
> /var/www/wikiportal/Farm-2.2.127/cookbook/SecLayer.php on line 57PHP
> message: PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Deprecated:  Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501', referer:
> https://it.portal.chalmers.se/itportal/NonStuDATWindows/RDP-StuDAT-Windows
> 
> [Mon Apr 06 11:03:41.042659 2020] [proxy_fcgi:error] [pid 16717]
> [client 46.229.168.129:59054] AH01071: Got error 'PHP message: PHP
> Deprecated: Function create_function() is deprecated in
> /var/www/wikiportal/Farm-2.2.127/pmwiki.php on line 501PHP message:
> PHP Warning:  Use of undefined constant INTACT_Wiki_Changes - assumed
> 'INTACT_Wiki_Changes' (this will throw an Error in a future version of
> PHP) in
> /var/www/wikiportal/dacota-investigation-manual/local/config.php on
> line 213'



More information about the pmwiki-users mailing list