Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Server Error with v1.24.0 #8

Closed
Tokzu-zz opened this issue Nov 27, 2014 · 5 comments
Closed

500 Internal Server Error with v1.24.0 #8

Tokzu-zz opened this issue Nov 27, 2014 · 5 comments

Comments

@Tokzu-zz
Copy link

Hello,

This morning I upgraded my MediaWiki to 1.24.0 but I received an 500 Internal Server Error and in my error log is is displayed:

20141127T130128: wiki.kaero-webs.com/index.php
PHP Fatal error: Cannot access protected property User::$mOptionOverrides in /wiki/extensions/Auth_SMF.php on line 1050

Maybe is because the new version, by the way in 1.23 I don't have this problem.

@sagnitude
Copy link

Modify wiki/includes/User.php:

search for protected $mOptionOverrides;

replace it with public $mOptionOverrides;

this shall fix it.

@jdarwood007
Copy link
Member

I wonder what they changed that caused this.

https://git.wikimedia.org/blob/mediawiki%2Fcore/HEAD/includes%2FUser.php
Looking at their git repo, the User class hasn't changed from what I see to cause that.

@sagnitude
Copy link

The change was introduced in this commit:

https://git.wikimedia.org/commitdiff/mediawiki%2Fcore/2daa1fab7a200ac2045e1e03e17a19fea1792afe

It seems they were trying to drop support for PHP 4.4 which doesn't support the keyword 'protected'.

@jdarwood007
Copy link
Member

@sagnitude Is this still an issue?

@jdarwood007 jdarwood007 added this to the SMF 2.0 milestone Oct 18, 2016
@jdarwood007
Copy link
Member

Closing this as we are targeting 1.27 at this point and will support future releases. 1.24 is EOL for MediaWiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants