When users get a notification email with a link to a new message in buddypress, clicking on that link goes to a 404 (if they are not logged in). This seems like it was previously addressed in https://buddypress.org/support/topic/error-404-for-non-logged-in-users/ but I can’t seem to fix it. I tried adding the function mentioned in that file to my bp-custom file, but no luck. Any advice for how to route this through a login form instead would be very much appreciated!
Latest WordPress and buddypress, child theme from colormag theme.
PlantSwap.org