this error show me when delete record this error show me when delete record

getAttributeAndLocale(): Argument #1 ($key) must be of type string, null given in astrotomic\laravel-translatable i thank proble is here " public static function getRecordTitle(?Model $record): string | Htmlable | null { return $record?->getAttribute(static::getRecordTitleAttribute()) ?? static::getModelLabel(); }" because i am using multi lang and when delete , it doesnot show title of record trans
1 Reply
mohamedali5738
mohamedali57387mo ago
any solution ?