TYPO3-Error in Statistic-Module (Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative())
I've updated the ext in my dev-env to v4.0.1 and got an TYPO3-Error when i try to view statistics or consent-management in the backend module.
My System:
- Typo3 10.4.6
- DDEV Env
- webserver_type: nginx-fpm
- Mysql-Version: MySQL 5.5.5-10.2.32-MariaDB-1:10.2.32+maria~bionic-log
- PHP-Version: 7.2.31-1+0
20200514.41+debian101.gbpe2a56b
Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative()
in /var/www/html/public/typo3conf/ext/sg_cookie_optin/Classes/Service/OptinHistoryService.php line 266
);
$queryBuilder->addGroupBy('item_type');
$queryBuilder->addGroupBy('item_identifier');
return array_column($queryBuilder->execute()->fetchAllAssociative(), 'item_identifier');
}
/**
* Gets the available versions
at SGalinski\SgCookieOptin\Service\OptinHistoryService::getItemIdentifiers(array('pid' => 54)) in /var/www/html/public/typo3conf/ext/sg_cookie_optin/Classes/Controller/ConsentController.php line 62
$pageUid = (int) GeneralUtility::_GP('id');
$this->view->assign(
'identifiers', OptinHistoryService::getItemIdentifiers(
[
'pid' => $pageUid
]
));
if ($pageUid) {