You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requirements PHP (^8.1 or higher) Laravel Nova (^4.12 or higher)
The problem only appears when I use Tabs.
The information is saved in the database but the following error appears when saving: Attempt to assign property "name" on null.
My model:
public $translatable = [
'name'
];
public static function initializeTranslations()
{
$articleCategory = new ArticleCategory;
$articleCategory
->setTranslation('name', 'en', 'Name in English')
->setTranslation('name', 'fr', 'Nom en Français')
->save();
}
Package:
composer require shuvroroy/nova-tabs
Requirements
PHP (^8.1 or higher)
Laravel Nova (^4.12 or higher)
The problem only appears when I use
Tabs
.The information is saved in the database but the following error appears when saving:
Attempt to assign property "name" on null
.My model:
My Nova resource:
The text was updated successfully, but these errors were encountered: