[Resolved] delete_user action causes Fatal error
I have another plugin which deletes pending users (registered users which haven’t confirmed their login yet).
this plugin uses wp_delete_user() to remove users. however the co-author-plugin adds an action …
// Action to reassign posts when a user is deleted add_action( 'delete_user', array( $this, 'delete_user_action' ) );
…. which causes an fatal error if triggered from another plugin:
Fatal error: Call to undefined function get_user_by() in /path/to/wp-content/plugins/co-authors-plus/co-authors-plus.php on line 785
any idea how to fix this?
- The topic ‘[Resolved] delete_user action causes Fatal error’ is closed to new replies.