Alexey <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from Alexey <> ---
I've faced the same issue. The problem starts in debug message:


if ( $wgDebugDBTransactions ) {
    wfDebug( sprintf( "Connection %s will be used for SqlBagOStuff\n", $db ) );

that calls __toString method for $db:


public function __toString() {
    return (string)$this->mConn;

I use MySQL database and in my case $this->mConn is an object of type mysqli
that can't be converted to String.

To print type of connection I've changed return expression to $this->getType()
but not sure what behaviour was intended.

My config:
MediaWiki     1.22.0 (80d6477)

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to