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...
Hello all,
We had a project with
Drupal -- 9.4.8
PHP -- 8.1.6
drupal/console-dotenv -- 0.3.1
vlucas/phpdotenv -- ^2.3
We face these notices with auto_detect_line_endings
https://php.watch/versions/8.1/auto_detect_line_endings-ini-deprecated but can not bypassed with setting auto_detect_line_endings=On/Off
So we found that we need to update the vlucas/phpdotenv library

(https://github.com/vlucas/phpdotenv/issues/534v ) but we had the error in the screenshot
Is the drupal/console-dotenv library going to be compatible will all the rests and also avoiding the thousands notices messages?
Thanks a lot.
The text was updated successfully, but these errors were encountered: