Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

FATA ERROR

2 Posts
2 Users
0 Reactions
1,641 Views
(@david-kraljic)
Member Customer
Joined: 6 years ago
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#5631]

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: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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