Title: WP_DEBUG notice
Last modified: March 16, 2017

---

# WP_DEBUG notice

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wp_debug-notice-2/)
 * A notice is shown when PHP7 is used and WP_DEBUG is enabled
 * > Deprecated: Methods with the same name as their class will not be constructors
   > in a future version of PHP; MattedThumbnails has a deprecated constructor in/
   > home/sites/sitename.com/public_html/wp-content/plugins/simple-matted-thumbnails/
   > simple-matted-thumbnail.php on line 28

Viewing 1 replies (of 1 total)

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wp_debug-notice-2/#post-8938636)
 * The fix for this seems to be very simple, as outlined at [http://stackoverflow.com/questions/37100373/php-deprecated-methods-with-the-same-name](http://stackoverflow.com/questions/37100373/php-deprecated-methods-with-the-same-name)
 * On version 1.01 of the plugin, change **line 31** of **simple-matted-thumbnail.
   php**_from_:
    `function MattedThumbnails()` _to_: `function __construct()`

Viewing 1 replies (of 1 total)

The topic ‘WP_DEBUG notice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-matted-thumbnails.svg)
 * [Simple Matted Thumbnails](https://wordpress.org/plugins/simple-matted-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-matted-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-matted-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-matted-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-matted-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-matted-thumbnails/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/wp_debug-notice-2/#post-8938636)
 * Status: not resolved