Errors when duplicating product
-
Hi,
When copying a product, it gave us the following error
Validation error (WrongType@[bulkUpsertProducts]) : argument 'products[1].variantUrl' with value 'BooleanValue{value=false}' is not a valid 'String' - Expected an AST type of 'StringValue' but it was a 'BooleanValue'It seems like it want to take actions before the permalinks are generated, as duplicating products makes them drafts without a a permalink. A possible fix would be to update
activecampaign-for-woocommerce/includes/products/class-activecampaign-for-woocommerce-sync-status.phpand add a?: nullto the permalink calls to not create a full error. As this error blocks de duplicating feature as it runs to thehaltfunction and executes adie().Could this please be fixed soon? For now we did a manual fix for our customer.
You must be logged in to reply to this topic.