Skip to content

Wrong TypeHinting in CustomSql #1235

@bezin

Description

@bezin

Continuing from here to not further flood the Core-Bundle issue tracker contao/core-bundle#1603

Unfortunately it is not fixed yet. Event-Dispatcher works again, but now I cannot access filter configuration in the backend. I get the following error message:

Type error: Argument 4 passed to MetaModels\Filter\Setting\CustomSql::__construct() must be an instance of Contao\InsertTags, instance of Contao\CoreBundle\Framework\Adapter given, called in C:\dev\web\metamodels\vendor\metamodels\core\src\Filter\Setting\CustomSqlFilterSettingTypeFactory.php on line 105

This is due to TypeHinting in CustomSql.php:114, where Contao\InsertTags still is expected.

Cheers

Metadata

Metadata

Labels

bugA bug! A bug! Fast, squish it!

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions