• Resolved Vincenzo Casu

    (@vincent06)


    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 580

    How 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);

    • This topic was modified 6 years, 6 months ago by Vincenzo Casu.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning on debug’ is closed to new replies.