Title: Missing argument for WP_Widget
Last modified: August 31, 2016

---

# Missing argument for WP_Widget

 *  [nhtechgal](https://wordpress.org/support/users/nhtechgal/)
 * (@nhtechgal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget-1/)
 * I logged onto my site today and noticed that I am getting the following messages:
 * Warning: Missing argument 1 for WP_Widget::__construct(), called in /home2/gjhpus/
   public_html/wp-includes/class-wp-widget-factory.php on line 43 and defined in/
   home2/gjhpus/public_html/wp-includes/class-wp-widget.php on line 154
 * Warning: Missing argument 2 for WP_Widget::__construct(), called in /home2/gjhpus/
   public_html/wp-includes/class-wp-widget-factory.php on line 43 and defined in/
   home2/gjhpus/public_html/wp-includes/class-wp-widget.php on line 154
 * I can see the code in question, and it looks to me like it’s part of WP, not 
   a plugin.
 * When I looked to see whether I had an outdated Plugin, I was very surprised to
   find that all my Plugins were up to date. I was even more surprised to see that
   the site was operating 4.4.1.
 * I got an email last week saying that my site had automatically been updated to
   4.3.2. I didn’t get a message about upgrading to 4.4.1 so it’s possible this 
   was done by one of the other administrators (I’m looking into that right now).
 * In the meantime, this is one of the two busiest years for our site. While it 
   seems to be functioning, it’s disconcerting to see two lines of error messages
   everywhere we look. Any advice would be much appreciated.
 * The site in question is [http://www.gjhp.org](http://www.gjhp.org).
 * Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget-1/#post-6940409)
 * See under “WP_Widget error” at [https://wordpress.org/support/topic/read-this-first-wordpress-43-master-list?replies=4#post-7314897](https://wordpress.org/support/topic/read-this-first-wordpress-43-master-list?replies=4#post-7314897)
   for an explanation and solution.
 *  Thread Starter [nhtechgal](https://wordpress.org/support/users/nhtechgal/)
 * (@nhtechgal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget-1/#post-6940413)
 * Thanks, James. I’ll have a look. In the meantime I had the site reverted to Wp
   4.3.2. and the above issue seems to be resolved for now. I can’t really afford
   any updates until the end of the month so if I should close this thread until
   I can replicate the error, please let me know.
 * Thanks!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget-1/#post-6940415)
 * No worries, threads stay open for 1 year here. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Missing argument for WP_Widget’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget-1/#post-6940415)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
