Thanks for your help ??
This plugin didn’t work because I think it only made changes in the database but I think the problem is in the script generated from the template we’re using? I found another similar plugin that checked everything and it fixed one of the errors.
Half way there.
The other error is saying
“Errors that are reported on line 1 are generally not part of the source code. This error may be caused by an external javascript file which is writing to the page, however we are unable to reliably detect these scripts in our automated test.”