Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

FATA ERROR

2 Posts
2 Users
0 Reactions
1,188 Views
(@david-kraljic)
Member Customer
Joined: 6 years ago
Posts: 3
Topic starter  

Hi,

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


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

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:

https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14812


   
ReplyQuote
Share:
Scroll to top