Open asanzred opened 10 years ago
What value did you change in the config ?
Nothing, just installed on my laravel project with composer
I have this problem too, exactly same. But there is no problem for the WAMP. Any solution here? because of i using share host ?
My php version is 5.4.29
I noticed this happened to me after installing with composer, but forgetting to add Thujohn\Pdf\PdfServiceProvider
to the list of providers in app/config/app.php
.
This happens as since Laravel doesn't have access to the config values, it returns an empty array which it attempts to define.
ErrorException
Constants may only evaluate to scalar values open: /var/sites/exactchange/vendor/thujohn/pdf/src/Thujohn/Pdf/Pdf.php