• Resolved smidev

    (@smidev)


    Hello,

    I’m trying to update users with the recurring import option. Creating the users works well, however when we need to delete some user the operation fails with:

    PHP Fatal error: Uncaught Error: Call to undefined function wp_delete_user() in /.../classes/import.php:934

    Taking a look at the code, I realized that user.php is not being included in that scope. It is included at line 940 of the following if statement. Moving this to line 908 fix the issue.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Call to undefined function wp_delete_user() – Recurring import’ is closed to new replies.