Home › Forums › Front End PM PRO › You do not have permission to access message system › Reply To: You do not have permission to access message system
In your child theme’s functions.php you had
$user_role = array_shift($current_user->roles);. Please read https://www.php.net/manual/en/function.array-shift.php
array _shift will remove first element from array. So it remove your role.
This does not only affect this plugin but other functions as well. Your website is a membership website. Your member will not be able to access content as their roles is removed.
I have corrected that. I hope this will solve your issue.
Let me know.