b13 / t3ext-seo_basics

TYPO3 Extension: SEO Basics
7 stars 27 forks source link

Incompatibilities with TYPO3 8.7.1 #58

Open gianstraf opened 7 years ago

gianstraf commented 7 years ago

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:

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.

Thank you, Gianluca

breml commented 7 years ago

@gianstraf Thanks for this, it helped me to get seo_basics to work with TYPO3 8.7.x.

gianstraf commented 7 years ago

@breml you are welcome When will it be available on TER ?

Thank you, Gianluca