Talk:Release notes/1.27

About this board

User::getSkin() was removed

2
Lestieve (talkcontribs)

Hello,

In the Facebook extension, there is this code line in FacebookHooks.php :

$title = $user->getSkin()->getTitle();

I have this error message when I upgrade MW 1.26 to 1.27 :

Fatal error: Call to undefined method User::getSkin() in ...

Someone would know the new method to use ?

Thank you

This post was hidden by 178.27.132.213 (history)
Reply to "User::getSkin() was removed"

WARNING! This is broken software! TitleMoveComplete not working

1
91.9.109.197 (talkcontribs)

WARNING! This is broken software! See https://phabricator.wikimedia.org/T118683

Reply to "WARNING! This is broken software! TitleMoveComplete not working"

Database error after upgrading from MediaWiki 1.26.2

2
Till Kraemer (talkcontribs)

Hi,

after upgrading from MediaWiki 1.26.2 to 1.27, I was getting the following error whenever I tried to log in:

A database query error has occurred. This may indicate a bug in the software.

- Query:
  SELECT gu_id,gu_name,lu_wiki,gu_salt,gu_password,gu_auth_token,gu_locked,gu_hidden,gu_registration,gu_email,gu_email_authenticated,gu_home_db,gu_cas_token FROM `globaluser` LEFT OUTER JOIN `localuser` ON ((gu_name=lu_name) AND lu_wiki = 'my_wiki_db') WHERE gu_name = '1.2.3.4' LIMIT 1
- Function: CentralAuthUser::loadState
- Error: 1054 Unknown column 'gu_cas_token' in 'field list' (::1)

I performed "ALTER TABLE globaluser ADD COLUMN gu_cas_token integer unsigned NOT NULL default 1;" (patch-gu_cas_token.sql) in my CentralAuth database and the error was gone.

Does this mean I have to apply all patches in extensions/CentralAuth/db_patches manually? I thought this is something the update script takes care of.

Thanks and cheers,

Till

Till Kraemer (talkcontribs)

P.S.: I just tried the other patches. Turns out I didn't have to do that :)

Reply to "Database error after upgrading from MediaWiki 1.26.2"
There are no older topics
Return to "Release notes/1.27" page.