craftcms / commerce-stripe

Stripe payment gateway for Craft Commerce
https://plugins.craftcms.com/commerce-stripe
MIT License
31 stars 49 forks source link

Missing icon-mask.svg #260

Closed jonleverrier closed 11 months ago

jonleverrier commented 11 months ago

Description

I've noticed that my log is filling up with these errors:

Category craft\controllers\UtilitiesController::_getUtilityIconSvg

Message Utility icon file doesn't exist: /home/*/*/releases/*/craft/vendor/craftcms/stripe/src/icon-mask.svg

Possibly due to this line: https://github.com/craftcms/commerce-stripe/blob/b10503188c4c64efe3f20baf300a669cfbcac16e/src/utilities/Sync.php#L44

Path should be /craftcms/commerce-stripe/src/icon-mask.svg

Additional info

nfourtythree commented 11 months ago

Hi @jonleverrier

Great spot! Have pushed up a fix for this which will be included in the next release of the plugin.

To get this early, change your craftcms/commerce-stripe requirement in your project's composer.json to:

"require": {
  "craftcms/commerce-stripe": "dev-develop#d72340afb66fda8bbe5801a6adb57ab5596728d5 as 4.0.1",
  "...": "..."
}

Then run composer update.

Thanks!