PHP-DI Error message (v2024)

I am getting the following message since today, i am using phpmaker 2024, i have tried updating template also, but the error message remains the same. any idea why and how to resolve this issue.
Fatal error : Could not check compatibility between DI\Proxy\ProxyFactory::createProxy(string $className, Closure $createFunction): ProxyManager\Proxy\LazyLoadingInterface and DI\Proxy\ProxyFactoryInterface::createProxy(string $className, Closure $createFunction): object, because class ProxyManager\Proxy\LazyLoadingInterface is not available

Try updating template. Tools->Update Template and then generate.

1 Like

Updating template will update npm packages, it will update your PHP-DI to v7.1.1 which has already addressed the issue.