You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed Lavacharts according to the instructions for Laravel using composer and am getting an undefined type error using Lava and Class "App\Http\Controllers\Lava" not found error. I have tried with both Lava:: and \Lava:: and get the same errors. I have tried with use Khill\Lavacharts\Lavacharts; and use Khill\Lavacharts\Lavacharts as Lava and use Lava; in the Controller and get the errors as well.
The text was updated successfully, but these errors were encountered:
What Version?
"khill/lavacharts": "^3.1" (3.1.14)
"laravel/framework": "^9.19" (v9.52.4)
config\app.php
'providers' => [ ... Khill\Lavacharts\Laravel\LavachartsServiceProvider::class, ... ]
'aliases' => [ ... 'Lava' => Khill\Lavacharts\Laravel\LavachartsFacade::class, .. ]
Controller
$graph = \Lava::DataTable();
\Lava::LineChart(...
Issue
I have installed Lavacharts according to the instructions for Laravel using composer and am getting an undefined type error using Lava and Class "App\Http\Controllers\Lava" not found error. I have tried with both
Lava::
and\Lava::
and get the same errors. I have tried withuse Khill\Lavacharts\Lavacharts;
anduse Khill\Lavacharts\Lavacharts as Lava
anduse Lava;
in the Controller and get the errors as well.The text was updated successfully, but these errors were encountered: