We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug An error occurred while trying to create the RBAC model.
array_combine(): Both parameters should have an equal number of elements
Check the error code address and find that the error exists in line CoreEnforcer.php 645
{ "file": "E:\\phpstudy_pro\\WWW\\c.com\\vendor\\casbin\\casbin\\src\\CoreEnforcer.php", "line": 645, "function": "array_combine", "args": [ [ "p_sub", "p_obj", "p_act" ], [ "测试, /admin/setup/wx", "ANY" ] ] }
It processes "test" and "/ admin / setup / Wx" into one field. The correct one should be
[ "测试“, ”/admin/setup/wx", "ANY" ]
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@tangyang9464 @closetool @sagilio
Sorry, something went wrong.
@490626721 this repo is for Golang Casbin. Please send the issue to PHP-Casbin.
hsluoyz
No branches or pull requests
Describe the bug
An error occurred while trying to create the RBAC model.
array_combine(): Both parameters should have an equal number of elements
Check the error code address and find that the error exists in line CoreEnforcer.php 645
{ "file": "E:\\phpstudy_pro\\WWW\\c.com\\vendor\\casbin\\casbin\\src\\CoreEnforcer.php", "line": 645, "function": "array_combine", "args": [ [ "p_sub", "p_obj", "p_act" ], [ "测试, /admin/setup/wx", "ANY" ] ] }
It processes "test" and "/ admin / setup / Wx" into one field. The correct one should be
[ "测试“, ”/admin/setup/wx", "ANY" ]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: