• Hi,
    We have the plugin installed on two sites. On both sites we’re getting a fatal error on export:

    An error of type E_ERROR was caused in line 68 of the file /home/customer/www/--redacted--/public_html/wp-content/plugins/wc-customer-source/includes/wccs-admin-export.php. Error message: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_billing_first_name() in /home/customer/www/--redacted--/public_html/wp-content/plugins/wc-customer-source/includes/wccs-admin-export.php:68
    Stack trace:
    #0 /home/customer/www/--redacted--/public_html/wp-content/plugins/wc-customer-source/wc-customer-source.php(148): WC_Customer_Source_Export::export_data()
    #1 /home/customer/www/--redacted--/public_html/wp-includes/class-wp-hook.php(307): WC_Customer_Source::display_main('')
    #2 /home/customer/www/--redacted--/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home/customer/www/--redacted--/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home/customer/www/--redacted--/public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...')
    #5 {main}
      thrown

    On one site it happens if we export more than 1 order. On the other if we export more than 17 orders. I did troubleshooting on the plugin and activated the Twenty Twenty theme and WooCommerce. The problem was still there exactly the same.

    We’re currently on:

      PHP 7.4.28
      WORDPRESS 5.9.1
      WOOCOMMERCE 6.2.1
      WCCS 1.2.0

    Is there something we can do?
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wooassist

    (@wooassist)

    @dleigh hi, if the export goes fine with lower numbers this means the server could not handle large amounts of data to process. the only way to deal with this is to switch to a more powerful server. you can try talking to your hosting if they can make some adjustments.

    Thread Starter dleigh

    (@dleigh)

    Hi,
    I appreciate you getting back with us.

    It seems unlikely that our server (SiteGround) would not be able to handle more than ONE order exported and certainly the fatal error message and stack trace doesn’t seem to reflect an issue of resources either. I’d be happy to do more trouble shooting steps if that would help – even if it would help to identify some SPECIFIC lack of resources.

    Thanks.

    I can confirm that we are receiving the same error.

    Also, happy to supply any logs or perform further troubleshooting if it helps.

    Current versions:
    WP: 6.0.1
    Woo: 6.7.0
    WDYHAU: 1.2.0

    This is now happening to me as well – not much data really being exported either – not a big site

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Export causes fatal error’ is closed to new replies.