The class seo_basics/Classes/Tree/PageTreeView.php uses deprecated class TYPO3\CMS\Core\Database\DatabaseConnection.
In method getDataNext ,
the function call: $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)
causes this FATAL ERROR:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetch_assoc() | Error thrown in file /var/www/project/htdocs/typo3_src-8.7.1/typo3/sysext/core/Classes/Database/DatabaseConnection.php in line 1131.
Currently we've modified properly the class DatabaseConnection to work fine with MysqliStatement, using method _$res->fetch(\PDO::FETCHASSOC) instead of _$res->fetchassoc.
Hi, the extension seo_basics (v.0.9.6) doesn't work properly with TYPO3 8.7.1. We incontered this problems:
We have replaced this line (method getTree):
$HTML_depthData = $depthData . IconUtility::getSpriteIcon('treeline-' . $LN);
with/** @var \TYPO3\CMS\Core\Imaging\IconFactory $iconFactory */ $iconFactory = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconFactory::class); $icon = $iconFactory->getIcon( 'treeline-' . $LN, \TYPO3\CMS\Core\Imaging\Icon::SIZE_SMALL); $HTML_depthData = $depthData . $icon;
causes this FATAL ERROR:
Currently we've modified properly the class DatabaseConnection to work fine with MysqliStatement, using method _$res->fetch(\PDO::FETCHASSOC) instead of _$res->fetchassoc.
Thank you, Gianluca