PHP User Warning: Invalid argument supplied for foreach() in ..../includes/functions_post_thanks.php on line 222