You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the exact same issue. We had to update to PHP 8.2 which creates issues with vlucas/phpdotenv being on version 2, which cannot be used for php higher than 8.1
Even weirder after turning back to 8.1 the error stays.
We resolve the issue by creating a custom patch for vlucas/phpdotenv.
It is actually change the line ini_set('auto_detect_line_endings', '1');
to ini_set('auto_detect_line_endings', '0');
in vendor/vlucas/phpdotenv/src/Loader.php file
We don't know if this is the best practice and it should take place in a new release of the library...
Activity
MokDevelopment commentedon Nov 2, 2022
I have the exact same issue. We had to update to PHP 8.2 which creates issues with vlucas/phpdotenv being on version 2, which cannot be used for php higher than 8.1
Even weirder after turning back to 8.1 the error stays.
smouzour commentedon Nov 3, 2022
We resolve the issue by creating a custom patch for vlucas/phpdotenv.
It is actually change the line
ini_set('auto_detect_line_endings', '1');to
ini_set('auto_detect_line_endings', '0');in vendor/vlucas/phpdotenv/src/Loader.php file
We don't know if this is the best practice and it should take place in a new release of the library...
MokDevelopment commentedon Nov 3, 2022
oh thanks @smouzour this is helpful.
In future we might create a custom solution. I don't think this module is still maintained.