Title: PHP 7 Constructor Functions Upgrade needed
Last modified: May 22, 2017

---

# PHP 7 Constructor Functions Upgrade needed

 *  [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [9 years ago](https://wordpress.org/support/topic/php-7-functions-upgrade-needed/)
 * This plugin has not been updated in over two years it seems. Too bad the WordPress
   plugin does not seem to be receiving any more updates… Activating it on PHP 7.1
   gets me in all sorts of deprecated error nonsense. These errors can be resolved
   in no time.
 * `( ! ) Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; MCAPI has a deprecated constructor in /srv/www/domain.
   com/current/web/app/plugins/mailchimp-comment-optin/lib/classes/MCAPI.class.php
   on line 3`
 * A simple replacement of the function MCAPI with `__construct` will remedy this
   issue. A new update verifying the plugin is still OK and runs on the latest WordPress
   version would be great too.
    -  This topic was modified 9 years ago by [Rhand](https://wordpress.org/support/users/rhand/).
    -  This topic was modified 9 years ago by [Rhand](https://wordpress.org/support/users/rhand/).

The topic ‘PHP 7 Constructor Functions Upgrade needed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailchimp-comment-optin.svg)
 * [MailChimp Comment Optin](https://wordpress.org/plugins/mailchimp-comment-optin/)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-comment-optin/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-comment-optin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-comment-optin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-comment-optin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Rhand](https://wordpress.org/support/users/rhand/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-7-functions-upgrade-needed/)
 * Status: not resolved