Title: Errors since WordPress 4.3 &#8211; WP_Widget
Last modified: August 30, 2016

---

# Errors since WordPress 4.3 – WP_Widget

 *  [suffie](https://wordpress.org/support/users/suffie/)
 * (@suffie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/errors-since-wordpress-43-wp_widget/)
 * After upgrading to WP 4.3 the message “The called constructor method for WP_Widget
   is deprecated since version 4.3.0!…..” appears.
 * If I disable the NextCellent plugin the messages disappear – I found out that
   this has to do with PHP (4->5).
 * Since I like the plugin and I would like to keep using it I post my findings.
   Can anyone help?
 * [https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)

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

 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/errors-since-wordpress-43-wp_widget/#post-6451916)
 * Hi suffie,
 * Thanks for reporting this. We are aware of this issue, and it should be fixed
   in the next version or so (the changes are currently under review).
 * In the mean time, if the warning bothers you, you can apply the fix to the widgets.
   In these files:
    1. NEXTCELLENT_FOLDER/widgets/class-ngg-gallery-widget.php
        Change `parent::WP_Widget('
       ngg-images', __( 'NextCellent Gallery Widget', 'nggallery' ), array(` to `parent::
       __construct( 'ngg-images', __( 'NextCellent Gallery Widget', 'nggallery' ), 
       array(`
    2. NEXTCELLENT_FOLDER/widgets/class-ngg-media-rss-widget.php
        Change `parent::WP_Widget('
       ngg-mrssw', __( 'NextCellent Media RSS', 'nggallery' ), array(` to `parent::
       __construct( 'ngg-mrssw', __( 'NextCellent Media RSS', 'nggallery' ), array(`
    3. NEXTCELLENT_FOLDER/widgets/class-ngg-slideshow-widget.php
        Change `parent::WP_Widget('
       slideshow', __( 'NextCellent Slideshow', 'nggallery' ), array(` to `parent::
       __construct( 'slideshow', __( 'NextCellent Slideshow', 'nggallery' ), array(`
 *  Thread Starter [suffie](https://wordpress.org/support/users/suffie/)
 * (@suffie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/errors-since-wordpress-43-wp_widget/#post-6452027)
 * Hi niknetniko,
    Thanks for a quick response!
 * I have edited the files on my test-site and this has fixed the issue! (The error
   messages have disappeared).
 * However it seems a new problem was introduced: pagination is not working anymore,
   and it seems (I am not sure) that the thumbnail sizes have change a little bit.
 * _Be aware: This can be caused by other reasons because I have been messing around
   with another gallery._
 * I hope this helps – in the mean time I keep using the original php files on the
   production environment until the next version (or so) will be available.
 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/errors-since-wordpress-43-wp_widget/#post-6452029)
 * Hi suffie,
 * Happy to know it fixes it. Your other issues will likely be caused by something
   else, as the changes from my previous post are pure PHP-syntax related. They 
   have no effect on style, functionality or any other aspect of the site.
 * If the other issues were caused by the 4.3 upgrade, that’s another thing. Should
   that be the case, please make a separate post about the issue.

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

The topic ‘Errors since WordPress 4.3 – WP_Widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextcellent-gallery-nextgen-legacy_9c9087.
   svg)
 * [NextCellent Gallery - NextGEN Legacy](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/)
 * [Active Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/errors-since-wordpress-43-wp_widget/#post-6452029)
 * Status: not resolved