Peanut butter cookies are high in fat, so if your cookie dough gets too warm while you're mixing the ingredients, it can split and become too greasy. I find it very helpful to chill the dough after creaming the butter and sugar for about 5-10 minutes, and then again after beating in the egg and vanilla.