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
When I request my show() method in quick succession for a second, I get a parameter error,
The method has a required parameter of int type $id, the following error will occur during continuous requests, and it will return to normal after a few seconds, and no error will be reported for discontinuous and fast requests.
Modules\Department\Http\Controllers\XXXController::show(): Argument #1 ($id) must be of type int, string given, called in /var/www/App/dev_api_2.0/vendor/laravel/framework/src/Illuminate/Routing/Controller.php on line 54 {"exception":"[object] (TypeError(code: 0): Modules\\Department\\Http\\Controllers\\XXXController::show(): Argument #1 ($id) must be of type int, string given, called in /var/www/App/dev_api_2.0/vendor/laravel/framework/src/Illuminate/Routing/Controller.php on line 54 at /var/www/App/dev_api_2.0/Modules/Department/Http/Controllers/XXXController.php:145)
This discussion was converted from issue #43302 on July 20, 2022 09:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When I request my show() method in quick succession for a second, I get a parameter error,
The method has a required parameter of int type $id, the following error will occur during continuous requests, and it will return to normal after a few seconds, and no error will be reported for discontinuous and fast requests.
Steps To Reproduce:
Beta Was this translation helpful? Give feedback.
All reactions