Bug in NewsCRUD (Laravel 11) #1010
Replies: 5 comments 2 replies
-
Hey there @SequelONE Hum .. I think it may be related with some package update missing/caching issue, I couldn't reproduce it now. We updated our demo to Laravel 11 too at https://demo.backpackforlaravel.com/admin/article/create what's the output of Would a Let me know 🙏 Cheers |
Beta Was this translation helpful? Give feedback.
-
Hello @pxpm
This command Controller ArticleCrudController.php
Model Article.php
Everything worked in Laravel 10. |
Beta Was this translation helpful? Give feedback.
-
Wow, that's a very modified version of the Article, we are not testing the same thing 😃 I am pretty sure I saw that error before, and it was around the time we update to L11 too and removed some dbal code from our core, but I haven't experienced it anymore. I see you are using pro 2.1.9 and the only relevant change that could have any impact here is in https://backpackforlaravel.com/products/pro-for-unlimited-projects/CHANGELOG.md#2.1.13 But I am not convinced that this is the issue here ... Can you post the full-stack trace of the error, or if not possible, try to pin what field/column is triggering the error ? Cheers |
Beta Was this translation helpful? Give feedback.
-
Thanks @SequelONE 🙏 For a quick error suppression, you can set the identifiable attribute in your model: //via a model property:
public $identifiableAttribute = 'title';
// or via function:
public function identifiableAttribute()
{
return 'title';
} From the stracktrace you shared this should stop the code from reaching the failing part. But on why is it failing I don't know yet, is very possible that's a combination of using translatable + sluggable + activity log. Do you have similar error anywhere else ? Cheers |
Beta Was this translation helpful? Give feedback.
-
Due to not activity i will close this issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have a problem with NewsCRUD. After upgrading Laravel from version 10 to version 11, when I try to go to the articles page I get the following error:
Beta Was this translation helpful? Give feedback.
All reactions