edit : I’d like to override the discourse’s email verification process… is that doable ? I’m using WP-Discourse obviously
Hey guys, I’m trying to mix Memberpress and User Verification (for email verifying) to prevent Discourse from sending another email for validating. (Is that clear ? Probably not lmao)
But when the user signup on wordpress and validates his email, an error appears. Do you have any idea on what I should do to prevent that from happening ? Thank you
Error =
**Fatal error** : Uncaught ArgumentCountError: Too few arguments to function WPDiscourse\WordPressEmailVerification\WordPressEmailVerification::verify_email_after_login(), 1 passed in /home/----/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/----/public_html/wp-content/plugins/wp-discourse/lib/wordpress-email-verification.php:128 Stack trace: #0 /home/----/public_html/wp-includes/class-wp-hook.php(286): WPDiscourse\WordPressEmailVerification\WordPressEmailVerification->verify_email_after_login('----') #1 /home/----/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /home/----/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/----/public_html/wp-content/plugins/user-verification/includes/functions.php(514): do_action('wp_login', '----') #4 /home/----/public_html/wp-includes/class-wp-hook.php(286): user_verification_auto_login('') #5 /home/----/public_html/wp-includes/class-wp-hook.php(310) in **/home/----/public_html/wp-content/plugins/wp-discourse/lib/wordpress-email-verification.php** on line **128**