Closed HenonoaH closed 4 years ago
This is because you have installed a version of phpdotenv that is not compatible with the version of illuminate/support you have. I assume you have illuminate/support 6.x, which only works with phpdotenv 3.x: https://github.com/illuminate/support/blob/6.x/composer.json#L46. Either upgrade to illuminate/support 7.x or downgrade to phpdotenv 3.x. ;)
@GrahamCampbell Thanks, man. Got it working.
I ran into this same issue. I think this issue could be avoided by listing illuminate/support (with version range) as a dependency in composer?
No, because there are valid reasons why someone would wanna use illumninate/support without dotenv, and use dotenv with some other package for unrelated reasons.
People need to read the output composer spits out in the suggest list. :)
Thank you for clarifying. The repo I am working on both includes both illuminate/database (which also brings in illuminate/support) and vlucas/phpdotenv. They were added long before I was involved so I didn't see suggestions output, but I do see it on the illuminate/support page in packagist now that you mention it.
Getting this issue after upgrading to release
4.1.3
I load my dotenv variables like below,I'm wondering what might be the issue! Is it configuration changes?
Composer show result,
Error log for reference,