Method Filament\Clinic\Resources\ClinicResource\Pages\CheckOutRxOrder::getColumnSpan doesn't Exist

<?php namespace App\Filament\Clinic\Resources\ClinicRxOrderResource\Widgets use Filament\Widgets\Widget; class ProcessPayment extends Widget { protected static string $view = 'filament.clinic.resources.clinic-rx-order-resource.widgets.process-payment'; } The above code is the php file and below is the blade file code. <x-filament::widget> <x-filament::section> <x-slot name="heading"> User details </x-slot> </x-filament::section> </x-filament::widget>
2 Replies
Dennis Koch
Dennis Koch11mo ago
The title is so long that I cannot read the error. Please read #✅┊rules on code formatting and sharing errors.
DrByte
DrByte11mo ago
Ya, it'd be better to also include the error in your post. Looks like it's: "Method Filament\Clinic\Resources\ClinicResource\Pages\CheckOutRxOrder::getColumnSpan doesn't Exist" Given that the error is referring to \Filament... namespace, but with all those other directories from your app appended to it, it seems like something's missing from how the call to getColumnSpan is namespaced. But I agree with Dennis: it's a lot easier to read your code when you format it like code, especially like php code. Markdown syntax makes that really easy to do.
Want results from more Discord servers?
Add your server