Replies: 7 comments
-
This happened the first time when I tried to reuse a header between multiple pages. So I just decided to create a header for each page. |
Beta Was this translation helpful? Give feedback.
-
What is "data"? Please share the exception |
Beta Was this translation helpful? Give feedback.
-
Morning thanks for the response: Everything was working fine until I changed the page name and the slug for pages I had already built. I was rebuilding an existing site and first created the pages as copies of the pages I had already built eg home-copy. When I was ready to use the new pages I change the slug to home. That is when I got the undefined array key data error. The data I'm passing through are blocks I have built within the fabricator package. The exception is as below: Undefined array key "data" (View: C:\xampp\htdocs\ele-aware\vendor\z3d0x\filament-fabricator\resources\views\components\page-blocks.blade.php) (View: C:\xampp\htdocs\ele-aware\vendor\z3d0x\filament-fabricator\resources\views\components\page-blocks.blade.php) (View: C:\xampp\htdocs\ele-aware\vendor\z3d0x\filament-fabricator\resources\views\components\page-blocks.blade.php) (View: C:\xampp\htdocs\ele-aware\vendor\z3d0x\filament-fabricator\resources\views\components\page-blocks.blade.php) |
Beta Was this translation helpful? Give feedback.
-
View |
Beta Was this translation helpful? Give feedback.
-
For home.home-enterprise I am querying the following data public static function mutateData(array $data): array
|
Beta Was this translation helpful? Give feedback.
-
I ended up deleting these two blocks and recreating them 6 => array:1 [▶ Then it worked. But I used the same code for donors the code is as below: $data = [];
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your response though. I hope there is something that can be done, unless it is just my environment. |
Beta Was this translation helpful? Give feedback.
-
Good day,
I am receiving this error after changing the page's name and the slug. Is there anyone able to assist? Or has anyone had this error before?
This is the error in the stack trace:
Beta Was this translation helpful? Give feedback.
All reactions