verbb / postie

A Craft Commerce shipping calculator plugin.
Other
12 stars 18 forks source link

Invalid product ID: XXXXX, Try re-saving all products #118

Closed hassanmah closed 8 months ago

hassanmah commented 8 months ago

Describe the bug

Hi all,

I recently deleted all my products for a fresh import, now when I try to access Postie's setting I get the following message:

Invalid product ID: 129986, Try re-saving all products.

I have tried./craft resave/productsand still getting the error

It was ok until deleting all the products

Steps to reproduce

  1. Delete all products
  2. Try accessing Postie's settings in CP
image

Craft CMS version

4.7.0

Plugin version

3.1.4

Multi-site?

No response

Additional context

No response

hassanmah commented 8 months ago

There was a single product still in the commerce_variants table, so deleting it fixed the issue