remove php error message, use only the deprecated function
Merge