Logout button erases (deletes) wp_usermeta content
-
Hi, I recently moved my site to a new server in a private network (no internet visibility) I fixed some issues with my database but some still survive. Right now I found that when a users of a customized role (let’s day roleCalculator) ties to logout it erases the information in usersemeta about all the users except from the user administrator (which in my case is called admin). Other customized roles like (role1 and rolHead) work perfectly and don’t have this problem.
There is also a something I’ve noticed, when I click on logout the page redirects me to my old domain that was :
https://tool.org.lmg instead of the new domain which is https://porta.org.lmg.—–EDIT1————–
Explaining better what I’m doing maybe helps I’m calling a function Redirect wp_login that is called when I click this button.The server is a redhat 7.5
Database server: version 5.5.56-MAriaDB
ServerCharset UTF8-UnicodePHP version 7.2.3
phpmyadmin 4.7.9
- The topic ‘Logout button erases (deletes) wp_usermeta content’ is closed to new replies.