This means that redirect() was called with a malformed url.
As the error seems related to this line in function.php :
- Code: Select all
// Determine which type of redirect we need to handle...
$url_parts = parse_url($url);
or this one maybe, still in the redirect() code :
- Code: Select all
// Now, also check the protocol and for a valid url the last time...
$allowed_protocols = array('http', 'https', 'ftp', 'ftps');
$url_parts = parse_url($url);
It's hard to tell froms where this came from, you could try to activate debug in config.php, replace :
- Code: Select all
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
with :
- Code: Select all
@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
To see if logged as admin you can find out more about this error with the back trace (try to login using a bogus user account).
You can safely replace :
- Code: Select all
// Determine which type of redirect we need to handle...
$url_parts = parse_url($url);
with :
- Code: Select all
// Determine which type of redirect we need to handle...
$url_parts = @parse_url($url);
To shut down the error (if from there, but I think so), buggy user wil just be redirected to forum index when the error occurs, instead of the eventually different bogus url.