- This topic has 1 reply, 2 voices, and was last updated 11 years, 8 months ago by
Pie Register.
- AuthorPosts
- December 3, 2014 at 9:56 pm #10002866
Ben WinterParticipantI 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.
<startquote>
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:
– https://plugins.trac.wordpress.org/browser/pie-register/tags/2.0.13/pie-register.php#L966
– https://plugins.trac.wordpress.org/browser/pie-register/tags/2.0.13/pie-register.php#L1001
– https://plugins.trac.wordpress.org/browser/pie-register/tags/2.0.13/pie-register.php#L1014They 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!
</endquote>I am hoping you can add the second variable as discussed.
BenDecember 10, 2014 at 3:37 pm #10002888
Pie RegisterParticipantHello,
We have created a patched version for you to counter the problem.
Please download here:
https://downloads.wordpress.org/plugin/pie-register.2.0.15.zipThanks
Mohsin - AuthorPosts
- The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.
