thanks to you for providing Lavacharts!
I want to use charts in my first Laravel project, so I decided to try some libraries.
During installation process via composer I get an error while generating the ide-helper file.
It would be nice, if you could help to find out how I can fix the problem.
Thanks in advance and happy Easter! π°
I got an error during installation via composer ob my Laravel 8 app.
On generating the ide-helper file I got this:
Khill\Lavacharts\Lavacharts::__construct(): Argument #1 ($options) must be of type array, null given, called in C:\xampp\htdocs\headache\vendor\khill\lavacharts\src\Laravel\LavachartsServiceProvider.php on line 65
at C:\xampp\htdocs\headache\vendor\khill\lavacharts\src\Lavacharts.php:75
71β
72β /*
73β Lavacharts constructor.
74β */
β 75β public function __construct(array $options = [])
76β {
77β if ( ! $this->usingComposer()) {
78β require_once(DIR.'/Support/Psr4Autoloader.php');
79β
Hi,
thanks to you for providing Lavacharts! I want to use charts in my first Laravel project, so I decided to try some libraries. During installation process via composer I get an error while generating the ide-helper file.
It would be nice, if you could help to find out how I can fix the problem. Thanks in advance and happy Easter! π°
What Version?
Lavacharts: * 3.1.14 Laravel: v8.35.1 php: 8.0.0 ide-helper: 2.9.3
Issue
I got an error during installation via composer ob my Laravel 8 app. On generating the ide-helper file I got this:
Khill\Lavacharts\Lavacharts::__construct(): Argument #1 ($options) must be of type array, null given, called in C:\xampp\htdocs\headache\vendor\khill\lavacharts\src\Laravel\LavachartsServiceProvider.php on line 65
at C:\xampp\htdocs\headache\vendor\khill\lavacharts\src\Lavacharts.php:75 71β 72β /* 73β Lavacharts constructor. 74β */ β 75β public function __construct(array $options = []) 76β { 77β if ( ! $this->usingComposer()) { 78β require_once(DIR.'/Support/Psr4Autoloader.php'); 79β
1 C:\xampp\htdocs\headache\vendor\khill\lavacharts\src\Laravel\LavachartsServiceProvider.php:65 Khill\Lavacharts\Lavacharts::__construct()
2 C:\xampp\htdocs\headache\vendor\laravel\framework\src\Illuminate\Container\Container.php:829 Khill\Lavacharts\Laravel\LavachartsServiceProvider::Khill\Lavacharts\Laravel{closure}(Object(Illuminate\Foundation\Application), [])