tristantbg / kirby-stripe

MIT License
13 stars 0 forks source link

Dotenv\Dotenv::__construct(): Argument #1 ($store) must be of type Dotenv\Store\StoreInterface, string given #1

Closed paubou closed 1 year ago

paubou commented 1 year ago

Line 5 of index.php seems to make the plugin crash. line 5 should rather be $dotenv = \Dotenv\Dotenv::createImmutable(__DIR__);

tristantbg commented 1 year ago

Hi @paubou Thank you for spotting this. Just fixed it : https://github.com/tristantbg/kirby-stripe/commit/13a168b31982e26470816d48245fc72666f30e16

seb-celinedesign commented 11 months ago

The fix is not included in last version in Composer. Can you create a Git tag and update Composer version with this fix pls ?

tristantbg commented 11 months ago

The fix is not included in last version in Composer. Can you create a Git tag and update Composer version with this fix pls ?

Done : https://github.com/tristantbg/kirby-stripe/releases/tag/v1.0.2