Closed martyspain closed 1 month ago
Hey @martyspain - I think this was already fixed in in Craft 4 version through this PR, I totally forgot to also merge it for Craft 5.
I'll try to have a fix out this evening!
hey @janhenckens any update on a fix for this one?
@thom-moresoda @martyspain Sorry for the delay, the 4 version of Scout got pretty diverged since I tagged the latest 5 beta so I wanted to get them in line again and have tests running green before tagging a new 5 release.
That's all done now, including a fix for this, now available in 5.0.0!
nice one, thanks @janhenckens 👍 I've just updated & it looks to have fixed the error
The Craft 5 compatible version of Scout (5.0.0-beta.1 as of this writing) is causing Craft to throw a
NotInstantiableException
whenever a new field or section is created or edited in the CMS. The top-line exception looks like this:The stack trace is long, but I've added it here to help show where Scout appears (lines 55-57):
I've experienced this error on a couple of Craft 5 sites, both using Scout 5.0.0-beta.1. In both cases, disabling the Scout plugin resolves the error, and re-enabling the plugin immediately causes the error to be thrown when a new field or section is created, or if an entry type is edited.
Steps to reproduce
Craft CMS version
5.2.6
Plugin version
5.0.0-beta.1
Multi-site?
No