Hello,
I recently moved my site from Joomla 3 to Joomla 4 and everything went well. However I am seeing the below error when I try to approve a new user. All other aspects of the registration process are working normally, and I can go into manage user and approve the user. The error occurs when I approve the user from the front end. I have included the error report.