Closed simonghales closed 7 years ago
Hey, thanks for your report.
I could reproduce your error, i didn't specifiy the exact version in the dependencies - so it updated WP CLI
from 1.1.0
to 1.2.0
which broke it.
I still need to look at what changed to get it working with the new version, but for now i set the dependency version to 1.1.0
so that it works again.
I specified exact versions for all dependencies to prevent sth. like this from happening again.
Sweet, thanks mate.
Description of your issue
When following along with the custom deployment steps everything works fine, the site deploys to Heroku with no issues. However upon updating WordPress' version, or simply installing a new plugin, the site will to fail to deploy. The issue arises once you have to update your composer.json / composer.lock files.
From my investigation this is due to changes made to the
johnpbloch/wordpress
dependency, which you can also read about here: https://discourse.roots.io/t/johnpbloch-wordpress-moved-to-a-new-configuration-and-wp-goes-missing/9124I've followed along with the recommendation made in the thread to
johnpbloch/wordpress
from composer.json, run composer update, push to serverjohnpbloch/wordpress
back, run composer update, push to serverHowever I am seeing this error in Heroku's logs:
Steps to Reproduce
composer update
(you don't need to change composer.json / add any new dependencies)Other Information
Git Commit/Version: Running off of the latest which at this time is: https://github.com/PhilippHeuer/wordpress-heroku/commit/e8ed1d355397f57b55fe4cf90ed94f56d4e9e332
Thanks for putting this template together, I'm looking forward to getting everything work.