Integration of an existing WordPress installation in Local WP

Local needs permission on your machine to make certain changes like updating your hosts file, so that may have been what you saw. If you try again you can send us a screenshot to confirm.

Regarding the critical error, looks like someone else ran into this here: