"search-replace" --all-tables-with-prefix command failed when importing a WordPress site

Issue Summary

When importing a WordPress site into Local, I receive a message “Uh-oh! Unable to import site” and that the "search-replace" --all-tables-with-prefix command failed.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? Just this site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes.


Import a WordPress .zip file into Local. About 10 minutes after starting the import process the message below is received, at the Changing Site Domain stage:

Unable to import site - Copy

System Details

  • Which version of Local is being used? 6.0.0+5444.

  • What Operating System (OS) and OS version is being used? Windows 10 Home, Version 20H2.

  • Attach the Local Log. local-lightning.log (457.5 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.