Title: Error when creating composite product
Last modified: August 27, 2019

---

# Error when creating composite product

 *  [kaeliblomst](https://wordpress.org/support/users/kaeliblomst/)
 * (@kaeliblomst)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-creating-composite-product/)
 * Hi.
 * I just tried out your plugin… It wasn’t a succes.. I tried converting my simple
   product [Strand plakat](https://www.naturhandel.dk/produkt/strand-plakat/) into
   a composite product, but updating, it showed this message:
 * Fatal error: Uncaught Error: Call to undefined method WC_Product_Composite::get_composite_data()
   in /var/www/naturhandel.dk/public_html/wp-content/plugins/woo-add-gtin/includes/
   class-woo-gtin-functions.php:112 Stack trace: #0 /var/www/naturhandel.dk/public_html/
   wp-includes/class-wp-hook.php(286): Woo_GTIN_Functions->scripts_styles(”) #1 /
   var/www/naturhandel.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook-
   >apply_filters(NULL, Array) #2 /var/www/naturhandel.dk/public_html/wp-includes/
   plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/naturhandel.dk/public_html/
   wp-includes/script-loader.php(2537): do_action(‘wp_enqueue_scri…’) #4 /var/www/
   naturhandel.dk/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”)#
   5 /var/www/naturhandel.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook-
   >apply_filters(NULL, Array) #6 /var/www/naturhandel.dk/public_html/wp-includes/
   plugin.php(465): WP_Hook->do_action(Array) #7 /var/www/naturhandel.dk/public_html/
   wp-includes/general-template.php(2745): do_ac in /var/www/naturhandel.dk/public_html/
   wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php on line
   112
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-creating-composite-product%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [WPClever](https://wordpress.org/support/users/wpclever/)
 * (@wpclever)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-creating-composite-product/#post-11885498)
 * Hi [@kaeliblomst](https://wordpress.org/support/users/kaeliblomst/) ,
 * I visited your site and checked the product you mentioned, I chose a variation
   and it displayed like this: [http://prntscr.com/ozw6n9](http://prntscr.com/ozw6n9).
   Was this the correct composite that you created? I didn’t see any notification
   or error there. Could you please check your theme and your site again?
 * If you need further help, please provide us with a screenshot of the error message
   so that our developer can look into the problem. Or you can reach us via [this page](https://wpclever.net/contact)
   for solid advice.
 * Thank you for your support. Looking forward to your reply soon.

Viewing 1 replies (of 1 total)

 The topic ‘Error when creating composite product’ is closed to new replies.

 * ![](https://ps.w.org/wpc-composite-products/assets/icon-128x128.png?rev=2527543)
 * [WPC Composite Products for WooCommerce](https://wordpress.org/plugins/wpc-composite-products/)
 * [Support Threads](https://wordpress.org/support/plugin/wpc-composite-products/)
 * [Active Topics](https://wordpress.org/support/plugin/wpc-composite-products/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpc-composite-products/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpc-composite-products/reviews/)

## Tags

 * [fatal errors](https://wordpress.org/support/topic-tag/fatal-errors/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPClever](https://wordpress.org/support/users/wpclever/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-creating-composite-product/#post-11885498)
 * Status: not resolved