Lines 621 and 623 are repeated from lines 617 and 619... they can simply be deleted to prevent the errors on the page.
The error in the connection is probably something wrong in your site settings. The testing server settings for the site URL is probably wrong or the testing server isn't defined.