I have just tried to create a local site using a backup from a web host but getting the above error. Details below:
Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+11/bin/darwin/bin/php /Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/wp-cli.phar --path=/Users/alanshaw/Local Sites/bridgetscakes-co-uk-2021-11-16-05-48-55/app/public --require=/Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/local-wpcli-error-reporting.php --skip-plugins --skip-themes --url=staging.bridgetscakes.co.uk search-replace --all-tables-with-prefix http://staging.bridgetscakes.co.uk http://bridgetscakes-co-uk-2021-11-16-05-48-55.local Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Does this happen for all sites in Local, or just one in particular?
Just this one
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
Which version of Local is being used?
What Operating System (OS) and OS version is being used?
Mac Big Sur OS 11.6.1
Attach the Local Log. See this Community Forum post for instructions on how to do so:
How do I retrieve Local’s Log?
no log file created
- How do I retrieve Local’s Log?
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.