Filament Resource Error

While updating the record .I am getting unknowing error in the console and web page anybody can help me for this . Please check below link. https://flareapp.io/share/w5BZ9dL5
Flare
Filament\Resources\Resource::getRecordTitle(): Return value must be of type Illuminate\Contracts\Support\Htmlable|string|null, Illuminate\Database\Query\Expression returned - The error occurred at http://127.0.0.1:8000/app/settings/company-settings/63/edit
No description
No description
1 Reply
Sourabh
Sourabh4mo ago
I have checked while using global search; it's an error; previously, it was working fine.
protected static ?string $recordTitleAttribute = 'company_name';
protected static ?string $recordTitleAttribute = 'company_name';