Last modified: 2014-08-17 10:13:58 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 T59463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57463 - Call to a member function real_escape_string() on a non-object in DatabaseMysqli.php on line 187
Call to a member function real_escape_string() on a non-object in DatabaseMys...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 61516 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-23 00:12 UTC by Sam Reed (reedy)
Modified: 2014-08-17 10:13 UTC (History)
2 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-11-23 00:12:59 UTC
[22-Nov-2013 11:38:16] Fatal error: Call to a member function real_escape_string() on a non-object at /usr/local/apache/common-local/php-1.23wmf4/includes/db/DatabaseMysqli.php on line 187
Server: mw1007
URL: http://[unknown-host]
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf4/includes/db/DatabaseMysqli.php(187): DatabaseMysqli::mysqlRealEscapeString()
#1 /usr/local/apache/common-local/php-1.23wmf4/includes/db/DatabaseMysqlBase.php(455): DatabaseMysqli->mysqlRealEscapeString(10)
#2 /usr/local/apache/common-local/php-1.23wmf4/includes/db/Database.php(2399): DatabaseMysqlBase->strencode(10)
#3 /usr/local/apache/common-local/php-1.23wmf4/includes/db/Database.php(1999): DatabaseBase->addQuotes(10)
#4 /usr/local/apache/common-local/php-1.23wmf4/includes/db/Database.php(1579): DatabaseBase->makeList(Array, 1)
#5 /usr/local/apache/common-local/php-1.23wmf4/includes/db/Database.php(1527): DatabaseBase->selectSQLText(Array, Array, Array, 'BacklinkCache::...', Array, Array)
#6 /usr/local/apache/common-local/php-1.23wmf4/includes/cache/BacklinkCache.php(221): DatabaseBase->select(Array, Array, Array, 'BacklinkCache::...', Array)
#7 /usr/local/apache/common-local/php-1.23wmf4/includes/cache/BacklinkCache.php(164): BacklinkCache->queryLinks('templatelinks', 397042, 400281, INF)
#8 /usr/local/apache/common-local/php-1.23wmf4/extensions/Parsoid/php/ParsoidCacheUpdateJob.php(100): BacklinkCache->getLinks('templatelinks', 397042, 400281)
#9 /usr/local/apache/common-local/php-1.23wmf4/extensions/Parsoid/php/ParsoidCacheUpdateJob.php(49): ParsoidCacheUpdateJob->doPartialUpdate()
#10 /usr/local/apache/common-local/php-1.23wmf4/maintenance/runJobs.php(101): ParsoidCacheUpdateJob->run()
#11 /usr/local/apache/common-local/php-1.23wmf4/maintenance/doMaintenance.php(113): RunJobs->execute()
#12 /usr/local/apache/common-local/php-1.23wmf4/maintenance/runJobs.php(181): require_once('/usr/local/apac...')
#13 /usr/local/apache/common-local/multiversion/MWScript.php(97): require_once('/usr/local/apac...')
#14 {main}
Comment 1 Andre Klapper 2013-11-25 17:18:15 UTC
Reedy: Has been once in the logs, or more often? Is there any such output also for wmf5 instances yet?
Comment 2 Chad H. 2013-11-25 23:15:23 UTC
It happens on all versions, easily reproducible.

Taking this since it's 99% likely to be my fault.
Comment 3 Andre Klapper 2014-01-23 15:29:29 UTC
(In reply to comment #2 by Chad)
> It happens on all versions, easily reproducible.
> Taking this since it's 99% likely to be my fault.

Chad: Any news?
Comment 4 Chad H. 2014-02-19 18:44:44 UTC
*** Bug 61516 has been marked as a duplicate of this bug. ***

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


Navigation
Links