Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exempt from is-installed check the DB error dump PHP warning for not yet set up multisite sites #1391

Conversation

strarsis
Copy link
Contributor

@strarsis strarsis commented Jun 11, 2022

This PR changes the recently added stderr exemption of a specific PHP warning from the WP CLI wp core is-installed command for multisite sites to the DB error dump that occurs with not yet set up multisite sites.

This eliminates the need for letting the WP CLI require a temporary PHP file with constants that disable the multisite feature, which itself caused fatal PHP errors in recent WordPress/Bedrock/Trellis setups where those multisite constants where redefined in the Bedrock application config.

Initial deployment of multisite sites will successfully complete and allow finalization of the site setup (by using the WP CLI, web GUI setup process, importing a database dump/transfer uploads/data files, etc).

@strarsis strarsis changed the title Exempt from is-installed check DB error dump PHP warning for not yet set up multisite sites Exempt from is-installed check the DB error dump PHP warning for not yet set up multisite sites Jun 11, 2022
Copy link
Member

@swalkinshaw swalkinshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants