is there a line number in the error message?
line 8 looks wrong to me:
$WAFV_Redirect = "(blog_details.php?idarticolo=$_SESSION['nonregistrato']['idarticolo'])";
change that to:
$WAFV_Redirect = "blog_details.php?idarticolo=".$_SESSION['nonregistrato']['idarticolo']."";