Topic on User talk:DikkieDick

Extension LastUserLogon not working in Mediawiki 1.27 anymore, but solution...

3
DikkieDick (talkcontribs)

When using this extension in MediaWiki 1.27 a blank screen shows up and error_log says:

[Fri Sep 09 13:40:27 2016] [error] [client 10.10.10.50] PHP Fatal error:  Call to undefined method User::getSkin() in /u01/mediawiki/extensions/LastUserLogin/LastUserLogin.body.php on line 113, referer: http://10.10.10.100/index.php/Special:SpecialPages

Seems that getSkin() is deprecated. I solved this by commenting line 113 and adding a new line 113:

$userName = $row[ $key] ;

That seems to do the trick and shows the username, realname and lastlogin.

128.252.214.219 (talkcontribs)

Which version are you using? Thanks.

DikkieDick (talkcontribs)

Version 1.3 of April 7th, 2015, which is the most recent version.

Reply to "Extension LastUserLogon not working in Mediawiki 1.27 anymore, but solution..."