Topic on Project:Support desk

PHP warning while uploading html files via Html2Wiki

4
Summary by 星耀晨曦

A PHP 7.2 compatibility issue and has been fixed in master branch.

Note: mediawiki 1.30 is not fully compatible with PHP 7.2.

Bisherbas (talkcontribs)
[Sun Feb 18 09:36:53.647910 2018] [php7:warn] [pid 31670] [client ::1:58474] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/html/wiki/includes/api/ApiEditPage.php on line 337, referer: <nowiki>http://localhost/html/wiki/Special:Html2Wiki

MediaWiki v1.30

Apache2 v2.4.18

PHP v7.2.2

Ubuntu 16.04

Mysql v15.1

星耀晨曦 (talkcontribs)

This is a PHP 7.2 compatibility issue, mediawiki 1.30 is not fully compatible with PHP 7.2. See T182004. This issue has been solved and mediaiwiki 1.31 will fully compatible with PHP 7.2.

Bisherbas (talkcontribs)

Thank you! Know when 1.31 will be released?

星耀晨曦 (talkcontribs)