Giter VIP home page Giter VIP logo

Comments (8)

fgilio avatar fgilio commented on September 2, 2024

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.

hello-jason avatar hello-jason commented on September 2, 2024

Related discussion regarding the following error:

Fatal error: Cannot redeclare wp_cache_add()

roots/bedrock#181

Edit: This error no longer occurs with the Bedrock Autoloader mu plugin.

from bedrock-deploy-to-wpengine.

hello-jason avatar hello-jason commented on September 2, 2024

@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.

fgilio avatar fgilio commented on September 2, 2024

@hello-jason sorry, but I don't have any more a WPEngine account to test this on

from bedrock-deploy-to-wpengine.

hello-jason avatar hello-jason commented on September 2, 2024

@fgilio that's ok, I'll do some extra testing on my own. Thanks anyway!

from bedrock-deploy-to-wpengine.

fgilio avatar fgilio commented on September 2, 2024

Thank you!

from bedrock-deploy-to-wpengine.

jamiechong avatar jamiechong commented on September 2, 2024

@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.

hello-jason avatar hello-jason commented on September 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.