Trigger Login Loop
-
Hello,
So I’m still having the security check issue but I realized it has something to do with a trigger that I added because I re-added the plugin and tried it by itself and worked fine, but I’m not sure what to do about this. So I added this trigger onto the database so that another table called “home_info” would update when a seplog_user was inserted (seplog_users_user_id is the foreign key):
CREATE DEFINER=
root@
%TRIGGER
mydb.
seplog_users_AFTER_INSERTAFTER INSERT ON
seplog_users` FOR EACH ROW
BEGIN
INSERT INTO home_info (seplog_users_user_id) VALUES ((SELECT new.user_id from seplog_users where id = new.id));
END`But after I added the trigger I got that security check issue. So I removed the trigger to try and get rid of the issue but all that happened was if I was not logged into my wordpress account and I tried the seplog login, it would loop the login so that if I tried to go to account, it would say I wasn’t logged in, but when I went to login, it would say that I was already logged in and continue this cycle on whatever I tried. When I am logged in to wordpress again there are no issues for whatever reason.
After adding the trigger again I don’t get the loop but I do get the security check error. I tried reverting the database back to an old version that never had the trigger in the first place but I still had this issue. I’m very confused. Did I miss everything up??
- The topic ‘Trigger Login Loop’ is closed to new replies.