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