Breaking: #76259 - Signature of getResult() in PageLayoutView changed

See forge#76259


As part of migrating the core code to use Doctrine DBAL the signature of the method PageLayoutView::getResult() has changed.

Instead of accepting bool, \mysqli_result or object as a result provider only \Doctrine\DBAL\Driver\Statement objects are accepted.

The new signature is:

public function getResult(\Doctrine\DBAL\Driver\Statement $result, string $table = 'tt_content') : array


3rd party extensions using PageLayoutView::getResult() need to provide the correct input type, otherwise exceptions of type InvalidArgumentException will be thrown.

Affected Installations

Installations using 3rd party extensions that use PageLayoutView::getResult().


Refactor all code that works with PageLayoutView::getResult() to provide the expected Doctrine Statement object.