The first parameter specified for replace () is not a valid placeholder:% info-link%".
Please make sure that the first percentage sign is not followed by a space:
replace('%info-link%', ...)
If that does not help, please add your current PHP code to the question. Please use the button {} for format the code as code. Thank you.