Comments (6)
Good morning,
Which laravel, php and laravel-acl version are you using?
from laravel-acl.
I'm using:
php: 7.3.20
laravel: 7.0
laravel-acl: 2.3
from laravel-acl.
Laravel ACL only added support for laravel v7.x on version 2.4.0 and higher.
The version 2.3 of this package are tested only with laravel v5.6, v5.7, v5.8 and v6.x.
Can you try to upgrade your laravel-acl dependency?
from laravel-acl.
Hi!
I upgraded laravel-acl to 2.5 and getting the same error
from laravel-acl.
I solved this issue!
in my view I changed input name
From:
<label>
<input type="checkbox" name="permission['{{ $pValue[$value] }}']" />
<span></span>
</label>
To
<label>
<input type="checkbox" name="permission[{{ $pValue[$value] }}]" />
<span></span>
</label>
Simply I removed the single quotes. So in my controller I didn't change anything.
it caused an error because It took a slug including single quotes
"'c-order'"
And now after removing it works.
from laravel-acl.
Glad you solved it 😃
from laravel-acl.
Related Issues (20)
- Is this compatible with mongodb? HOT 3
- Exception at UsersTrait:200 when revokingGroup from User HOT 5
- can't sync group from user HOT 3
- Documents lacks some important functions HOT 1
- How to customize Models to Admin HOT 3
- Add support for route model binding
- Make the admin configurable.
- Catching the denied permissions/groups list in the custom handler's exception HOT 5
- Uma tabela a mais para atribuir setores HOT 2
- Wrong User class used by artisan command HOT 3
- The `can` directive does not work HOT 6
- Error when checking permission for user without direct permission but has group permissions. HOT 3
- Documetation Link broken with 404 Error HOT 1
- support laravel 9 with php8.1 HOT 3
- UsersTrait not exist HOT 3
- Fresh install error message: Cannot assign null to property Junges\ACL\AclRegistrar::$permissionClass of type string HOT 2
- Cannot assign null to property Junges\ACL\AclRegistrar::$cacheKey of type string HOT 2
- acl:reset-cache command is not registered HOT 1
- Is there a way to upgrade a L9 app to L10? - "If you are using v3, do not upgrade to v4. Use it in new projects only" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-acl.