Update validation.php, change the :: to -> in line 24