# Deploy fails at 'Wordpress Installed?'

**URL:** https://discourse.roots.io/t/deploy-fails-at-wordpress-installed/20888
**Category:** trellis
**Tags:** trellis-cli
**Created:** 2021-06-04T13:31:51Z
**Posts:** 24
**Showing post:** 23 of 24

## Post 23 by @James_Cobbett — 2021-06-10T06:55:24Z

Thanks for the help everyone. Just wanted to close the loop on this in case anyone stumbles across this with an error of their own.

It turns out I had an issue in my production environment config file, which makes sense as to why it worked on staging and not production. I was using env() to get a environment variable, switching to getenv() has fixed it.

---

_[View the full topic](https://discourse.roots.io/t/deploy-fails-at-wordpress-installed/20888)._
