If you did not chill your crust before baking, that could be the cause of the cracking. In addition, the pastry crust will crack in the oven if the dough was rolled out too thin. The good news is that you can just cover with pastry cream or whatever filling you are using, and no one is likely to see!