Arrow

ERROR: Unknown error updating role-specific URL for role contributor | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
ERROR: Unknown error updating role-specific URL for role contributor
December 17, 2011
7:21 pm
RPM
Guest

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.

December 18, 2011
9:10 am
Peter
Admin
Forum Posts: 841
Offline

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:

http://wordpress.org/support/t.....ther-users

http://www.theblog.ca/peter-fo.....abase-woes