Closed Rana-xD closed 7 years ago
@Rana-xD plz, update the package. appear the your package version is outdated. this bug was fixed and merged to master already
@fxcosta, what is its latest version. I've tried to run composer update, yet it still didn't work.
For some reason, composer is still returning the older version with : self at Builder.php:118 https://packagist.org/packages/fx3costa/laravelchartjs shows the latest version
changing composer.json manually to 2.2.1 fixes it for me
"fx3costa/laravelchartjs": "^2.2.1",
after that ofcourse run
composer update
I need to study more about package versioning but I believe that with the current situation of the library and with constant additions and bug fixes the best would be to keep something like:
"fx3costa/laravelchartjs": "~2.2",
Thanks, it works now. I need to run composer update fx3costa/laravelchartjs to solve this problem. And also thanks to @pjeutr for your solution.
I don't know what is the main issue. I have already install laravel-chartjs extension to my laravel . And I attempted to copy the sample code in README to run in my laravel application. This is my code:
When I ran that code, it didn't work. It shows the below error.
I would like to know the exact issue and any possible solutions. Thanks.