PHP Fatal error: Class 'HTMLFormField' not found in /var/www/vhosts/.../httpdocs/extensions/ConfirmEdit/HTMLCaptchaField.php on line 22
While using
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); require_once( "$IP/extensions/ConfirmEdit/ReCaptcha.php");
there is an error message is my severs error_log
PHP Fatal error: Class 'HTMLFormField' not found in /var/www/vhosts/berghapedia.nl/httpdocs/extensions/ConfirmEdit/HTMLCaptchaField.php on line 22
What is the problem?
Regards, GW
You're probably using an older version of MediaWiki, that's not supported by the latest version of ConfirmEdit any more.
Then, why does the Extension page state the current release of ConfirmEdit supports MW 1.11 and later? I'm having the same problem, on a MW 1.15-based system.
It definitely doesn't support MW 1.11 - I'm not even sure if it supports MW 1.17, or if it's only MW 1.18. That "1.11" should probably be changed - I guess it's there to indicate that there are older versions of ConfirmEdit going back to 1.11; or maybe it's just that no one bothered to change it.
You should download the version of ConfirmEdit appropiate for your MediaWiki version (which is indeed an old version of ConfirmEdit).