• Resolved buddywhatshisname

    (@vhmarkgmailcom)


    Since 4.3 this plugin is outputting logs of these into the logs:

    [21-Sep-2015 22:33:23 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in </wp-includes/functions.php on line 3457
    [21-Sep-2015 22:33:23 UTC] PHP Stack trace:
    [21-Sep-2015 22:33:23 UTC] PHP   1. {main}() </wp-cron.php:0
    [21-Sep-2015 22:33:23 UTC] PHP   2. require_once() </wp-cron.php:26
    [21-Sep-2015 22:33:23 UTC] PHP   3. require_once() </wp-load.php:37
    [21-Sep-2015 22:33:23 UTC] PHP   4. require_once() </wp-config.php:208
    [21-Sep-2015 22:33:23 UTC] PHP   5. do_action() </wp-settings.php:353
    [21-Sep-2015 22:33:23 UTC] PHP   6. call_user_func_array() </wp-includes/plugin.php:503
    [21-Sep-2015 22:33:23 UTC] PHP   7. wp_widgets_init() </wp-includes/plugin.php:503
    [21-Sep-2015 22:33:23 UTC] PHP   8. do_action() </wp-includes/default-widgets.php:1649
    [21-Sep-2015 22:33:23 UTC] PHP   9. call_user_func_array() </wp-includes/plugin.php:503
    [21-Sep-2015 22:33:23 UTC] PHP  10. __lambda_func() </wp-includes/plugin.php:503
    [21-Sep-2015 22:33:23 UTC] PHP  11. register_widget() </wp-content/plugins/buddypress-followers/_inc/bp-follow-widgets.php(113) : runtime-created function:1
    [21-Sep-2015 22:33:23 UTC] PHP  12. WP_Widget_Factory->register() </wp-includes/widgets.php:720
    [21-Sep-2015 22:33:23 UTC] PHP  13. BP_Follow_Following_Widget->__construct() </wp-includes/widgets.php:591
    [21-Sep-2015 22:33:23 UTC] PHP  14. WP_Widget->WP_Widget() </wp-content/plugins/buddypress-followers/_inc/bp-follow-widgets.php:33
    [21-Sep-2015 22:33:23 UTC] PHP  15. _deprecated_constructor() </wp-includes/widgets.php:176
    [21-Sep-2015 22:33:23 UTC] PHP  16. trigger_error() </wp-includes/functions.php:3457

    https://ww.wp.xz.cn/plugins/buddypress-followers/

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

The topic ‘WP 4.3 PHP Notice: called constructor method for WP_Widget is deprecated’ is closed to new replies.