[Thu Mar 22 11:27:16.379757 2018] [:error] [pid 22893] [client IP:9339] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/SITE/wp-content/plugins/no-disposable-email/no-disposable-email.php:54\nStack trace:\n#0 /var/www/SITE/wp-includes/class-wp-hook.php(286): no_disposable_email(Object(WP_Error), '', '[email protected]')\n#1 /var/www/SITE/wp-includes/plugin.php(203): WP_Hook->apply_filters(Object(WP_Error), Array)\n#2 /var/www/SITE/wp-includes/user.php(2403): apply_filters('registration_er...', Object(WP_Error), '', '[email protected]')\n#3 /var/www/SITE/wp-login.php(784): register_new_user('', '[email protected]')\n#4 {main}\n thrown in /var/www/SITE/wp-content/plugins/no-disposable-email/no-disposable-email.php on line 54, referer: https://www.SITE.com/wp-login.php?action=register
split() function no longer exists in php7. explode() should be used.
]]>Hi there,
I (probably naively) expected the WooCommerce user registration to be covered by this plugin as well. I was wondering if this could be added or was perhaps just a WP 4.1 compatibility issue?
Cheers,
Martijn
Hello,
Is this plugin compatible with WP 4.1 Multisite?
I am unable to save additional domains to the blacklist.
gmailertyq.com
mailretrer.com
werrmai.com
emailmynn.com
rerttymail.com
rettmail.com
popemailwe.com
dmaildd.com
gmailertyq.com
mailretrer.com
emailrii.com
However I can modify the message when saving the page.
]]>Could you fix this?
]]>How can I apply no-disposable when programmatically adding a user with wp_insert_user()?
$random_password = wp_generate_password( 8, false );
$user_data = array(
'user_login' => $sanitized_user_login,
'user_pass' => wp_generate_password ( 7, false ),
'first_name' => $first_name,
'last_name' => $last_name,
'user_email' => $email,
'display_name' => $first_name . ' ' . $last_name,
'nickname' => $first_name . ' ' . $last_name,
'role' => 'TestDrive',
'city'=>$city,
'state'=>$state,
'country'=>$country
);
$user_id = wp_insert_user($user_data);
]]>
Hi,
please also have a look at https://www.ads-software.com/extend/plugins/block-disposable-email-addresses/ if you want to avoid users using disposable email addresses.
https://www.ads-software.com/extend/plugins/no-disposable-email/
]]>Couple of days ago i saved “aim.com” in the “Blacklisted Domains”. Today a new (fake) user “[email protected]” appear in admin dashboard userlist (not on the front user list).
Thanx 4 trying but your plugin does nothing, at least nothing to stop listed domain users from registration.
]]>