Craft installations previous to version 3.2 (and projects upgraded from those installations) used version 2 of the [vlucas/phpdotenv]() package. Version 2 of this package used a different method for loading environment files, and the current Craft driver fails with the following error:
PHP Fatal error: Uncaught Error: Call to undefined method Dotenv\Dotenv::create() in phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/src/Drivers/CraftTinkerwellDriver.php:28
Stack trace:
#0 phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/index.php(26): CraftTinkerwellDriver->bootstrap('/Users/mdrzycim...')
#1 /Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar(14): require('phar:///Applica...')
#2 {main}
thrown in phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/src/Drivers/CraftTinkerwellDriver.php on line 28
Craft installations previous to version 3.2 (and projects upgraded from those installations) used version 2 of the [vlucas/phpdotenv]() package. Version 2 of this package used a different method for loading environment files, and the current Craft driver fails with the following error: