No tab with id: 1662

There has to be an answer to this bug.
It is opening and focusing on a new tab when a link is clicked.
Then when the tab is automatically closed it shows this error, “No tab with id: 1662.”