fnagel / t3extblog

A record based blog extension for TYPO3 CMS. Easy to use and packed with features (incl. comments, subscriptions for comments and posts, Wordpress like subscription manager, reasonable email sending in FE and BE, GDPR ready, BE modules, Dashboard widgets, RSS, Sitemap, ...). Flexible and powerful!

Home Page:http://typo3.org/extensions/repository/view/t3extblog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TYPO3 12.4 Backend post delete

jmSirup opened this issue · comments

Got an Error while trying to delete a post in TYPO3 12.4 and t3extblog Version 8.0.0

at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Doctrine\DBAL\Driver\Mysqli\Exception\ConnectionError), 'SELECT `uid` FROM `tx_t3blog_com` WHERE ((Array) AND (`tx_t3blog_com`.`deleted` = 0))', array(), array())

When I add a spread operator ... in Classes/Hooks/Tcemain.php (line 208) to $constraints then the errror doesn't occour anymore.

$queryBuilder
            ->select('uid')
            ->from($tableName)
            ->where(CompositeExpression::and(...$constraints));

Thanks for contributing! Confirmed and fixed in latest master.