After installing a module and attempting to run the setup:upgrade command it is possible you may encounter an error about Monolog\Logger. This issue indicates a conflict or problem with the existing generated files on your store.
To resolve this, simply clear the contents of Magento's generated folder and try again. If the store is in production mode, be sure to recompile these files. The commands would be run such as:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article