When developing a new site locally, I use FakerPress a lot to generate dummy content to test long post titles, content, pagination etc.
This used to work fine when installing & activating with composer, but since I updated to Acorn 3, I’m getting this error when activating the plugin:
Skipping provider [Carbon\Laravel\ServiceProvider] because it requires a dependency that cannot be found.
Here’s my full error stack.
I can see the plugin uses Carbon, but I don’t really understand the root of this problem… What does Acorn have to do with this? Plugins should work as standalone applications right?
I believe this error is thrown simply because Acorn is being smart about trying to boot the Carbon ServiceProvider, but associated dependencies aren’t installed.
You should be able to selectively disable auto-discovery of of a service provider by adding something like this to your composer.json:
Hi @talss89, thanks for your reply!
That’s just the thing, the whole backend is not working anymore when I activate the plugin. I only get the error screen on each admin page.
I tried what you suggested by editing my composer file but that did not fix it unfortunately…