This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello all!
I am attempting to install the codein discord plugin, but am greeted with this error upon installing { "message": "Declaration of Illuminate\\View\\Factory::composer($views, $callback) must be compatible with Illuminate\\Contracts\\View\\Factory::composer($views, $callback, $priority = NULL)", "exception": "Symfony\\Component\\Debug\\Exception\\FatalErrorException", "file": "/vendor/laravel/framework/src/Illuminate/View/Factory.php", "line": 53, "trace": [] }
. Any ideas what's causing this?
Regards.
Last updated
Sounds like it's including an incompatible version of Laravel. Try contacting the plugin author to get them to release a new version so the marketplace can rebuild it without those dependencies included, or if you're using Composer install it via composer instead.
LukeTowers said:
Sounds like it's including an incompatible version of Laravel. Try contacting the plugin author to get them to release a new version so the marketplace can rebuild it without those dependencies included, or if you're using Composer install it via composer instead.
ok, I do not have contact with the plugin author, and i'm not using composer. is there any way I could modify the plugin? i have the github url for it, but don't know where to start with doing something like that.
I'd recommend trying to use https://octobercms.com/plugin/hambern-discord instead then, or if you can't then you can try to remove anything that's in the vendor/laravel folder of the plugin.
1-4 of 4