Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Cannot redeclare Sober\Controller\debugger() #23

Closed
Log1x opened this issue Jun 3, 2017 · 2 comments
Closed

Cannot redeclare Sober\Controller\debugger() #23

Log1x opened this issue Jun 3, 2017 · 2 comments

Comments

@Log1x
Copy link

Log1x commented Jun 3, 2017

It looks like since the update a few hours ago, you setup autoload in composer.json to autoload the plugin, but are still declaring "type": "wordpress-muplugin" thus the plugin is installing into /mu-plugins/ and being loaded by WordPress as well as Composer resulting in an error.

I can see how this could be overlooked as Sage 9 doesn't ship with installer-paths set in composer.json like it does Bedrock, but if they are manually set at a theme-level it will result in the error above.

Thanks in advance for a quick fix.

@darrenjacoby
Copy link
Member

Sorry, that's an oversight.

Please try del, clear cache and re-install.

@Log1x
Copy link
Author

Log1x commented Jun 3, 2017

Should be good now. Thanks!

@Log1x Log1x closed this as completed Jun 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants