E_ERROR in advanced-access-manager/application/Service/LoginRedirect.php
-
Hello, in my site im using Social Login WordPress Plugin – AccessPress Social Login Lite plugin for social login. When i activate AAM plugin and i try to login using social login im getting a server error and email from WordPress:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site and alerts you via this automatic email.
In this case, WordPress has detected an error with one of your plugins, Advanced Access Manager
An error of type E_ERROR at line 160 from file /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/advanced-access-manager/application/Service/LoginRedirect.php. Error message: Uncaught ArgumentCountError: Too few arguments to function AAM_Service_LoginRedirect::getLoginRedirect(), 1 passed in /var/www/vhosts/xxx.com/httpdocs/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/advanced-access-manager/application/Service/LoginRedirect.php:160
Stack trace:
#0 /var/www/vhosts/xxx.com/httpdocs/wp-includes/class-wp-hook.php(287): AAM_Service_LoginRedirect->getLoginRedirect()
#1 /var/www/vhosts/xxx.com/httpdocs/wp-includes/plugin.php(206): WP_Hook->apply_filters()
#2 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_check.php(692): apply_filters()
#3 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_check.php(89): APSL_Lite_Login_Check_Class->loginUser()
#4 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/accesspress-social-loginIf i disable AAM plugin everything works fine.
I currently had to disable AAM plugin so users can login via social account.
Could you help me with this issue please? Do you need access to my admin dashboard to check the issue?
Thanks
The page I need help with: [log in to see the link]
- The topic ‘E_ERROR in advanced-access-manager/application/Service/LoginRedirect.php’ is closed to new replies.