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