"Critical Error" when pushing or pulling to WP Engine

Issue Summary

Oddly enough, I’m having this issue with my MacBook but not my iMac. Every time I go to push or pull a site, it kicks a Critical Error or Host Issue.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? All sites

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes but I can not push it to WP Engine

System Details

  • Which version of Local is being used? 6.1.5

  • What Operating System (OS) and OS version is being used? macOS Big Sur

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

1 Like

I just started having this exact issue …

I’m having the same issue with the same version of Local on the same OS (Big Sur).

Pulling is working for me again. I haven’t checked all sites, but at least one is back to normal.

Nice, now my other computer is kicking up a “Can not read property ID” error, so I’m at a standstill on both machines.

I didn’t encounter this issue, but I did have the initial issue. In my case, I opened an older version of Local (6.1.2) a day later and pulled the site with no troubles. Then I pulled with the latest version and also had no troubles. I suspect the issue had something to do with wpe-cache-plugin, but I can’t confirm. I don’t know what fixed things in the end, but figured I’d share my experience.

1 Like

Along the same vein, having issues trying to push or pull files. Using Local 6.1.5+5536 on a Mac (MBP 13-inch, 2018 running macOS 12.0.1). This is an error I saw with Developer tools enabled.

Uncaught (in promise) c: The ipcAsync call to channel 'flywheelAPI:listSites' was rejected with the main thread error:

	network timeout at: https://app.getflywheel.com/api/v2/sites

		Check out the error props {channel, channelArgs, messageMain, stackMain} for more details.
    at Object.<anonymous> (file:///Applications/Local.app/Contents/Resources/app.asar/renderer/_browserWindows/app/app.js:2:119880)
    at Generator.throw (<anonymous>)
    at s (file:///Applications/Local.app/Contents/Resources/app.asar/renderer/_browserWindows/app/app.js:2:118860)
c @ app.js:2
(anonymous) @ app.js:2
s @ app.js:2
Promise.then (async)
componentDidMount @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/@getflywheel/local-components/dist/index.js:1
Ji @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:212
Sj @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:255
exports.unstable_runWithPriority @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js:19
cg @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:122
Jj @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:248
yj @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:239
(anonymous) @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:123
exports.unstable_runWithPriority @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js:19
cg @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:122
fg @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:123
gg @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:122
Ig @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:230
enqueueSetState @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:132
D.setState @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react/cjs/react.production.min.js:13
(anonymous) @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-router/cjs/react-router.min.js:1
n @ app.js:38
(anonymous) @ app.js:38
notifyListeners @ app.js:38
C @ app.js:38
(anonymous) @ app.js:38
confirmTransitionTo @ app.js:38
push @ app.js:38
openModal @ app.js:38
_e @ app.js:2
n @ app.js:2
(anonymous) @ app.js:83
(anonymous) @ app.js:83
n @ app.js:83
gotoMagicSyncViewer @ app.js:83
(anonymous) @ app.js:83
(anonymous) @ app.js:83
n @ app.js:83
pullButtonOnClickConnected @ app.js:83
(anonymous) @ app.js:83
o @ app.js:83
Promise.then (async)
c @ app.js:83
(anonymous) @ app.js:83
i @ app.js:83
pullButtonOnClickConnected @ app.js:83
(anonymous) @ app.js:83
(anonymous) @ app.js:83
i @ app.js:83
N.onClickPull @ app.js:83
onClick @ app.js:83
ba @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14
ja @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14
ka @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14
oa @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:15
lc @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:52
jc @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:51
mc @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:52
sc @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:56
Ia @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:287
Ma @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:19
Rc @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:70
id @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:69
exports.unstable_runWithPriority @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js:19
cg @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:122
Ga @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:287
gd @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:68
sentryWrapped @ /Applications/Local.app/Contents/Resources/app.asar/node_modules/@sentry/browser/dist/helpers.js:75
Show 9 more frames

I’m getting the same problem here on Mac OS (Big Sur). I wonder if it’s the plugin that’s at fault, I might try updating at WPEngines end!

Fatal error: Uncaught Error: Class ‘WpeCommon’ not found in /Users/paulmanington/Documents/Sites/romida-wp/app/public/wp-content/mu-plugins/wpe-cache-plugin/wpe-common-adapter.php on line 17

WPEngine sorted this for me, it looks like it’s an issue with their caching plugin. They’ve temporarily removed it from my site which let me use Local again, and they’ll reinstall once it’s sorted again

Hey ya’ll, I’m with WP Engine, and we do have a solution that you can implement yourself, while we work on updates that should fix this.

If you are comfortable in SSH, for the site(s) in question, go into your wp-content/mu-plugins/ directory (via SSH) and delete the wpe-cache-plugin.php file.

When we have this fixed, we will re-deploy that file to your site to restore functionality without the aforementioned bug.

Hmm, so it did remove the error via local upon pulling the site, but now I get a “There has been a critical error on this website.” message after pulling.

Thanks for your patience with this!

There’s likely a PHP error that’s breaking things within the Local site.

Can you try pulling the remote WPE site to a new one in Local to see if that still has issues?

The other thing to verify is that the


file should be removed from both the Local and the remote site until we’ve deployed a fix to the remote code.

I’m having the same issue since updating local. This fix works for me so far. Will await the update.

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