Last modified: 2011-07-13 16:48:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30137, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28137 - Mysterious warnings related to memcached
Mysterious warnings related to memcached
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-20 20:59 UTC by Niklas Laxström
Modified: 2011-07-13 16:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-03-20 20:59:44 UTC
[20-Mar-2011 20:56:13] PHP Notice:  Trying to get property of non-object in /www/w/includes/WebRequest.php on line 701
[20-Mar-2011 20:56:13] PHP Notice:  Trying to get property of non-object in /www/w/includes/WebRequest.php on line 729
[20-Mar-2011 20:56:13] PHP Warning:  Invalid argument supplied for foreach() in /www/w/includes/Setup.php on line 326
[20-Mar-2011 20:56:13] PHP Notice:  Trying to get property of non-object in /www/w/includes/Profiler.php on line 89
[20-Mar-2011 20:56:13] PHP Notice:  Trying to get property of non-object in /www/w/includes/objectcache/MemcachedClient.php on line 648
[20-Mar-2011 20:56:13] PHP Notice:  Trying to get property of non-object in /www/w/includes/objectcache/MemcachedPhpBagOStuff.php on line 39
[20-Mar-2011 20:56:13] PHP Fatal error:  Call to a member function set_servers() on a non-object in /www/w/includes/objectcache/MemcachedPhpBagOStuff.php on line 39


Seeing flood of these for the second time. I'm suspecting it is a PHP bug since those lines correspond usually to $this->foo(); Seems to be the same line numbers always.

Any idea what causes this would be nice.
Comment 1 Tim Starling 2011-03-21 12:13:49 UTC
That is very mysterious. I doubt it would be memcached related since it looks like it is starting before memcached is initialised, in the $wgRequest->getAllHeaders() call in Setup.php. 

How often does it happen? Have you tried restarting Apache to clear the APC cache?
Comment 2 Niklas Laxström 2011-03-21 12:44:02 UTC
This was the second time it happens. It stopped after I restarted lighttpd (which should also restart php-cgi), but I don't know if it was that which stopped it.

Last time it spammed those notices once or twice per minute for about an hour after which it stopped (I only noticed them afterwards)
Comment 3 Niklas Laxström 2011-03-21 12:45:29 UTC
Forgot to say, the first time was 16th March, now 20th March.
Comment 4 Mark A. Hershberger 2011-07-13 16:48:54 UTC
Niklas reports that he hasn't seen these in a few months, so closing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links