import Action method examples does not exist.

I'm trying to add multiple examples to the CSV file, but I'm getting an error saying 'method examples does not exist.' Please find below the flare link and attachment of my code .
<?php
ImportColumn::make('sku')
->label('SKU')
->exampleHeader('SKU')
->examples(['ABC123', 'DEF456']),?>
<?php
ImportColumn::make('sku')
->label('SKU')
->exampleHeader('SKU')
->examples(['ABC123', 'DEF456']),?>
Solution:
you are around 50 versions behind filament, so please update
Jump to solution
6 Replies
toeknee
toeknee4mo ago
Please prpvide the stack trace it is saying examples does not exist. Where did you get that from? and can you run php artisan about I suspect your filamentphp version is out of date since examples was added on the 10/06/2024
Sourabh
SourabhOP4mo ago
Yes, this issue occurred in my Laravel version 10.48, but after updating to Laravel version 11.21, the method examples are now being detected properly.
toeknee
toeknee4mo ago
it wasn't laravel it was your filamentphp version.
Sourabh
SourabhOP4mo ago
Please check the attached screen shot for your reference .
No description
Solution
toeknee
toeknee4mo ago
you are around 50 versions behind filament, so please update
Sourabh
SourabhOP4mo ago
Thank you for your time; the issue has been resolved.
Want results from more Discord servers?
Add your server