Low Search and Structure (EE3)
When saving an entry in the back-end I just get a white screen.
When I disable Low Search, it saves. When I disable Structure but keep on Low Search it saves too. So it seems they just don't work together.
I noticed they both use the 'after_channel_entry_save' hook.
This site was upgrade from EE2.
Just posting here to see if anyone else has any ideas. I will report back if I manage to fix it.
Replies
Low 21 Nov 2016 10:36
Can't really comment on this, as I'm not familiar with Structure, nor have I done any compatibility tests with it. However, I can say that I'm pretty sure LS uses doesn't do anything out of the ordinary here.
You can try and switch around the extension priority, so LS fires before Structure (or vice versa) to see if that helps.
Michael David Carter 21 Nov 2016 10:45
Have it that way currently, but after saving the entry it isn't added to the search index immediately.
I'll play around a bit today, re-save the collections and see what happens.
Thanks for the response!
(first time using the plugin)
Michael David Carter 21 Nov 2016 11:34
Figured out the issue.
Structure does a redirect.. I'm not sure why, but this is probably a bad idea because how will other plugins then use the same hook? When all the plugins use a priority of 10 it will fail.
Anyway, in the gist below I copied out parts of the code to show what's happening.
Not sure how to move forward on this. I don't think it's your issue (Low), but if you don't mind I want to keep the information here so that I can send it to the guys at EEHarbor to look at.
https://gist.github.com/commercial-hi...
Cheers,
Michael