Support » Plugin: WooCommerce » CRITICAL Uncaught Error: Call to undefined function wp_delete_user()

  • Hi there,

    Our fatal error logs are full of the following:

    CRITICAL Uncaught Error: Call to undefined function wp_delete_user() in ~/wp-content/plugins/woocommerce/includes/class-wc-privacy.php:344
    Stack trace:
    #0 ~/wp-content/plugins/woocommerce/includes/class-wc-privacy.php(303): WC_Privacy::delete_inactive_accounts_query(1550533470, 20)
    #1 ~/wp-content/plugins/woocommerce/includes/class-wc-privacy-background-process.php(59): WC_Privacy::delete_inactive_accounts(20)
    #2 ~/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php(102): WC_Privacy_Background_Process->task(Array)
    #3 ~/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/library/wp-background-process.php(449): WC_Background_Process->handle()
    #4 ~/wp-includes/class-wp-hook.php(288): WP_Background_Process- in ~/wp-content/plugins/woocommerce/includes/class-wc-privacy.php on line 344

    Using WooCommerce 3.9.2, WordPress 5.3.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem.

    Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp_delete_user() in
    /public_html/wp-content/plugins/woocommerce/includes/class-wc-privacy.php:344\nStack trace:\n#0

    /public_html/wp-content/plugins/woocommerce/includes/class-wc-privacy.php(303): WC_Privacy::delete_inactive_accounts_query(1551002096, 20)\n#1

    /public_html/wp-content/plugins/woocommerce/includes/class-wc-privacy-background-process.php(59):

    WooCommerce 3.9.2, WordPress 5.3.2

    • This reply was modified 4 years, 1 month ago by Piskatje.
    Wojciech

    (@zajac007)

    Hi
    Same problem:
    Fatal error: Uncaught Error: Call to undefined function wp_delete_user

    Same problem,, did anybody solve this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CRITICAL Uncaught Error: Call to undefined function wp_delete_user()’ is closed to new replies.