最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpss_social_addtoany_js&

programmeradmin0浏览0评论

I have made an update of the plugins and themes and now it throws me this warning.

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpss_social_addtoany_js' not found or invalid function name in /home/html/wp-includes/class-wp-hook.php on line 286

I have made an update of the plugins and themes and now it throws me this warning.

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpss_social_addtoany_js' not found or invalid function name in /home/html/wp-includes/class-wp-hook.php on line 286

Share Improve this question edited Nov 4, 2019 at 23:53 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Nov 4, 2019 at 23:27 Mario Damin Gonzlez Posada FruMario Damin Gonzlez Posada Fru 1
Add a comment  | 

1 Answer 1

Reset to default 0

Ok, so you’ve updated the plugins and themes and the error shows up.

This error means that you try to use function that no longer is defined.

Most probably it was defined in a plugin and the newer version changed its API. And your theme (or some other plugin) is still using the old API.

So how to fix that?

  • Download your code.
  • Search for occurrence of that function call and locate all of them.
  • If they’re located in your own code, modify it to use current API.
  • If they’re in third party code - notify their authors and wait for fixes or stop using them.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论