Auto Funnel Press (AFP) is a MLM / affiliate team marketing system on steroids that’s been around for a while, but as of late — when you combine it with other systems like PMP (Paid Memberships Pro) or WooCommerce — produces a strange random error.
Always thought it had to do with me running LEMP / NGINX only stack, instead of the more commonly used LAMP (Apache2 with or without NGINX). However didn’t have the issue when using a different theme. And as I haven’t given up on woocommerce integration into AFP for processing monthly payments. However … I kept getting HTTP 500 error .. which prevented me from moving forward. But FINALLY found the problem, and how to fix it!!!
Edit:
/wp-content/themes/AutoFunnel/func/custom_login/classes/Model.class.php
and turn line 98 from:
do_action( 'wp_login', $user_login);
into:
do_action( 'wp_login', $user_login, $user );
and then things work smooth then!
Reference: https://developer.wordpress.org/reference/hooks/wp_login/ (introduced somewhere in WP 4.4+)
- My Dutch / NL WordPress Translation contributions: July 2022 - July 27, 2022
- My Dutch / NL WordPress Translation contributions: April 2022 - April 2, 2022
- My Dutch / NL WordPress Translation contributions: March 2022 - March 10, 2022
- What is the best global travel community for 2022 ? - February 20, 2022
- My Dutch / NL WordPress Translation contributions: February 2022 - February 3, 2022
Communities I have been 'hanging out' regularly over the past two decades.
- Nomadlist.com since 2022-04
- Empire.Kred since 2021-07
- Karma-Lab.com since 2019-01
- Invision Community since 2018-05
- Insanely Mac since 2018-02
- eGPU.io since 2017-04
- Tech Inferno since 2016-08
- forum.VestaCP.com since 2016
- WordPress.org since 2015-12
- Couch Surfing since 2014
- BitcoinTalk.org since 2014-03
- Warrior Forum since 2013-07
- Empire Avenue since 2013
forum.OSXLatitude.comsince 2011-08- Envato (i.e. CodeCanyon) since 2011-07
- TripAdvisor since 2010-09
MoneyMakerGroup.comsince 2007-03- HardWare.info since 2003-08
- SynthForum.NL since 2001-11
- gathering.tweakers.net since 2000-11
Note: links go to my profile on those respective sites. Connect with me if you like.
- EarnWithEarnie.io since 2022
- EarnWithEarnie.net since 2018
- BestProfitsTeam.com since 2017
- CycleClubMembers.com since 2015
- BestSTIFORPteam.com 2013-2021
If you enjoyed this blog, like / retweet, share and comment below please
Bitcoin
Ethereum
Binance coin
Litecoin
Donate Bitcoin to this address
It is just as easy as scanning the QR code or copying the address below into your wallet to send some Bitcoin in seconds. We thank you in advance for your patronage!
Donate Ethereum to this address
It is just as easy as scanning the QR code or copying the address below into your wallet to send some Ethereum in seconds. We thank you in advance for your patronage!
Donate Binance coin to this address
It is just as easy as scanning the QR code or copying the address below into your wallet to send some Binance coin in seconds. We thank you in advance for your patronage!
Donate Litecoin to this address
It is just as easy as scanning the QR code or copying the address below into your wallet to send some Litecoin in seconds. We thank you in advance for your patronage!