Title: Error in PHP 7 environment
Last modified: August 31, 2016

---

# Error in PHP 7 environment

 *  [Ned Zimmerman](https://wordpress.org/support/users/greatislander/)
 * (@greatislander)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-php-7-environment/)
 * Just trying out your plugin in a PHP 7 development environment with debug mode
   on—got this message:
 * > Methods with the same name as their class will not be constructors in a future
   > version of PHP; Give_Donators_Gravatars_Widget has a deprecated constructor
   > in /srv/www/mydomain.com/current/web/app/plugins/give/includes/payments/class-
   > donators-gravatars.php on line 379
 * Do you anticipate this being addressed in a forthcoming version? Thanks in advance.
 * [https://wordpress.org/plugins/give/](https://wordpress.org/plugins/give/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-php-7-environment/#post-7009273)
 * Thanks for the heads up, we’ll look into it. The thing that strikes me as odd
   though is that that function is not executed in the plugin at all currently. 
   It’s for front-end donor listing which we haven’t fully implemented yet, that
   code is just laying down the framework for how we would implement that feature.
   But we’ll make sure that that warning is not present when that feature is rolled
   out for sure.
 * I’ve created this issue regarding this for now:
    [https://github.com/WordImpress/Give/issues/470](https://github.com/WordImpress/Give/issues/470)
 * Thanks!

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-php-7-environment/#post-7009273)
 * Status: not resolved