A fresh install of Mac OS and Laravel valet didn't help get rid of the problem. I dug deeper and edited the php.ini files of both PHP 7.2 and 7.3.
edit made on both files was "pecr.jit=1 to pecr.jit=0" still no luck.
I've noticed that the errors appear on querying database. Sequel Pro crashes too when this happens.