Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

[Bug] SCDM Backpack Admin Panel #986

Closed VeronicaCardoni closed 1 month ago

VeronicaCardoni commented 1 month ago

Bug report

What I did

?? !

Dashboard error 500

What I expected to happen

??

What happened

?? Every time I try creating a new account on the Dashboard, I receive the Error 500 message. Can you please help?

What I've already tried to fix it

??

Is it a bug in the latest version of Backpack?

After I run composer update backpack/crud the bug... is it still there?

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

pxpm commented 1 month ago

Hello @VeronicaCardoni

I would advise you to check your model $fillable property, It seems the "status" column is not on the list of columns to store in the database. Or, you maybe added the field with the wrong name, AFAIK the column in the database is called "status", and you are sending "invoice_status" (not sure if they are meant to be the same thing).

Let me know if that helps.

Cheers

VeronicaCardoni commented 1 month ago

Confidential

Dear Pedro,

I was now able to add a user, thank you - however, I tried to add the company's logo but received the same error disclaimer.

Could you please advise?

Thank you,

Veronica Cardoni She | Her Association Coordinator

T +32 2 320 24 92 W wearemci.comhttps://www.wearemci.com/

MCI Benelux SA

From: Pedro Martins @.> Sent: Thursday, 16 May 2024 09:36 To: Laravel-Backpack/community-forum @.> Cc: Veronica Cardoni @.>; Mention @.> Subject: Re: [Laravel-Backpack/community-forum] [Bug] SCDM Backpack Admin Panel (Issue #986)

Hello @VeronicaCardonihttps://github.com/VeronicaCardoni

I would advise you to check your model $fillable property, It seems the "status" column is not on the list of columns to store in the database. Or, you maybe added the field with the wrong name, AFAIK the column in the database is called "status", and you are sending "invoice_status" (not sure if they are meant to be the same thing).

Let me know if that helps.

Cheers

- Reply to this email directly, view it on GitHubhttps://github.com/Laravel-Backpack/community-forum/issues/986#issuecomment-2114497330, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIQGVSNXO7G7PZSWYEM7BQ3ZCRVYXAVCNFSM6AAAAABHX3SJM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJUGQ4TOMZTGA. You are receiving this because you were mentioned.Message ID: @.***>

pxpm commented 1 month ago

Hello @VeronicaCardoni

What's the company logo we are talking about here ? It's possible to be a similar error to what I described earlier ?

What's the field definition for your company logo field in your Controller and what's the database column type where you are storing it ?

Any relevant accessors/mutators in the the Model ?

Cheers

tabacitu commented 1 month ago

@VeronicaCardoni this looks like a problem your developer has created, not our software (Backpack). Please contact whoever created your admin panel, they will be able to fix it for sure.

Cheers!