0
I’m including in my Komposer "ghunti/highcharts-php": "~3.0" and after that my autoload stops working resulting in the fatal error below, which could be?
Fatal error: Call to Undefined method Composer Autoload Classloader::setPsr4() in /Users/my-user/my-project/dev/vendor/Composer/autoload_real.php on line 37
I ran but still the problem persists.
– Daniel
Same mistake Daniel?
– gmsantos
Yeah, same mistake, I think it’s something to do with psr-4. He says the function doesn’t exist but if I open the Classloader the function setPsr4 is right there.
– Daniel
@Daniel edited my answer, if it doesn’t work edit your question and include your
composer.json
. I made a new design using this library and is working smoothly.– gmsantos
I created a new project here and it worked well too, I believe it must be conflict with some other library of my project, I will try to find out what it is now. Thank you.
– Daniel
Daniel, in case you need help post your
composer.json
– gmsantos
I found the problem. I have a subproject with your Composer.json specific that was overwriting the Composer.json global.
– Daniel