You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can reproduce the error, by enabling the BodyParsingMiddleware and submit a post form without named input fields.
I used Slim 4, all latest packages and PHP 7.4.
Error message
Details
Type: ErrorException
Code: 0
Message: Trying to access array offset on value of type bool
File: \path\to\project\vendor\slim\psr7\src\Stream.php
Line: 351
Trace
Alpine418
changed the title
Parsing body (form post) without data throws error
Parsing body (form post) without data throws error - PHP 7.4
Jul 26, 2020
You can reproduce the error, by enabling the BodyParsingMiddleware and submit a post form without named input fields.
I used Slim 4, all latest packages and PHP 7.4.
Error message
The text was updated successfully, but these errors were encountered: