Migrate v2018 to v2020 problem

Getting this error:
Fatal error: Uncaught Error: Call to a member function Execute()

In Row rendering event I have this
$iUser = $this->user_id->CurrentValue;
global $conn;
$sSqlWrk = “SELECT username, user_email FROM phpbb_users WHERE user_id = '”. $iUser . “'” ;
$rswrk = $conn->Execute($sSqlWrk);

How should that be done in V2020 ?

Btw: the document for migrating to 2019 has a bad link.

/Poul

marisoft wrote:

Btw: the document for migrating to 2019 has a bad link.

It should be https://phpmaker.dev/doc/migrate2019.htm instead of https://phpmaker.dev/doc/migrate.htm

marisoft wrote:

$rswrk = $conn->Execute($sSqlWrk);

should be:
$rswrk = Execute($sSqlWrk);

Thanks.