Support » Plugin: Fancy Admin UI » Debug warnings with PHP7

  • Resolved PthPndr

    (@pthpndr)


    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

    (@jinsley8)

    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

    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

    (@boborchard)

    Product Manager at Flywheel

    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.