bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

Introduction of "use Dotenv::createImmutable()" breaks servers with multiple sites

Open dalepgrant opened this issue 10 months ago • 0 comments

Version

#714

What did you expect to happen?

Retain the ability to host multiple sites on one server.

What actually happens?

The changes introduced in #714 cause havoc, the best way I can describe it is that domain2.com starts trying to use domain1.com's database.

Steps to reproduce

Deploy two Bedrock sites on the same server at different URLs Change the settings in WP Admin of both sites (anything, active themes, active plugins, Site name, whatever) One site will take the values of the other Remove the changes from #714 Note that both sites gain their independence again.

System info

Ubuntu 22.04 provisioned with Trellis (https://github.com/roots/trellis/commit/b791d54e8f6c9dcc5a909a51d9368136cf04f455)

Log output

No response

Please confirm this isn't a support request.

Yes

dalepgrant avatar Apr 25 '24 10:04 dalepgrant