I've created BREAD after creating a database as well as model. Then when click to create BREAD, the system said 404 | Error

Then after that, when checking again at BREAD index, it still shows that the BREAD has been created.

But when trying to access BREAD, it said error 403

After giving it a permission

This is what I've seen on the screen

But I've already created that database using Voyager

What am I missed? 馃様
Steps to reproduce the behaviour:
Screenshots included on the error description
Thank you for a super great system!
Looks like your naming is wrong.
The correct plural is information not informations and so Laravel is looking for that table without s.
Looks like your naming is wrong.
The correct plural is information not informations and so Laravel is looking for that table without s.
Thank you for responding, @emptynick
You mean on the table name, right?
Yes he means the table, if you solved please close the issue.
Yes he means the table, if you solved please close the issue.
Thank you @MrCrayon ,
My problem is fixed, but when creating BREAD, my site always calls a 404 error, what happened?.

Like this, do you facing that same issues that I did?
Works for me.
What's your Voyager exact version v1.3.0 or v1.3.1?
Try clearing your cache:
php artisan view:clear
php artisan cache:clear
Works for me.
What's your Voyager exact version v1.3.0 or v1.3.1?
Try clearing your cache:
php artisan view:clear php artisan cache:clear
Thank you for responding,
My current Voyager version is 1.3.1.
And by the way, it still has the same issues after I've run above command.
Does that happen only after saving or also when you go to Tools -> BREAD?
How are your routes for bread?
php artisan route:list | grep bread
| | POST | admin/bread | voyager.bread.store | TCG\Voyager\Http\Controllers\VoyagerBreadController@store | web,admin.user |
| | GET|HEAD | admin/bread | voyager.bread.index | TCG\Voyager\Http\Controllers\VoyagerBreadController@index | web,admin.user |
| | GET|HEAD | admin/bread/delete_relationship/{id} | voyager.bread.delete_relationship | TCG\Voyager\Http\Controllers\VoyagerBreadController@deleteRelationship | web,admin.user |
| | POST | admin/bread/relationship | voyager.bread.relationship | TCG\Voyager\Http\Controllers\VoyagerBreadController@addRelationship | web,admin.user |
| | PUT | admin/bread/{id} | voyager.bread.update | TCG\Voyager\Http\Controllers\VoyagerBreadController@update | web,admin.user |
| | DELETE | admin/bread/{id} | voyager.bread.delete | TCG\Voyager\Http\Controllers\VoyagerBreadController@destroy | web,admin.user |
| | GET|HEAD | admin/bread/{table}/create | voyager.bread.create | TCG\Voyager\Http\Controllers\VoyagerBreadController@create | web,admin.user |
| | GET|HEAD | admin/bread/{table}/edit | voyager.bread.edit | TCG\Voyager\Http\Controllers\VoyagerBreadController@edit | web,admin.user |
Does that happen only after saving or also when you go to Tools -> BREAD?
How are your routes for bread?
php artisan route:list | grep bread | | POST | admin/bread | voyager.bread.store | TCG\Voyager\Http\Controllers\VoyagerBreadController@store | web,admin.user | | | GET|HEAD | admin/bread | voyager.bread.index | TCG\Voyager\Http\Controllers\VoyagerBreadController@index | web,admin.user | | | GET|HEAD | admin/bread/delete_relationship/{id} | voyager.bread.delete_relationship | TCG\Voyager\Http\Controllers\VoyagerBreadController@deleteRelationship | web,admin.user | | | POST | admin/bread/relationship | voyager.bread.relationship | TCG\Voyager\Http\Controllers\VoyagerBreadController@addRelationship | web,admin.user | | | PUT | admin/bread/{id} | voyager.bread.update | TCG\Voyager\Http\Controllers\VoyagerBreadController@update | web,admin.user | | | DELETE | admin/bread/{id} | voyager.bread.delete | TCG\Voyager\Http\Controllers\VoyagerBreadController@destroy | web,admin.user | | | GET|HEAD | admin/bread/{table}/create | voyager.bread.create | TCG\Voyager\Http\Controllers\VoyagerBreadController@create | web,admin.user | | | GET|HEAD | admin/bread/{table}/edit | voyager.bread.edit | TCG\Voyager\Http\Controllers\VoyagerBreadController@edit | web,admin.user |
Thanks for replying,
It just only happens when I save my BREAD.
This is my routes of bread.

Try:
php artisan route:clear
If after that is not working I have no idea but my bet is some sort of caching, when you go to Tools -> BREAD that's the same url you are redirected to after saving.
Thank you for responding,
I've tried your way, but it didn't work...
Can't do anything else with the information I have.
You'll need to debug what's happening, try to put a dd() in:
TCG\Voyager\Http\Controllers\VoyagerBreadController@store
or update depending when the error happens, to be sure you are reaching the right controller, if you get there try to find out why 404 is returned.
Can't do anything else with the information I have.
You'll need to debug what's happening, try to put a
dd()in:
TCG\Voyager\Http\Controllers\VoyagerBreadController@store
or update depending when the error happens, to be sure you are reaching the right controller, if you get there try to find out why 404 is returned.
I see,
Thank you for supporting.
Please keep this post open till we can find a solution for it 馃槍.
Did you try to debug?
Did you try to debug?
Hi,
Sorry for late respoding,
I've tried the dd() method, but it still return 404 :|.
Then it's not reaching the right controller and you'll have to find why.
It might still be a cache problem or maybe you override controllers, can't tell from here.
Then it's not reaching the right controller and you'll have to find why.
It might still be a cache problem or maybe you override controllers, can't tell from here.
I see,
I guess will take me sometimes to find out what's the problem. But since the beginning of Voyager installation, I haven't change or override any Voyager basic files, except View.
That's weird!.
Since your original issue was solved I'm closing this.
Please open e new issue if you still didn't solve the 404 after saving.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
Looks like your naming is wrong.
The correct plural is information not informations and so Laravel is looking for that table without s.