Support » Plugin: WooCommerce » Getting multple error logs

  • I am getting the following errors lately:
    Uncaught Error: Call to a member function get_name() on array in wp-content/plugins/woocommerce/includes/wc-user-functions.php on line 439

    and on checkout:
    Uncaught Error: Call to a member function get_data() on array in wp-content/plugins/woocommerce/includes/class-wc-order-item-product.php on line 370

    Both of these problems are related to downloadable files and the det_data() function. If I comment out the lines related to get_data() in the 2 files above mentioned everything works…

    Any clue why? Everything was working fine a few weeks ago

    • This topic was modified 3 years, 1 month ago by bux23.
    • This topic was modified 3 years, 1 month ago by bux23.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Howdy @bux23,

    Typically issues like this are caused by a theme or plugin conflict. As a first step, could you try switching back to a default theme like Twenty Seventeen or Storefront and disabling all plugins except for WooCommerce to see if this resolves the issue?

    If so, then re-enable each one at a time until you find the one that’s causing the conflict.

    • This reply was modified 3 years, 1 month ago by John Coy.
    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Howdy @bux23,

    Typically issues like this are caused by a theme or plugin conflict. As a first step, could you try switching back to a default theme like Twenty Seventeen or Storefront and disabling all plugins except for WooCommerce to see if this resolves the issue?

    If so, then re-enable each one at a time until you find the one that’s causing the conflict.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting multple error logs’ is closed to new replies.