php7.4 tcpdf报错chr() expects parameter 1 to be int, string given

php7.4 tcpdf chr() expects parameter 1 to be int

最近升级服务器PHP版本到7.4,结果PDF不能展示了,直接报错:

chr() expects parameter 1 to be int, string given

百度了很久没结果,然后跑去谷歌了一下,结果在git上发现了作者的回复,低版本不兼容PHP7.4,要把tcpdf升级到最新版才行!

[挖鼻][挖鼻][挖鼻][挖鼻][挖鼻][挖鼻]