Topic on Extension talk:UserMerge

[SOLVED WONTFIX] Fatal error: Call to undefined method User::getEditToken()

3
2.25.57.93 (talkcontribs)

I have this error;

Fatal error: Call to undefined method User::getEditToken() in /var/www/lighttpd/vhosts/www.liblfds.org/mediawiki/extensions/UserMerge/UserMerge_body.php on line 148

PHP 5.3.17 (cli) (built: Sep 17 2012 20:19:13) Product Version MediaWiki 1.18.2 PHP 5.3.17 (cgi-fcgi) PostgreSQL 9.2.1

Wikinaut (talkcontribs)

You use an outdated MediaWiki Version 1.18.x, which is no longer supported, see Download. Since version 1.19, the old method editToken() has been deprecated, and the UserMerge extension uses the new name getEditToken(). And you haven't included the version number of the extension - this should be 1.7.2 .

Ad-hoc fix for pre 1.19 MediaWiki versions: it should work if you rename the call in UserMerge_body.php from User::getEditToken() to User::editToken().

Luciagirasoles (talkcontribs)

Even if this isues is solve, I had to use getEditToken() in 1.27.1 Mediawiki versión