Interface 'Psr\Http\Message\RequestFactoryInterface' not found

An error raise after generating code with phpm by sql server driver in XAMPP PHPFatal error: Interface ‘Psr\Http\Message\RequestFactoryInterface’ not found in C:\xamppX86\htdocs\vendor\nyholm\psr7\src\Factory\Psr17Factory.php on line 16

Which version of SQL Server database you are using?Make sure you have already enabled Composer update option before re-generating ALL the script files again.

Make sure you have updated your Composer to the latest version, read https://discourse.hkvstore.com/t/interface-psr-http-message-requestfactoryinterface-not-found/3419/1

mobhar wrote:

Which version of SQL Server database you are using?> Make sure you have already enabled > Composer update > option before
re-generating ALL the script files again.

I use SQL server 2008 R2
And my composer version is 2.4.4

Please note, if you are using PHPMaker v2023, then by default it does not support SQL Server 2008 database. Since v2022, PHPMaker used DBAL version 3 that does not support SQL Server 2008 database. You may read documentation regarding this.However, you may try this trick if you want to obviously use PHPMaker v2023 with SQL Server 2008 database.