Open tedw opened 1 year ago
In case anyone else runs into this, I was able to fix it by appending the following to/scripts/composer/cleanup-composer
:
if [ -d "web/wp-content/mu-plugins/pantheon/" ]; then
rm -rf web/wp-content/mu-plugins/pantheon
fi
if [ -f "web/wp-content/mu-plugins/pantheon.php" ]; then
rm web/wp-content/mu-plugins/pantheon.php
fi
Thanks for the report— we're tracking this internally as CMSP-464.
I was just updating an old site to the latest version of 5.9 and noticed it installed both the older
/mu-plugins/pantheon
plugin (andpantheon.php
file) as well as the newer/mu-plugins/pantheon-mu-plugin
plugin. This starts happening in 5.9.6.Is there any reason why we can’t remove the old plugin? https://github.com/pantheon-systems/wordpress-composer/tree/5.9.7/wp-content/mu-plugins
Currently, I have to manually delete the old plugin or else I get this error:
Thanks!