You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looks to me like it'd break out the JavaScript string if the stringified $value contains the ' character.
Proposed fix: change the line to return json_encode((string) $value).
Thanks!