Fix error by adding function with unique name. PHP Fatal error:  Call to undefined function _replaceSlash()