Support » Plugin: WooCommerce UPC, EAN, and ISBN » Fatal error: Uncaught Error: Call to undefined function is_composite_product()

  • Resolved joyryde

    (@joyryde)


    As of today, all of our product pages no longer work on our website. They all produce the following error:

    Fatal error: Uncaught Error: Call to undefined function is_composite_product() in /wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php:108

    The error is MUCH longer than that, but that’s the first line.

    We have had to disable the plugin for our website to work again.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Just wanted to +1 this instead of opening a new thread, the newest update is breaking all product pages.

    +1 500 on all product pages:

    PHP Fatal error: Uncaught Error: Call to undefined function is_composite_product() in /var/www/wp82411/1/perfectbody.nl/wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php:108
    Stack trace:
    #0 /var/www/wp82411/1/perfectbody.nl/wp-includes/class-wp-hook.php(286): Woo_GTIN_Functions->scripts_styles(”)
    #1 /var/www/wp82411/1/perfectbody.nl/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp82411/1/perfectbody.nl/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /var/www/wp82411/1/perfectbody.nl/wp-includes/script-loader.php(1447): do_action(‘wp_enqueue_scri…’)
    #4 /var/www/wp82411/1/perfectbody.nl/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”)
    #5 /var/www/wp82411/1/perfectbody.nl/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/wp82411/1/perfectbody.nl/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #7 /var/www/wp82411/1/perfectbody.nl/wp-includes/general-template.php(2614): do_action(‘wp_head’)
    #8 /var/www/wp82411/ in /var/www/wp82411/1/perfectbody.nl/wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php on line 108

    +1, same problem on all product pages after last update

    Fatal error: Uncaught Error: Call to undefined function is_composite_product() in /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php:108 Stack trace: #0 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/class-wp-hook.php(286): Woo_GTIN_Functions->scripts_styles('') #1 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/script-loader.php(1447): do_action('wp_enqueue_scri...') #4 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('') #5 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-includes/p in /home/platne/serwer16373/public_html/zabawkirozwojowe/wp-content/plugins/woo-add-gtin/includes/class-woo-gtin-functions.php on line 108

    +1

    just spotted this thread, sorry i replied in other thread. but i have the same error!

    same problem here ( white product page )

    +1 – same issue for me with latest update = blank product details page – had to disable the plugin for my product details pages to show back up

    +1 – same problem – ( no product pages showing )

    Hi, just checking in again to see if this bug is even on the radar of the developer? Looking for other alternatives now if this doesn’t get fixed (Anyone found another plugin that can be used with the GTIN DB? Anyone downgraded back to 0.2.0?), expecting Google Merchant errors soon, so far still all products approved…

    +1
    All product pages are just error code

    This plugin will cause a PHP error!

    My online shop is affected. My Google Adwords ads got disapproved too. Product pages now become empty white pages.

    +1

    Plugin Author Scott Bolinger

    (@scottopolis)

    Very sorry guys, this is fixed in version 0.3.1, please update.

    Thanks!

    Confirmed as fixed, thanks Scott!

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function is_composite_product()’ is closed to new replies.