Title: Plugin Issue
Last modified: June 28, 2019

---

# Plugin Issue

 *  Resolved [jashan8054](https://wordpress.org/support/users/jashan8054/)
 * (@jashan8054)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/plugin-issue-43/)
 * We are getting Warning message with the plugin,listed below
 *     ```
       Warning: Missing argument 2 for Jetpack_Sync_Module_Users::wp_login_handler(), called in /home3/path/class-wp-hook.php on line 286 and defined in /home3/path/class.jetpack-sync-module-users.php on line 175
   
       Warning: Cannot modify header information - headers already sent by (output started at /home3/path/class.jetpack-sync-module-users.php:175) in /home3/path/pluggable.php on line 1251
   
       Warning: Cannot modify header information - headers already sent by (output started at /home3/path/class.jetpack-sync-module-users.php:175) in /home3/path/pluggable.php on line 1254
       ```
   
 * Which we fiexd using the following code:
 *     ```
       if($user = null){
       			$user = wp_get_current_user();
       		}
       ```
   
 * We request you to make the necessary changes at your end to fix this error or
   let us know if there is any other method which we can opt as I am not comfortable
   in making the changes in the plugin to fix this.
    Looking for a positive and 
   prompt response from your side.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/plugin-issue-43/#post-11683092)
 * Thanks for finding that! I’ll admit it’s the first I’m hearing of it though.
 * Which version of PHP are you running, and what is the URL of your site?

Viewing 1 replies (of 1 total)

The topic ‘Plugin Issue’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [missing argument](https://wordpress.org/support/topic-tag/missing-argument/)

 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/plugin-issue-43/#post-11683092)
 * Status: resolved