bbfreelance
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] [BUG] Product attribute save, is_taxonomy = 1So fund the solution if interested. You need to do before update_post_meta :
wp_set_object_terms( $id, 'RR', 'pa_raretes', true );Even if the value already exist in attributes.
- This reply was modified 7 years, 8 months ago by bbfreelance.
Forum: Plugins
In reply to: [WooCommerce] [BUG] Product attribute save, is_taxonomy = 1Anyone has already had this problem ?
- This reply was modified 7 years, 8 months ago by bbfreelance.
Well thanks for your help but I don’t know what I can provide for more. I was able to solve this issue fixing twig version so it’s ok.
Well, I’m using latest version of WordPress and Woocormerce, my php version is 7.0 . When I activate your plugin this fatal error appeared.
To fix it I just replaced your twig vendor with a more recent one : v2.0.5 (it would be nice to let your composer.json in your plugin to be aware of the version and chang it more easily)… so it does not solved the next update.I confirm that it works with Twig v2.5.0