Using a TableSeeder #128
-
I'm trying to build pages in staging, and then post those pages to production using a PagesTableSeeder, but even if I copy the table structure and SQL inserts for the seeder, I get errors when trying to load the /pages/ url. It gets stuck at the invalid index #. Is there a way to create a PagesTableSeeder that will allow this type of functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey, did you try to run php artisan cache:clear after creating the pages ? |
Beta Was this translation helpful? Give feedback.
Hey, did you try to run php artisan cache:clear after creating the pages ?
I something similar: created manually a page in the database pages table and open the 'pages' page in Filament admin panel and got the a similar invalid index error, then I cleared the cache and it s now working properly.