Click on button to return to the store and it blows up with these errors.
QUOTE
Warning: reset() [function.reset]: Passed variable is not an array or object in /shop/includes/classes/navigation_history.php on line 130
Warning: Variable passed to each() is not an array or object in /shop/includes/classes/navigation_history.php on line 131
Warning: reset() [function.reset]: Passed variable is not an array or object in /shop/includes/classes/navigation_history.php on line 130
Warning: Variable passed to each() is not an array or object in /shop/includes/classes/navigation_history.php on line 131
Warning: Cannot modify header information - headers already sent by (output started at /shop/includes/classes/navigation_history.php:130) in /shop/includes/functions/general.php on line 36
Warning: Variable passed to each() is not an array or object in /shop/includes/classes/navigation_history.php on line 131
Warning: reset() [function.reset]: Passed variable is not an array or object in /shop/includes/classes/navigation_history.php on line 130
Warning: Variable passed to each() is not an array or object in /shop/includes/classes/navigation_history.php on line 131
Warning: Cannot modify header information - headers already sent by (output started at /shop/includes/classes/navigation_history.php:130) in /shop/includes/functions/general.php on line 36
Navigation History
function filter_parameters($parameters) {
$clean = array();
reset($parameters); <------- LINE 130
while (list($key, $value) = each($parameters)) {
if (strpos($key, '_nh-dns') < 1) {
$clean[$key] = $value;
}
}
return $clean;
}
General
function tep_redirect($url) {
// EOF Product Type Option
if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
$url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL
}
}
header('Location: ' . $url); <------- Line 36
tep_exit();
}
The order is placed fine and is in the preparing IPN status. I am not sure the IPN is working fully. The customer can not return to my store without errors.
PLEASE HELP!!!!!!!!!!!!
