Title: Notice: The called constructor method
Last modified: February 10, 2017

---

# Notice: The called constructor method

 *  Resolved [johnymas](https://wordpress.org/support/users/johnymas/)
 * (@johnymas)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/notice-the-called-constructor-method/)
 * A lot of warnings when debug is set to true.
 * Notice: The called constructor method for WP_Widget in Hybrid_Widget_Categories
   is deprecated since version 4.3.0! Use __construct() instead. in /var/www/……../
   web/wp-includes/functions.php on line 3891

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

 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/notice-the-called-constructor-method/#post-8790422)
 * class Hybrid_Widget_Archives extends WP_Widget {
    … function __construct() { …
   $this->WP_Widget( // parent::__construct ‘hybrid-archives’, __( ‘Archives’, ‘
   widgets-reloaded’ ), $widget_options, $control_options ); … } }
 * Try:Go to hybrid-core/classes/widget-categories.php and change it to
    parent::
   __construct.
 * see: [https://github.com/justintadlock/widgets-reloaded/issues/2](https://github.com/justintadlock/widgets-reloaded/issues/2)
 *  Thread Starter [johnymas](https://wordpress.org/support/users/johnymas/)
 * (@johnymas)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/notice-the-called-constructor-method/#post-8791054)
 * Hi,
    thanks for your quick answer. I’m so sorry I thought it was about wordpress.
   You opened my eyes. Thanks
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/notice-the-called-constructor-method/#post-8792930)
 * You are most welcome. If your problem is solved can you please mark the status
   of the topic as resolved.

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

The topic ‘Notice: The called constructor method’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [DualCube](https://wordpress.org/support/users/dualcube/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/notice-the-called-constructor-method/#post-8792930)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
