Whenever I run a feed via the Direct link eg. https://site.com/index.php?p=actions/feed-me/feeds/run-task&direct=1&feedId=[id]&passkey=[passkey] when I'm logged out of the CP.
I get the following error:
craft\commerce\services\ProductTypes::hasPermission(): Argument #1 ($user) must be of type craft\elements\User, null given, called in /public_html/vendor/craftcms/commerce/src/services/ProductTypes.php on line 178
When logged in, it works fine
Steps to reproduce
Log out of CP Run a feed via the Direct link