Class 'Zend\Diactoros\RequestFactory' not found
impronta48 opened this issue · 1 comments
impronta48 commented
While updating to Cakephp 4.4.x I get this error in
[ROOT/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php]
new RequestFactory(), #587
impronta48 commented
Just replace lines 40 and 41 of SocialAuthMiddleware.php with
use Laminas\Diactoros\RequestFactory;
use Laminas\Diactoros\StreamFactory;