Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2020 at 21:31 UTC
Updated:
11 Jan 2021 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sebish commentedHere is a proposed patch.
Comment #3
joelpittetYes interface over concrete class for sure! Thanks @sebish
Comment #4
rhovlandThanks for the patch. Fixes webprofiler breaking our site in dev environments.
Comment #5
a.milkovsky#2 works. I was about to open the same issue with the same patch :)
Comment #6
esolitosI can confirm the issue is easily replicated by enabling search_api and webprofiler and the patch solved it.
Comment #7
kevinfunkI'll also confirm that #2 fixed my issue with Webprofiler.
Comment #8
floydm commentedAlso confirming that I got this error after enabling webprofiler and that patch #2 fixed it.
Comment #9
yogesh kushwaha commented#2 works for me as well. I had this error while enabling the webprofiler module similar to #7 and #8.
Comment #10
drunken monkeyThanks a lot for reporting and providing a patch! You’re right, using a class instead of the interface is just wrong there – seems I overlooked this during review. (That was a very complex issue to review, as a small excuse.)
Anyways, committed. Thanks again!