Fatal error: Cannot redeclare check_valid_parent() in q on line 4