Cannot create a new user via REST operation while LDH plugin is active
Steps to reproduce
- Install the current (at the time of this writing) plug-in in WC and activate it.
- Use this REST operation to create a new customer. The data I used to create the customer was something like this:
{
"email": "basic001122@example.com",
"first_name": "basic001122",
"last_name": "@example.com",
"username": "basic001122@example.com",
"password": "foobar",
"billing": {
"email": "otheremail@example.com"
}
}
The debug.log
file on wp-content
directory showed this when trying to perform the REST operation:
[31-Jul-2019 13:32:08 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'LDH_Integration_Plugin' does not have a method 'purism_pre_user_login_filter' in /var/www/html/example/wp-includes/class-wp-hook.php on line 286