Hi zusammen,
beim Update von 3.5.x auf 4.9.x gibt es (kleinere?) Problem mit der Erweiterung news4ward. Ich weiss, ist nicht mehr superaktuell, aber der Kunde möchte es gerne weiter verwenden.
Beim Bearbeiten des Beitragsleser-Moduls im Backend erhalte ich folgende Fehlermeldung:
Code:
Internal Server Error
Argument 2 passed to Contao\Controller::getTemplateGroup() must be of the type array, string given, called in /var/www/vhosts/mydomain.de/httpdocs/kunde/var/cache/prod/contao/dca/tl_module.php on line 2058
Im Frontend lassen sich die einzelnen Beiträge (weiterlesen) nicht anklicken. Im Log steht danach folgendes:
Code:
[2020-10-28 15:17:49] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'SELECT *, author AS authorId, (SELECT title FROM tl_news4ward WHERE tl_news4ward.id=article.pid) AS archive, (SELECT jumpTo FROM tl_news4ward WHERE tl_news4ward.id=article.pid) AS parentJumpTo, (SELECT name FROM tl_user WHERE id=author) AS author, MATCH (keywords,tags,title,description) AGAINST (' My Text' IN BOOLEAN MODE) AS score FROM tl_news4ward_articleWithTags AS article WHERE id<>'7' AND article.pid IN('1') AND (article.start='' OR article.start<1603894669) AND (article.stop='' OR article.stop>1603894669) AND article.status='published' AND MATCH (keywords,tags,title,description) AGAINST (' My Text' IN BOOLEAN MODE) > 0 ORDER BY score DESC': SQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list" at /var/www/vhosts/mydomain.de/httpdocs/kunde/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT *, author AS authorId,\n\t\t\t\t\t\t(SELECT title FROM tl_news4ward WHERE tl_news4ward.id=article.pid) AS archive,\n\t\t\t\t\t\t(SELECT jumpTo FROM tl_news4ward WHERE tl_news4ward.id=article.pid) AS parentJumpTo,\n\t\t\t\t\t\t(SELECT name FROM tl_user WHERE id=author) AS author,\n\t\t\t\t\t\tMATCH (keywords,tags,title,description) AGAINST (' My Text' IN BOOLEAN MODE) AS score\n\t\t\t\tFROM tl_news4ward_articleWithTags AS article\n\t\t\t\tWHERE id<>'7' AND article.pid IN('1') AND (article.start='' OR article.start<1603894669) AND (article.stop='' OR article.stop>1603894669) AND article.status='published'\n\t\t\t\t\tAND MATCH (keywords,tags,title,description) AGAINST (' My Text' IN BOOLEAN MODE) > 0\n\t\t\t\tORDER BY score DESC':\n\nSQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list at /var/www/vhosts/mydomain.de/httpdocs/kunde/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: HY000): SQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list at /var/www/vhosts/mydomain.de/httpdocs/kunde/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: HY000): SQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list at /var/www/vhosts/mydomain.de/httpdocs/kunde/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:125)"} []
Zeile 2058 tl_module.php:
PHP-Code:
return $this->getTemplateGroup('mod_news4ward_reader', $intPid);
Jemand eine Idee?
Grüße,
mapfei
Lesezeichen