Title: PHP 7 Error Message
Last modified: July 1, 2017

---

# PHP 7 Error Message

 *  [cinematic](https://wordpress.org/support/users/cinematic/)
 * (@cinematic)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-error-message/)
 * First thank you for this cool plugin. However, if php 7 is enabled debug mode
   is showing the following error message
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; Sexy_Login_Widget has a deprecated constructor in/
   www/htdocs/w9b88a/demo/wp-content/plugins/sexy-login/inc/class-sexy-login-widget.
   php on line 2
 * Any tips how to solve this are appreciated.

The topic ‘PHP 7 Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sexy-login.svg)
 * [Sexy Login](https://wordpress.org/plugins/sexy-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sexy-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sexy-login/)
 * [Active Topics](https://wordpress.org/support/plugin/sexy-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sexy-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sexy-login/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cinematic](https://wordpress.org/support/users/cinematic/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-error-message/)
 * Status: not resolved