Resource broke after downgrade from v4 to v3
Hello, I just started using filament, I am creating a API, every single page must be translated in multiple languages: english, italian, german, etc.
I downloaded v4, I just downgraded to v3 (v4 is just too new and I needed this plugin: https://v2.filamentphp.com/plugins/language-switch)
I attached a picture of the "pages" table and a picture of the "pages" admin view, as you can see the titles are missing, this is my PageResource class:
Where did I go wrong? 😅


5 Replies
update:
- i dropped the pages table
- removed the row relative to the migration
- created the migration from scratch
- ran the migration
- created a new page
didn't work😭
Is this the actual code of your resource? You don’t have any columns specified in the table.
it is
when i create a page from the admin panel it creates the record
Right but there’s no ->columns() in the table method. That’s why it’s not showing anything in the list page screen shot you shared.
that is 1 to 1 what i had with filament v4 and it used to work, i'll try
you were right...
I made a mistake in the
table
method from the PageResource
object.
I called the columns
method on the $table
object