Title: Issue with php7: deprecated Methods with the same name as their class
Last modified: August 31, 2016

---

# Issue with php7: deprecated Methods with the same name as their class

 *  [JoergK](https://wordpress.org/support/users/joergk/)
 * (@joergk)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/issue-with-php7-deprecated/)
 * When running Issuem 2.0.6 on a wordpress 4.5.1 server with php 7 this Warning
   is reported:
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; IssueM has a deprecated constructor in …/wordpress/
   wp-content/plugins/issuem/issuem-class.php on line 16
 * The reason is the function “IssueM” in the class with the same name in issuem-
   class.php. The class or function should be renamed.

Viewing 1 replies (of 1 total)

 *  [stevesong](https://wordpress.org/support/users/stevesong/)
 * (@stevesong)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-php7-deprecated/#post-8929499)
 * This site helped me get rid of the problem.
 * [https://cweiske.de/tagebuch/php4-constructors-php7.htm](https://cweiske.de/tagebuch/php4-constructors-php7.htm)
 * But keep in mind that any fix will be overwritten if you upgrade to a newer version
   of issuem. Hopefully they will fix this themselves.

Viewing 1 replies (of 1 total)

The topic ‘Issue with php7: deprecated Methods with the same name as their class’
is closed to new replies.

 * ![](https://ps.w.org/issuem/assets/icon.svg?rev=1314381)
 * [IssueM](https://wordpress.org/plugins/issuem/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/issuem/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/issuem/)
 * [Active Topics](https://wordpress.org/support/plugin/issuem/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/issuem/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/issuem/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [stevesong](https://wordpress.org/support/users/stevesong/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-php7-deprecated/#post-8929499)
 * Status: not resolved