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