When pulling a site from WPEngine to Local on Windows (possibly where the files have been previously developed on a Mac), the operation fails to complete due to permissions errors and the site gives a 403 error
Does this happen for all sites in Local, or just one in particular?
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
- pull site from WPEngine
- start site
- => 403 error - access denied
- files are not even viewable or editable by the operating system eg .htaccess
Which version of Local is being used?
What Operating System (OS) and OS version is being used?
Windows 11 Home
Attach the Local Log.
(will attach shortly)
this error pops up at the end
Uh-oh! Unable to change site domain to host.
Error: Command failed: “C:\Program Files (x86)\Local\resources\extraResources\lightning-services\php-8.1.9+8\bin\win64\php.exe” “C:\Program Files (x86)\Local\resources\extraResources\bin\wp-cli\wp-cli.phar” --path=“S:\work\bitbucket\client\mysite\website\app\public” --require=“C:\Program Files (x86)\Local\resources\extraResources\bin\wp-cli\local-wpcli-error-reporting.php” --skip-plugins --skip-themes --url=mysite.wpengine.com “search-replace” --all-tables-with-prefix “http://mysite.wpengine.com” “http://mysite.local”
at ChildProcess.exithandler (node:child_process:407:12) at ChildProcess.emit (node:events:527:28) at maybeClose (node:internal/child_process:1092:16) at ChildProcess._handle.onexit (node:internal/child_process:302:5)