Issue Summary
Hey there. I’m new to local. I’m helping a friend/client with a project and struggling to get the project running on my local machine. This is an existing site in development environment on WP Engine.
Troubleshooting Questions
This is the first project I’ve developed with LOCAL.
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
YES, a new site works fine
Replication
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!
I connected to WP Engine and download the site. It downloads and I get “Warning , the sites Wordpress URL settings do not match the host set in LOCAL.”
I click FIX IT
I get an error: Unable to change site domain to host. Error, command failed…
and then if I try to load the site I get the error below.
System Details
-
Which version of Local is being used?
6.15+5536 -
What Operating System (OS) and OS version is being used?
- macOS Big Sur 11.6
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
- This is the error I get
[26-Oct-2021 20:56:29 UTC] PHP Fatal error: Uncaught Error: Class 'WpeCommon' not found in /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin/wpe-common-adapter.php:17
Stack trace:
#0 /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin/register-rest-endpoints.php(25): wpengine\cache_plugin\WpeCommonAdapter::get_instance()
#1 /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin/register-rest-endpoints.php(16): wpengine\cache_plugin\RegisterRestEndpoint::initialize()
#2 /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin.php(46): include_once('/Users/myusername...')
#3 /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin.php(43): wpengine\cache_plugin\include_rest_registration()
#4 /Users/myhomedir/Local Sites/sios2021/app/public/wp-settings.php(340): include_once('/Users/myusername...')
#5 phar:///Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/wp-cli.phar in /Users/myhomedir/Local Sites/sios2021/app/public/wp-content/mu-plugins/wpe-cache-plugin/wpe-common-adapter.php on line 17
My host file looks like this. Not sure if this is helpful.
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 figmadaemon.com
## Local by Flywheel - Start ##
::1 sios2021.local #Local Site
127.0.0.1 sios2021.local #Local Site
::1 www.sios2021.local #Local Site
127.0.0.1 www.sios2021.local #Local Site
::1 daves-test.local #Local Site
127.0.0.1 daves-test.local #Local Site
::1 www.daves-test.local #Local Site
127.0.0.1 www.daves-test.local #Local Site
## Local by Flywheel - End ##
Thanks in advance for any guidance to get this up and running!