[ad_1]
Change if(user == NULL) to if($user === null). The error came from missing $ on user variable
[ad_2]
solved Use of undefined constant user – assumed ‘user using php7.2
[ad_1]
Change if(user == NULL) to if($user === null). The error came from missing $ on user variable
[ad_2]
solved Use of undefined constant user – assumed ‘user using php7.2