• your plugin produce’s the following PHP warning. It appears that you need to update your widget code to 4.3 standards.

    Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/ubuntu/workspace/wp-includes/functions.php on line 3457
    
    Call Stack:
        0.0001     256080   1. {main}() /home/ubuntu/workspace/wp-admin/plugins.php:0
        0.0001     257392   2. require_once('/home/ubuntu/workspace/wp-admin/admin.php') /home/ubuntu/workspace/wp-admin/plugins.php:10
        0.0001     258152   3. require_once('/home/ubuntu/workspace/wp-load.php') /home/ubuntu/workspace/wp-admin/admin.php:31
        0.0002     259064   4. require_once('/home/ubuntu/workspace/wp-config.php') /home/ubuntu/workspace/wp-load.php:37
        0.0003     265888   5. require_once('/home/ubuntu/workspace/wp-settings.php') /home/ubuntu/workspace/wp-config.php:84
        0.0768    6160040   6. do_action() /home/ubuntu/workspace/wp-settings.php:353
        0.0809    6187280   7. call_user_func_array:{/home/ubuntu/workspace/wp-includes/plugin.php:503}() /home/ubuntu/workspace/wp-includes/plugin.php:503
        0.0809    6187456   8. wp_widgets_init() /home/ubuntu/workspace/wp-includes/plugin.php:503
        0.0815    6228328   9. do_action() /home/ubuntu/workspace/wp-includes/default-widgets.php:1649
        0.0833    6374792  10. call_user_func_array:{/home/ubuntu/workspace/wp-includes/plugin.php:503}() /home/ubuntu/workspace/wp-includes/plugin.php:503
        0.0833    6374856  11. the_countdown_load_widgets() /home/ubuntu/workspace/wp-includes/plugin.php:503
        0.0855    6388184  12. register_widget() /home/ubuntu/workspace/wp-content/plugins/the-countdown/index.php:73
        0.0855    6388232  13. WP_Widget_Factory->register() /home/ubuntu/workspace/wp-includes/widgets.php:720
        0.0856    6388688  14. The_Countdown_Widget->__construct() /home/ubuntu/workspace/wp-includes/widgets.php:591
        0.0856    6390528  15. WP_Widget->WP_Widget() /home/ubuntu/workspace/wp-content/plugins/the-countdown/widget.php:42
        0.0856    6390712  16. _deprecated_constructor() /home/ubuntu/workspace/wp-includes/widgets.php:176
        0.0856    6391200  17. trigger_error() /home/ubuntu/workspace/wp-includes/functions.php:3457

    https://www.ads-software.com/plugins/the-countdown/

  • The topic ‘Named constructor method is deprecated for WordPress 4.3’ is closed to new replies.