Title: Debug warnings with PHP7
Last modified: September 4, 2017

---

# Debug warnings with PHP7

 *  Resolved [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-warnings-with-php7/)
 * Hello, I am running PHP7 and am getting the following warnings repeated in my
   debug log:
 * PHP Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP.
 * fau_settings.php on line 11
    fau_settings.php on line 33

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jinsley8](https://wordpress.org/support/users/jinsley8/)
 * (@jinsley8)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/debug-warnings-with-php7/#post-9592055)
 * Same issue:
 * [16-Oct-2017 17:04:36 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; fau_color_settings
   has a deprecated constructor in /home/domain.com/public_html/wp-content/plugins/
   fancy-admin-ui/inc/fau_settings.php on line 11
 * [16-Oct-2017 17:04:36 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; fau_secondary_color_settings
   has a deprecated constructor in /home/domain.com/public_html/wp-content/plugins/
   fancy-admin-ui/inc/fau_settings.php on line 33
 *  [jordan314](https://wordpress.org/support/users/jordan314/)
 * (@jordan314)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/debug-warnings-with-php7/#post-9620565)
 * For now, in inc/fau_settings.php if you change both `function fau_color_settings()`
   and `function fau_secondary_color_settings()` to `function __construct()` it 
   works
 *  Plugin Author [Bob Orchard](https://wordpress.org/support/users/boborchard/)
 * (@boborchard)
 * Product Manager at Flywheel
 * [8 years, 5 months ago](https://wordpress.org/support/topic/debug-warnings-with-php7/#post-9815588)
 * Hey everyone, check out version 2.1 which uses `function __construct()` to resolve
   the issue as recommended by jordan314. Thanks for downloading!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Debug warnings with PHP7’ is closed to new replies.

 * ![](https://ps.w.org/fancy-admin-ui/assets/icon.svg?rev=1579506)
 * [Fancy Admin UI](https://wordpress.org/plugins/fancy-admin-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fancy-admin-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fancy-admin-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/fancy-admin-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fancy-admin-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fancy-admin-ui/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Bob Orchard](https://wordpress.org/support/users/boborchard/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/debug-warnings-with-php7/#post-9815588)
 * Status: resolved