Getting AttributeError: 'NoneType' object has no attribute 'replace' while saving

i created a doctype called faq and while adding new faqs i am getting this error
same as that of this issue Issue with all custom doctypes and i tried solution suggested in that … but still not working
please help