pberParticipant@pberSeptember 8, 2018 at 5:45 am #9080
I’ve recently updated the affiliate wp lifetime-commissions plugin. Since this update there are crashes on the checkout after completing payment. In the error logs I’m seeing errors like:
Uncaught Error: Call to undefined method Affiliate_WP_Lifetime_Commissions_Base::get() in /home/wp/disk/wordpress_staging/wp-content/plugins/affiliatewp-multi-level-marketing/includes/actions.php
It seems like the lifetime commissions update has changed the name of some of their methods/structure of the plugin. Is it possible to have MLM updated so it works with the latest version of the lifetime commissions plugin?
Affiliatewp MLM version : 1.1.2
Affiliatewp Lifetime commmisions version : 1.3.2
Full error code: `Uncaught Error: Call to undefined method Affiliate_WP_Lifetime_Commissions_Base::get() in /home/wp/disk/wordpress_staging/wp-content/plugins/affiliatewp-multi-level-marketing/includes/actions.php:632
#0 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(286): affwp_mlm_remove_lifetime_email_from_upline_referrals(‘2984’, Object(stdClass), 21946)
#1 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#2 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /home/wp/disk/wordpress_staging/wp-content/plugins/affiliatewp-multi-level-marketing/integrations/class-base.php(158): do_action(‘affwp_mlm_compl…’, ‘2984’, Object(stdClass), 21946)
#4 /home/wp/disk/wordpress_staging/wp-content/plugins/affiliatewp-multi-level-marketing/integrations/class-woocommerce.php(185): AffiliateWP_MLM_Base->complete_referral(Object(stdClass), 21946)
#5 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(288): Affili in /home/wp/disk/wordpress_staging/wp-content/plugins/affiliatewp-multi-level-marketing/includes/actions.php on line 632
Thank you for your time.
September 12, 2018 at 3:25 pm #9092
And thanks for reporting this.
Based on the error, it would appear that the updated version of Lifetime Commissions uses different methods, but I’ll have to look into the updated Lifetime Commissions code to confirm the changes.
I’m investigating this now, and I’ll follow up soon with a solution.
September 13, 2018 at 6:06 pm #9106
I’ve updated MLM to version 1.1.3, to include further compatibility with the new versions of AffiliateWP and Lifetime Commissions. I’ve sent you the update via a message on this site. Please test it to let me know if this resolves your issue.
October 6, 2018 at 6:45 am #9192
There is still a payment checkout problem with Paid MemberShip Pro.
Before the 1.1.13 update, disabling the lifetime commission plugin worked but now no longer at all.
I am with Stripe as payment gateway and in test, someone is it in the same case as mine?
I will try via Woocommerce to see
October 10, 2018 at 1:09 pm #9231
Can you test this after disabling the PM Pro integration in the MLM tab of the AffiliateWP settings?
Also, you mentioned it’s not creating the User account, do you mean the WordPress user account, or the Affiliate account?
And what version of AffiliateWP, and Lifetime Commissions are you using?
October 11, 2018 at 12:57 pm #9241
Hmmm, this means that the issue is not with the PM Pro integration within the MLM plugin. This is because, once you disable the PM Pro integration, MLM does not run any of the PM Pro code during PM Pro checkout. MLM will only connect the referring affiliate to the new sub affiliate account created during the user account creation (If you have Auto Register New Users enabled in the AffiliateWP settings).
When you deactivate MLM (and all other AffiliateWP add-ons), leaving only the core AffiliateWP plugin active, does it still give you this blank page during checkout?
October 11, 2018 at 4:52 pm #9242
I think we misunderstood each other. When I disable pmpro integration in the MLM plugin, everything works normally so I think the problem comes from the pmpro integration and before the last update it did not work with the plugin lifetime but an account was created.
I think there is probably a conflict between the PM Pro and Lifetime Commission integration.
Otherwise I just tried with just Affiliate wp activated and it works fine, then I tried Affiliate WP + Lifetime commission and it also works.
October 12, 2018 at 12:43 pm #9247
Ahhh, okay that is a different story.
What do you have the Sync Lifetime Affiliate setting set to in Affiliates > Settings > Integrations?
If you do have this enabled, what happens when you set this to “Disabled” and perform your test?
Try this both with PM Pro integration enabled in MLM, and with PM Pro integration disabled in MLM.
I suspect that the issue with the user account creation is related to the MLM and Lifetime Commissions integration.
Also, do you have the “Link Customers To Affiliates On User Registration” setting enabled in Affiliates > Settings > Integrations? If so, test this with this disabled as well, and let me know what the result is.
October 15, 2018 at 4:14 pm #9268
Yes, thank you. That information does help.
I’ve applied a patch to MLM version 1.1.3 for the PM Pro integration. I’ve sent you the download link via Private Message. Once you download it and install it, please test it with Lifetime Commissions deactivated first, and then try it with Lifetime Commissions active.
And of course, let me know what your results are like.
You must be logged in to reply to this topic.