Topic on Extension talk:ConfirmAccount

Fatal error: Call to undefined method ConfirmAccountsPage

4
Summary by Seb35

Extension version didn’t match MediaWiki version

93.108.232.91 (talkcontribs)

When trying to access the confirm account page, I'm getting this error: "Fatal error: Call to undefined method ConfirmAccountsPage::getLinkRenderer() in /var/www/mediawiki-1.27.1/extensions/ConfirmAccount/frontend/specialpages/actions/ConfirmAccount_body.php on line 211"

Mediawiki -1.27.1

PHP - 5.6

SO - CentOS 7.2

Apreciate any help provided.

Regards,

Jorge

93.108.232.91 (talkcontribs)

(line 211) $linkRenderer = $this->getLinkRenderer();

93.108.232.91 (talkcontribs)

With the latest version of the extension this problem is fixed!

Seb35 (talkcontribs)

If others experience this issue, it is a version mismatch between MediaWiki and the extension. For this specific issue MediaWiki 1.28 must be used (from what I deduce). More generally you should prefer the extension version corresponding to your MediaWiki version: with the ExtensionDistributor select the corresponding MW version, and with Git select the corresponding REL1_XX branch.