This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

curtis57520
curtis57520

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

JeffGoldblum
JeffGoldblum

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.

curtis57520
curtis57520

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.

JeffGoldblum
JeffGoldblum

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.