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