Title: Missing Argument for WP_Widget
Last modified: August 24, 2016

---

# Missing Argument for WP_Widget

 *  [eprocessllc](https://wordpress.org/support/users/eprocessllc/)
 * (@eprocessllc)
 * [11 years ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget/)
 * Hello everybody,
    Our site is missing codes for WP_Widget. What is the best course
   for correcting these problems?
 * Warning: Missing argument 1 for WP_Widget::__construct(), called in /home/eprocessllc/
   public_html/wp-includes/widgets.php on line 560 and defined in /home/eprocessllc/
   public_html/wp-includes/widgets.php on line 159
 * Warning: Missing argument 2 for WP_Widget::__construct(), called in /home/eprocessllc/
   public_html/wp-includes/widgets.php on line 560 and defined in /home/eprocessllc/
   public_html/wp-includes/widgets.php on line 159
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/eprocessllc/public_html/wp-includes/widgets.php:159) in /home/eprocessllc/
   public_html/wp-includes/option.php on line 748
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/eprocessllc/public_html/wp-includes/widgets.php:159) in /home/eprocessllc/
   public_html/wp-includes/option.php on line 749

Viewing 1 replies (of 1 total)

 *  Thread Starter [eprocessllc](https://wordpress.org/support/users/eprocessllc/)
 * (@eprocessllc)
 * [11 years ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget/#post-6056217)
 * Here are the lines creating these errors:
 * Line 560 – Blank
    Line 159 – * [@param](https://wordpress.org/support/users/param/)
   array $instance Current settings. Line 748 – * assigned number for each sidebar.
   Line 749 – * Default 'Sidebar' for the first sidebar, otherwise 'Sidebar %d'.

Viewing 1 replies (of 1 total)

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

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wp_widget](https://wordpress.org/support/topic-tag/wp_widget/)

 * 1 reply
 * 1 participant
 * Last reply from: [eprocessllc](https://wordpress.org/support/users/eprocessllc/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/missing-argument-for-wp_widget/#post-6056217)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
