Topic on Project:Support desk

[RESOLVED] PHP Fatal errors after installing Version 1.23.3

7
Summary by Florianschmidtwelzow
Taraathan (talkcontribs)

I just installed 1.23.3 using Softaculous. I am seeing an error in my log:

PHP Fatal error: Call to a member function getTitle() on a non-object in /home/rulemlso/public_html/wiki.ruleml.org/includes/Feed.php on line 309

This error message seems odd because line 309 in Feed.php reads

return gmdate( 'D, d M Y H:i:s \G\M\T', wfTimestamp( TS_UNIX, $ts ) );

There is no obvious affect on the wiki itself - I'm not really sure where to look for it.

I have the following extensions installed: Multi-Category Search (1.66) Replace Text (1.0) Cite (-) ParserFunctions(1.6.0) Privacy(1.2.3) SyntaxHighlight(1.0.8.11-wmfm1) Lockdown (d08bc8) WikiEditor (0.4.0)

PHP is 5.3.29 (litespeed) MYSQL is 5.5.36-cll-lve

I reported this at https://bugzilla.wikimedia.org/show_bug.cgi?id=70709, and they suggest I also post here.

Since I reported that bug I am also seeing another error: PHP Fatal error: Call to a member function getUniqueId() on a non-object in /home/rulemlso/public_html/wiki.ruleml.org/includes/Feed.php on line 395

As suggested from bugzilla, I have created a .htaccess files with

php_value error_reporting -1 php_flag display_errors On

and have included $wgShowExceptionDetails =true; in LocalSettings.php

No results to report yet.

I have yet to see an ill effects from this error, I just want to keep on top of things.

Where would problems in Feed.php show up?

Florianschmidtwelzow (talkcontribs)

Have you upgraded from another MediaWiki installation?

Taraathan (talkcontribs)

Sorry to be so long in answering- apparently I don't get a notification for this thread.

Yes, I updated from MW 1.19.x (x probably 8, but I don't recall exactly)

88.130.122.191 (talkcontribs)

Errors, which seem to be random and completely unrelated to your actual code - like your first one -, are often caused by cached stuff, e.g. in a PHP accelerator. Make sure to empty all caches before you try again!

Taraathan (talkcontribs)

This wiki is running on a shared host, so I'm not sure how or if I can empty caches. I have a feeling that we do not have any caches, but not sure how to verify this.

Taraathan (talkcontribs)

The errors seem to have disappeared on their own, so this seems like a likely culprit.

98.222.200.172 (talkcontribs)

I was incorrect about the errors disappearing - I was just looking for them in the wrong place. The errors continue to appear, at a rate of between 2-8 times per day, in the error_log file in my wiki directory.

Reply to "[RESOLVED] PHP Fatal errors after installing Version 1.23.3"