Page MenuHomePhabricator

Object of class mysqli could not be converted to string
Closed, ResolvedPublic

Description

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 ) );


Version: 1.23.0
Severity: normal

Details

Reference
bz62052

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:04 AM
bzimport set Reference to bz62052.
bzimport added a subscriber: Unknown Object (MLST).