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
Add a column which "Column Type" is "BelongsTo". on path "admin/devtools/model/create"
Press "save"
Error happened
What I expected to happen
Generate model & crud
What happened
error occur as below:
[2024-04-29 17:23:52] local.ERROR: Call to a member function getName() on string {"userId":1,"exception":"[object] (Error(code: 0): Call to a member function getName() on string at /Users/fzhan/Herd/yongchieh/vendor/backpack/devtools/src/Generators/BlueprintGenerator.php:389)
[stacktrace]
#0 [internal function]: Backpack\\DevTools\\Generators\\BlueprintGenerator->Backpack\\DevTools\\Generators\\{closure}('page_metas', '\\x00Backpack\\\\CRUD\\\\...')
What I've already tried to fix it
Try to add a connection name attribute on relation model, but it was not helping.
Backpack, Laravel, PHP, DB version
Laravel 11.5
PHP 8.2.16
DB MySQL 8.2.0
When I run php artisan backpack:version the output is:
Bug report
What I did
What I expected to happen
Generate model & crud
What happened
What I've already tried to fix it
Try to add a connection name attribute on relation model, but it was not helping.
Backpack, Laravel, PHP, DB version
Laravel 11.5
PHP 8.2.16
DB MySQL 8.2.0
When I run
php artisan backpack:version
the output is:Operating System and Server Setup
MacOS(M1)
Server setup by Herd
The text was updated successfully, but these errors were encountered: