PHP Warning on debug
-
Hi,
i have this notice:
[17-Sep-2018 09:51:35 UTC] PHP Warning: Missing argument 2 for persistent_login_set_user_cookie() in /var/www/mysite.com/htdocs/wp-content/plugins/wp-persistent-login/wp_persistent_login.php on line 570
[17-Sep-2018 09:51:35 UTC] PHP Warning: array_intersect(): Argument #1 is not an array in /var/www/mysite.com/htdocs/wp-content/plugins/wp-persistent-login/wp_persistent_login.php on line 580How can i fix?
Resolved: my custom do_action(‘login’, $user_login) did not pass WP_USER object, now it’s ok! I replace my code with this: do_action(‘login’, $user_login, $user_signon);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Warning on debug’ is closed to new replies.