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