-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x] Element query executed before Craft is fully initialized #249
Comments
What sort of request of action are you doing when seeing this error @ccchapman? |
@janhenckens I believe it was for every single web request. |
Signed-off-by: Jan Henckens <jan@henckens.be>
Hello I think we are experiencing this issue as well, is there any chance for a fix for this anytime soon? Here is stack trace of one request:
|
You should be able to get the fix for now by using the develop branch, as: "studioespresso/craft-scout": "develop as 3.0.0", It would be nice to have this change tagged as a beta version as the logs are quite noisy. Also the develop branch has the requirement as Craft 4.3, which I'm not sure is actually required. I'm working on upgrading to Craft 4 now as well, to get some of the deadlock fixes. |
Hey everyone, sorry about the delay, I had the fix ready on develop but totally forgot to make a release for it. I just tagged 3.1.0 which includes this fix. The fix referenced here was added in Craft 4.3.5 so I'm bumping the minimum version for this release to that. |
A warning can be logged when the
ScoutIndex::criteria
calls$query->site()
.config/scout.php
storage/logs/web.log
Refs
init()
craftcms/cms#11033 (comment)The text was updated successfully, but these errors were encountered: