Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when creating new product, or saving existing product in Craft CP #26

Open
williamhibberd opened this issue Oct 18, 2023 · 0 comments

Comments

@williamhibberd
Copy link

Getting the following error when creating a new product or saving an existing product in the Craft Control panel:

webdna\commerce\currencyprices\services\CurrencyPricesService::getPricesByPurchasableId(): Argument #1 ($id) must be of type int, null given, called in /var/www/html/vendor/webdna/commerce-currency-prices/src/twigextensions/CurrencyPricesTwigExtension.php on line 67

The issue is happening in my prod env on Craft CMS 4.4.17, and local using Craft CMS 4.5.7.
Using latest version of webdna/commerce-currency-prices ("webdna/commerce-currency-prices": "^3.0.0-beta.4")
Running PHP 8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant