[pmwiki-users] Problem with PmWiki & PHP 7.2 (new season!)

Petko Yotov 5ko at 5ko.fr
Wed Nov 6 09:30:41 PST 2019


Added to https://www.pmwiki.org/wiki/Cookbook/PccfToPcfOverride .
P.

On 06/11/2019 17:53, Donald Z. Osborn wrote:
> Thanks, Petko. I should have thought of the positioning in config. 
> Anyway,
> that solved this issue.

> 
> On Wed, Nov 6, 2019 at 3:56 AM Petko Yotov <5ko at 5ko.fr> wrote:
> 
>> You actually included and enabled PccfToPcfOverride, and that line 499
>> should never be processed.
>> 
>> It is possible that something calls PCCF() before you included
>> PccfToPcfOverride. Move the block that enables and configures
>> PccfToPcfOverride near the beginning of config.php, before any other
>> included cookbook recipes.
>> 
>> Otherwise, I've added a section on how to track the errors and to 
>> learn
>> which configuration needs update at this page:
>> 
>>    https://www.pmwiki.org/wiki/PmWiki/Troubleshooting#track-errors
>> 
>> If you know which configuration causes the warning, we may be able to
>> fix it.
>> 
>> Petko
>> 
>> --
>> If you upgrade :  http://www.pmwiki.org/Upgrades
>> 
>> 
>> On 05/11/2019 21:55, Donald Z. Osborn wrote:
>> > Resolved a bunch of issues on one wiki, thanks to Petko's help via this
>> > list. Now dealing with another wiki. Updated to 2.2.120 and made some
>> > adjustments to get rid of most issues, but one remains:
>> >
>> > Deprecated: Function create_function() is deprecated in
>> > /misc/32/000/115/128/8/user/web/bisharat.net/wikidoc/pmwiki.php on line
>> > 499
>> >
>> > I used  pccf2pcf.php + the first option of code to add to the config
>> > file
>> > per https://www.pmwiki.org/wiki/Cookbook/PccfToPcfOverride
>> >
>> > That successfully eliminated all but one of many "Deprecated..." lines
>> > like
>> > the one above. Now I'm stuck: how to get rid of the last one?



More information about the pmwiki-users mailing list