ERROR: Unknown error updating role-specific URL for role contributor | Peter's Login Redirect | Forum
Back to the login redirect plugin page
7:21 pm
Hi Peter,
I am getting the error "ERROR: Unknown error updating role-specific URL for role contributor". My site is set up as http://test.domain.com.
I followed the link on your plugin page about adding domains to the “allowed redirect” list.
I added this to my functions.php file.
function add_allowed_redirect_hosts( $hosts )
{
$allowed_hosts = array();
$allowed_hosts[] = 'test.domain.com';
// Add lines similar to the one below, one for each host
// $allowed_hosts[] = 'www.facebook.com';
return array_merge( $hosts, $allowed_hosts );
}
add_filter( 'allowed_redirect_hosts', 'add_allowed_redirect_hosts', 10, 1 );
?>
Can you help, please? Thank you.
Try turning on WP_DEBUG in config.php to find out more information about the error:
http://codex.wordpress.org/Edi....._Error_Log
Also, it might be related to a missing table column; see these links: