- December 3, 2014 at 9:56 pm #10002866
I am using a plugin called Connections to have a directory of businesses. I am using PR to do the login and charge people to create an account. This is awesome!!!
When I login, there are error messages. The team at Connections found a bug in your code that is causing these error messages. Here is what was found/said.
Yep, it’s “Pie Register”. They quite possible broke any plugin that relies on the wp_login action hook.
Here’s the lines of code that has the bug:
They should either not call the wp_login action hook at all or they should pass the $user object as a second variable like so:
do_action( ‘wp_login’, $user->user_login, $user );
The only fix right now … You’d have to edit that file, all three instances, to either remove the call or add the second variable. The safest solution is the latter because it might be possible that “Pie Register” may run in a way the core WordPress action wp_login is never run and it needs to run for Link and any other plugin that may rely on it.
Hope that helps!
I am hoping you can add the second variable as discussed.
BenDecember 10, 2014 at 3:37 pm #10002888
We have created a patched version for you to counter the problem.
Please download here:
The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.