Critical error on login
-
Hi,
I am trying to use this plugin with Theme My Login and am having a problem. When using Facebook for login (haven’t tried register, but I think it will be the same), when being redirected back from FB to my page, I get a Critical error message. Tried contacting the mentioned plugin developers, but their answer is that AccessPress Social Login Lite is not passing enough parameters to login_redirect filter.
These are the errors I can see in debug log:
[12-Jul-2020 07:42:05 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function tml_redirection_login_redirect(), 1 passed in /home/user/domains/example.com/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/user/domains/example.com/public_html/wp-content/plugins/tml-redirection/functions.php:70 Stack trace: #0 /home/user/domains/example.com/public_html/wp-includes/class-wp-hook.php(287): tml_redirection_login_redirect('https://citify....') #1 /home/user/domains/example.com/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('https://example....', Array) #2 /home/user/domains/example.com/public_html/wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_check.php(692): apply_filters('login_redirect', 'https://example....') #3 /home/user/domains/example.com/public_html/wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_check.php(89): APSL_Lite_Login_Check_Class->loginUser('15') #4 /home/user/domains/example.com/public_html/wp-content/plugins/a in /home/user/domains/example.com/public_html/wp-content/plugins/tml-redirection/functions.php on line 70
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Critical error on login’ is closed to new replies.