Related post by category throws internal server error

I have sorted this issue i was tested this code on our test server and

i saw error on post detail page the error was Fatal error: Call to undefined function short_title()

after seen this i have remove the function code short_title(); from my custom.php and replace with the_title(); to display tittle.And i have check the site every thing is working good.

But still i am not understand why this function short_title(); not working on my production server and why it throwing Internal Server Error

except this error Fatal error: Call to undefined function short_title()