How to fix the session_register() deprecated issue?
Don’t use it. The description says: Register one or more global variables with the current session. Two things that came to my mind: Using global variables is not good anyway, find a way to avoid them. You can still set variables with $_SESSION[‘var’] = “value”. See also the warnings from the manual: If you want … Read more