WordPress.com Stats
Deprecated: Function call_user_method_array() is deprecated (2 posts)

  1. ishanbansal
    Posted 5 years ago #

    Hello - When I go to "Add New Post" section of Admin dashboard, I have started getting following error on my website NetbookFreeware.com

    "Deprecated: Function call_user_method_array() is deprecated"

    I noticed that WordPress.com stats is using above mentioned function, and it is probably deprecated in latest version of WordPress. I have disabled this plugin, and the error has gone now.

    Could you help with this, please.


  2. Galeforce99
    Posted 5 years ago #

    I am getting the same problem on crivici.com with the following error message every time I save a page or post:

    "Deprecated: Function call_user_method_array() is deprecated in /home/crivici/public_html/wp-content/plugins/stats/stats.php on line 561

    Warning: Cannot modify header information - headers already sent by (output started at /home/crivici/public_html/wp-content/plugins/stats/stats.php:561) in /home/crivici/public_html/wp-includes/pluggable.php on line 890"

    When I disable the plugin, the problem goes away.

    From my research, the error seems to be because the function call_user_method_array() is no longer supported under ver 4.1.0 of PHP and has been replaced by call_user_func_array() but I don't know enough to fix it myself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic