In routing admin.php, $api->resoure () reports an error Dingo\Api\Routing\Router::resoure method is not defined, but $api->get () is normal
The following is the error code, line 24.
Expected Behaviour
Online search found that the solution to the problem in the issue of the dingo/api github project is vendor\dingo\api\src\Routing\Router.php Finally, the flushMiddlewareGroups method is added, and the bug is fixed after v3.0.6. My current version is 3.0. 7, and there is flushMiddlewareGroups method in this version, it still doesn't work, also try to downgrade to 3.0.6 and still report the same error.
Steps to Reproduce
Just use $api->resoure () ,I tried to reinstall Dingo/Api midway, but nothing worked.
Actual Behaviour
In routing admin.php, $api->resoure () reports an error Dingo\Api\Routing\Router::resoure method is not defined, but $api->get () is normal
The following is the error code, line 24.
Expected Behaviour
Online search found that the solution to the problem in the issue of the dingo/api github project is vendor\dingo\api\src\Routing\Router.php Finally, the flushMiddlewareGroups method is added, and the bug is fixed after v3.0.6. My current version is 3.0. 7, and there is flushMiddlewareGroups method in this version, it still doesn't work, also try to downgrade to 3.0.6 and still report the same error.
Steps to Reproduce
Just use $api->resoure () ,I tried to reinstall Dingo/Api midway, but nothing worked.