so this is after a few hours investigating, I have s2member plugin and a custom plugin what happens is they are both using wp_login hook in this manner, s2member:

add_action("wp_login", "c_ws_plugin__s2member_login_redirects::login_redirect", 10, 2);

and the custom plugin is using the same add action :

add_action( 'wp_login', array(&$this, 'login_success') , 100);

it didnt have any priority which is by default 10. so I changed it to 100 to see if it will resolve the issue but it did not. If I comment out that line in s2member my custom plugin works and logs the attempts to login.but then s2member plugin breaks. They are both separate files since they are different plugins. any ideas on how to resolve this? any suggestions would be greatly appreciated its my second night going crazy over this

  • 2
    What do the two callback functions look like? – s_ha_dum Jan 13 '14 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.