Issue Bug Closed

#9053510.3.0 throws PHP Warning: mysqli_stmt::bind_param(): Couldn't fetch mysqli_stmt in /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php line 236

Timo Poppinga 02/25/20, 20:56 updated 02/27/20, 22:13

Description

Open an page in TYPO3 Backend List and Page module throws a warning.

This didn’t happen with TYPO3 10.2.2

typo3/sysext/backend/Classes/Utility/BackendUtility.php
Line 641

$statement = $queryBuilder->execute();
$runtimeCache->set(‘getPageForRootlineStatement-’ . $statementCacheIdent, $statement);
} else {
$statement->bindValue(1, (int)$uid);
$statement->execute(); // this will trigger the waring alter on in doctrin
}
$row = $statement->fetch();
$statement->closeCursor();

vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
Line 236

$values[$parameter] = $value;
}
if (! $this->_stmt->bind_param($types, …$values)) { // this triggered is the warning
throw new MysqliException($this->_stmt->error, $this->_stmt->sqlstate, $this->_stmt->errno);
}
$this->sendLongData($streams);

Frontend works fine. If wanted or needed i can give access to the Installation

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.