Correct PHP error in v2.php