[pmwiki-devel] PHP 7.2 Warnings while using pagelist

2018-01-08 Thread Dominique Faure
Hi, Although notified in the changelog for the 2.2.106 version, the PagelistSort() function is still using create_function() and triggers warnings under php 7.2 such as: *Deprecated*: Function create_function() is deprecated in */home/debian/websites/wiki.dfaure.fr/scripts/pagelist.php

Re: [pmwiki-devel] PHP 7.2 Warnings while using pagelist

2018-01-08 Thread Petko Yotov
Sorry, I'll finish this for the next version. Petko On 08/01/2018 21:39, Dominique Faure wrote: Hi, Although notified in the changelog for the 2.2.106 version, the PagelistSort() function is still using create_function() and triggers warnings under php 7.2 such as: *Deprecated*: Function

[pmwiki-devel] PHP 7.2 Warning while editing wiki pages

2018-01-08 Thread Dominique Faure
Hi, As I was updating my development pmwiki's web environment, I noticed the following warning while editing a wiki page: *Warning*: count(): Parameter must be an array or an object that implements Countable in */home/debian/websites/wiki.dfaure.fr/scripts/forms.php