Last modified: 2014-03-01 09:20:19 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 T64052, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62052 - Object of class mysqli could not be converted to string
Object of class mysqli could not be converted to string
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-28 13:57 UTC by db [inactive,noenotif]
Modified: 2014-03-01 09:20 UTC (History)
1 user (show)

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


Attachments

Description db [inactive,noenotif] 2014-02-28 13:57:53 UTC
Setting $wgDebugDBTransactions = true; gives the error:

Catchable fatal error: Object of class mysqli could not be converted to string in \includes\db\Database.php on line 4110

Printing the callers before the (implicit) toString gives a sprintf in SqlBagOStuff as caller:
wfDebug( sprintf( "Connection %s will be used for SqlBagOStuff\n", $db ) );
Comment 1 db [inactive,noenotif] 2014-03-01 09:20:19 UTC
Fixed by Gerrit change #116217

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


Navigation
Links