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