-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
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
The attribute [password_confirmation] either does not exist or... #355
Comments
Hello there! Thanks for opening your first issue on this repo! Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that. Backpack communication mediums:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- |
Hey @christoferd Can you share the output of I tested mine and it works: In case you want check User Modal, i have: <?php
namespace App;
use Alert;
use App\Models\Traits\LogsActivity;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Spatie\Activitylog\Traits\CausesActivity;
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable implements MustVerifyEmail
{
use HasRoles;
use CrudTrait;
use Notifiable;
use HasFactory;
use CausesActivity;
use LogsActivity;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
} |
### PHP VERSION: ### LARAVEL VERSION: ### BACKPACK PACKAGE VERSIONS: Note: I added Backpack to an existing project that already had Jetstream and Spatie Permissions running. |
Hey @christoferd! We haven't tested backpack + backpack permission manager on an existing Jetstream + Spatie Permissions project. The problem is for sure related with that. Just to be sure, this happens when trying to edit a user right? |
I am closing this due to no activity. If you are still experiencing the issue feel free to comment or re-open 🙏 |
Bug report
What I did:
Clicked edit in User Crud
What I expected to happen:
Open the user editor
What happened:
Laravel Error
What I've already tried to fix it:
Searched my files for "password_confirmation", searched for "confirm" ... to see if some configuration may be causing this, but I think it's just part of default Jetstream.
Backpack, Laravel, PHP, DB version:
Local Windows 11
PHP 8.2.16
L 10.46.0
Livewire v3.4.6
MySQL 5.7
The text was updated successfully, but these errors were encountered: