Today, I upgraded php7.1 to php7.2. Page tell me:
Fatal error: Declaration of HTMLFeatureField::getInputHTML($value) must be compatible with NewHTMLCheckField::getInputHTML($value, $attr = NULL) in /InstallPath/w/extensions/BetaFeatures/includes/HTMLFeatureField.php on line 26
I can promise that I haven't edit any files.
I try to fix this error, then I solved this error:
I modified the parameter of getInputHTML() method to
function getInputHTML( $value, $attr = NULL ) {
on includes/HTMLFeatureField.php in 283 line.
My wiki info are:
MediaWiki | 1.29.1 |
PHP | 7.2.0 (cgi-fcgi) |
MariaDB | 10.2.10-MariaDB-log |
ICU | 52.1 |
Lua | 5.1.5 |