Reviewed & tested by the community
Project:
Flag Search API
Version:
2.0.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2025 at 22:13 UTC
Updated:
23 Jun 2025 at 19:53 UTC
Jump to comment: Most recent
Comments
Comment #4
joco_sp commentedEscalating to Critical, because it breaks the website.
Comment #5
jonraedeke commentedThank you for the quick fix Aljoša! It works well and diff looks good. RTBC
Comment #6
hatsch commentedconfirm that this fixes problems with Flag 8.x-4.0-beta6. RTBC
Comment #7
bsingh commentedThanks @joco_sp
Comment #8
liquidcms commentedI have this error without Flag Search API, so wonder if the fix should be here or in the Flag module?
Comment #9
liquidcms commentedNope, my bad. i have custom code (likely like this module does) that calls Flag link building service.. which they changed API for in beta6. "view mode" is no longer option parameter to pass. Still likely a bug in Flag as it has $view_mode = NULL in call to LinkBuilder method and it should likely be $view_mode = 'default'.