Closed simonkuran closed 2 months ago
Thanks for testing @simonkuran! I can reproduce so I'll look into it, hope to be able to give you and update by the end of the week.
I am seeing the same issue. Appears to have started with Scout v3.3.3.
I am seeing the same issue. Appears to have started with Scout v3.3.3.
This specific issue was through a change that was introduced last week and is only present in 4.1.0-beta.1 for now. Are you running that version as well @elivz?
@simonkuran Could to try updating to 4.1.0-beta.2 and see if that fixes this for you? Thanks!
Interesting, no I was on 3.3.3 but getting the exact same error in the logs (including the same line number). I downgraded to 3.3.2 which cleared up my error logs. I can try to do a little more testing on Monday with newer versions.
@janhenckens 4.1.0-beta.2 is working well for me. Thanks for fixing this so quickly.
@janhenckens 4.1.0-beta.2 is working well for me. Thanks for fixing this so quickly.
Thanks for testing!
Interesting, no I was on 3.3.3 but getting the exact same error in the logs (including the same line number). I downgraded to 3.3.2 which cleared up my error logs. I can try to do a little more testing on Monday with newer versions.
Could you try to update to the latest stable version (4.0.0) and report a new issue with your scout config if you're still having the problem? Thanks!
Thanks @janhenckens for the work on #69! I have a test setup and I'm getting an error when saving an entry. When updating the index via
php craft scout/index
it works. However, when I then save an entry I get an "Indexing element Failed" error in the CP queue. In the queue log file I get a{main} {"memory":7540904,"exception":"[object] (Error(code: 0): Call to a member function id() on array at /var/www/html/vendor/studioespresso/craft-scout/src/jobs/MakeSearchable.php:81)"}
error.Here's the core of my
scout.php
file:When I use a a single element type like this I don't get any errors: