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

Fatal Error #25

Closed
3blake7 opened this issue Jun 12, 2015 · 6 comments
Closed

Fatal Error #25

3blake7 opened this issue Jun 12, 2015 · 6 comments
Labels

Comments

@3blake7
Copy link

3blake7 commented Jun 12, 2015

I have latest MW, SMW, and SF

When I enable SS, I can create signup form, goto page while logged in but I get error on page while anon. It's really read, the error message refers to other extensions, which I comment out and just get another error with another extension. If I unset the form variable, it goes away.

First it's Fatal error: Call to a member function isAllowed() on a non-object in for AdminLinks
Fatal error: Call to a member function isAnon() on a non-object in for LiquidThreads

Please help, thanks!

@JeroenDeDauw
Copy link
Member

@yaronkoren any idea?

@mwjames
Copy link
Contributor

mwjames commented Jun 12, 2015

I have latest MW, SMW, and SF

Means exactly what? (Version numbers would be nice)

First it's Fatal error: Call to a member function isAllowed() on a non-object in for AdminLinks
Fatal error: Call to a member function isAnon() on a non-object in for LiquidThreads

This isn't really sufficient to make any guess on what is going wrong. Please have a look at [0] to provide a full stack trace. That said, given the mentioned isAnon/ isAllowed may refer to User::isAllowed / User::isAnon but this is just a conjecture.

[0] https://semantic-mediawiki.org/wiki/Help:Identifying_bugs

@3blake7
Copy link
Author

3blake7 commented Jun 13, 2015

MW 1.25.1 SMW 2.2.1 SF 3.2 SS 1.0

It only happened when logged out on Special:SemanticSignup

@mwjames all those settings made no difference, no stack trace or anything came up

@3blake7
Copy link
Author

3blake7 commented Jun 13, 2015

I also sometimes get a proxy error, but only on that page and not every time.

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /index.php/Special:SemanticSignup.

Reason: Error reading from remote server

@mwjames
Copy link
Contributor

mwjames commented Jun 13, 2015

It only happened when logged out on Special:SemanticSignup
made no difference, no stack trace or anything came up

If you have settings like below you should have some kind of trace for the fatal/exception either in MW or PHP log.

error_reporting(E_STRICT|E_ALL);
ini_set("display_errors", 1);
$wgShowExceptionDetails = true;
$wgDevelopmentWarnings = false;
$wgShowSQLErrors = true;
$wgDebugDumpSql  = false;
$wgShowDBErrorBacktrace = true;

Without a trace it is impossible to narrow down the issue and yet let alone to propose a fix (well I'm guessing something changed in 1.25 which makes Special:SemanticSignup going rogue).

@3blake7
Copy link
Author

3blake7 commented Jun 13, 2015

http://wiki.fractalfederation.com/index.php/Special:SemanticSignup
http://wiki.fractalfederation.com/index.php/Special:Version

The stack trace just isn't coming up, even with those settings. Sorry I can't provide more. It's really weird.

@3blake7 3blake7 closed this as completed Jun 13, 2015
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