cmap php error on version 7.1/7.2?