Go to the page with the error and add
to the end of the page’s URL. If the URL already has a “?” then add this instead to the end of the URL:
You will now see a list of all of the Web Parts on the page and can now delete the offending Web Part.
Here is an example for a site URL that ends in aspx: