Error during variable product update with local attributes present
-
Hi, since the recent update I’ve came into an issue with variable products with multiple PAs, some local and some global – your plugin is working only with global ones, but during variable product update still fetches all of them and treats them like a global ones, causing error depending on PHP version and env settings (
WP_Error
could be iteratable forforeach
, but none of the keys contains a taxonomy termslug
when there is no valid taxonomy for an attribute).I have made a local fix which seems to mitigate the issue, but I’m not sure if it’s complete
Ahh, and we also have a global attr with the same name (only lowercase) as a local one, but it’s a relic not used anymore, so if you cannot reproduce the issue it might be the confusion.
- The topic ‘Error during variable product update with local attributes present’ is closed to new replies.