Closed SakoDev closed 2 weeks ago
Have you previously published the Views?
Yes,i have. The tables were working great tell i did a composer update > Have you previously published the Views?
I fixed the problem , i just downgraded the version from 3.4.22 to 3.4.2
Downgrading isn't really fixing it!
If you previously published the views, then try moving the published folder to see if the problem persists.
What happened?
Everything was working well since I did a composer update, and then this error faced me: Undefined variable $selectedVisibleColumns
How to reproduce the bug
No response
Package Version
3.4
PHP Version
8.2.x
Laravel Version
11.0
Alpine Version
3.13.5
Theme
Tailwind 3.x
Notes
use Rappasoft\LaravelLivewireTables\DataTableComponent; use Rappasoft\LaravelLivewireTables\Views\Column; use App\Models\Banner; use Illuminate\Database\Eloquent\Builder; use Rappasoft\LaravelLivewireTables\Views\Columns\DateColumn; use Rappasoft\LaravelLivewireTables\Views\Columns\ImageColumn;
class BannerTable extends DataTableComponent { protected $model = Banner::class;
}
Error Message
Undefined variable $selectedVisibleColumns
@foreach($selectedVisibleColumns as $index => $column)
@endforeach