Thank you for contacting us and I'd be happy to assist.
While it does seem like a good practice to include a 'defined' check for a constant, I couldn't reproduce this error on my test website, with PHP8 and the Access plugin.
To report this, I'll need to know the exact steps to reproduce this error. Are you using any third-party plugin or custom code to change the user roles or user profile functionality in the admin area?
regards,
Waqar
The topic ‘[Closed] Undefined Constant’ is closed to new replies.