Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:


wpDiscuz Support Forum wpForo Support Forum


David Kraljic
Member Customer
Joined: 1 year ago
Posts: 3
Topic starter  


Was looking through logs and found this. Can you please take a look and let me know what the issue is and how to fix it. Thanks!!

[21-Mar-2020 10:03:53 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdFormAttr\Login\SocialLogin::userAvatar(), 5 passed in /nas/content/live/inmygarage/wp-includes/class-wp-hook.php on line 288 and exactly 6 expected in /nas/content/live/inmygarage/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Login/SocialLogin.php:506
Stack trace:

#0 /nas/content/live/inmygarage/wp-includes/class-wp-hook.php(288): wpdFormAttr\Login\SocialLogin->userAvatar('<img alt='' src...', 'user@goodlab....', 32, ' https://secure ....', false)

#1 /nas/content/live/inmygarage/wp-includes/plugin.php(206): WP_Hook->apply_filters('<img alt='' src...', Array)

#2 /nas/content/live/inmygarage/wp-content/plugins/simple-history/inc/SimpleHistory.php(2938): apply_filters('get_avatar', '<img alt='' src...', 'user@goodlab....', 32, ' https://secure ....', false)

#3 /nas/content/live/inmygarage/wp-content/plugins/simple-history/loggers/SimpleLogger.php(700): SimpleHistory->get_avatar('dragan@goodlab....', 32)

#4 /nas/content/live/inmygarage/wp-content/plugi in /nas/content/live/inmygarage/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Login/SocialLogin.php on line 506

Support Team Admin
Joined: 3 years ago
Posts: 4656

Hi @david-kraljic,

The issue doesn't have any relation to the wpDiscuz plugin. 

It seems you're using the Simple History plugin or some other plugins that use WordPress core get_avatar() function. This function has 6 parameters. The plugin also uses this hook and don't pass some of the arguments. 

The same issue is described in this topic:

Scroll to top