Comments (8)
This would be really powerful. Also I think is the only thing that breaks the 100% compatibility between Bedrock and WPEngine.
Thank you!
EDIT:
(I'm pasting this from Roots forums)
Maybe Bedrock could exclude WPEngine mu-plugins from the autoloading process. Because the problem is that WPEngine has a mu-plugin that takes care of loading some other scripts inside a subfolder... so Bedrock also loads those and it fails.
Maybe add an option to exclude certain directories?
The point is that Bedrock Autoloader does work ok. But fails because of how WPEngine loads their mu-plugins.
from bedrock-deploy-to-wpengine.
Related discussion regarding the following error:
Fatal error: Cannot redeclare wp_cache_add()
Edit: This error no longer occurs with the Bedrock Autoloader mu plugin.
from bedrock-deploy-to-wpengine.
@fgilio I think I have this working. Can you test the mu-plugins-get-stipped
(because I can't spell) branch and see if it works for you? https://github.com/hello-jason/bedrock-deploy-to-wpengine/tree/mu-plugins-get-stipped
from bedrock-deploy-to-wpengine.
@hello-jason sorry, but I don't have any more a WPEngine account to test this on
from bedrock-deploy-to-wpengine.
@fgilio that's ok, I'll do some extra testing on my own. Thanks anyway!
from bedrock-deploy-to-wpengine.
Thank you!
from bedrock-deploy-to-wpengine.
@hello-jason I'm still getting the Fatal error: Cannot redeclare wp_cache_add()
error while using the mu-plugins-get-stipped
branch. Thoughts?
from bedrock-deploy-to-wpengine.
Thanks @jamiechong -- I believe I mispoke, and there is an issue on my end.
Your post over here may be something for me to explore with this script.
from bedrock-deploy-to-wpengine.
Related Issues (14)
- Check if user has git access HOT 1
- Check if composer.lock is up to date HOT 1
- Update for Sage 9 HOT 2
- Consider removing theme build support HOT 1
- Check if composer is installed globally
- Deploy bedrock site that is also using trellis HOT 9
- Check if bower, npm, gulp are installed HOT 6
- Check if current user can deploy to WP Engine (git push) HOT 1
- Check if composer has been run
- Check if remote exists (git push)
- Use proper exit statuses
- Remove unnecessary stdout when declaring variables
- Bad gitignore creation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedrock-deploy-to-wpengine.