I don’t know what happened but this error popped up.
Use of undefined constant access_s2member_level1 - assumed ‘access_s2member_level1’ (this will throw an Error in a future version of PHP)Use of undefined constant access_s2member_level1 - assumed ‘access_s2member_level1’ (this will throw an Error in a future version of PHP)
I logged in as Admin and the error appears on the top menu and footer menu area.
I use the visibility logic for a couple of links on these menu with:
current_user_can(access_s2member_level1)
What can I do to fix this?
Thank you!
WP version is 5.6.3 (Im waiting for the developer to update the theme)