Project

General

Profile

Actions

Bug #90535

closed

10.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

Added by Timo Poppinga over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2020-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #90104: Introduce prepared statement for BackendUtility::getPageForRootlineClosedMarkus Klein2020-01-13

Actions
Related to TYPO3 Core - Bug #91206: PDOException "You cannot serialize or unserialize PDOStatement instances" in PopulatePageSlugs wizardClosed2020-04-27

Actions
Actions

Also available in: Atom PDF