Breaking: #77453 - Signature of AbstractPlugin::pi_exec_query changed 

See forge#77453

Description 

The value returned by AbstractPlugin::pi_exec_query has changed.

Instead of returning one of bool , \mysqli_result or object the method always returns a \Doctrine\Dbal\Driver\Statement .

Impact 

3rd Party extensions using AbstractPlugin::pi_exec_query need to be modified to work with the new return type.

Affected Installations 

Installations using 3rd party extensions that use AbstractPlugin::pi_exec_query .

Migration 

Migrate your code to use the Statement object:

$statement = $this->pi_exec_query(...);
while($row = $statement->fetch())
{
    // ... do something here
}
Copied!