I was having the same issue since the last update in 2017 like everyone else. I saw the answer about deleting the data for Stock Android under settings/Apps and it worked. But it wiped out the layout of may apps.
I started putting them back a little at a time, including widgets, without incident. Then I tried to put a bookmarked webpage through Chrome to the homepage and within 30 seconds it the Stock Android error popped up. I deleted the link and it was fine. I then tried adding another link to the homepage and it crashed again.
After deleting the homepage link, I downloaded FireFox. Then I added a link through it to the homepage for the same website and it's working fine without Stock Android crashing.
I hope this helps someone. It worked for me.