Hi,
We have got this error affecting the entire access to the server. Is there anyway to prevent it?
Thank you.
Error:
[07-Jun-2020 23:03:06 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/fpsjp.net/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php:744 Stack trace: #0 /var/www/vhosts/fpsjp.net/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php(717): WpdiscuzHelper->isValidAvatar('nrl3x86@xswxsyw...') #1 /var/www/vhosts/fpsjp.net/wp-includes/class-wp-hook.php(288): WpdiscuzHelper->preGetDefaultAvatarForGuest(NULL, 'nrl3x86@xswxsyw...', Array) #2 /var/www/vhosts/fpsjp.net/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array) #3 /var/www/vhosts/fpsjp.net/wp-includes/pluggable.php(2621): apply_filters('pre_get_avatar', NULL, 'nrl3x86@xswxsyw...', Array) #4 /var/www/vhosts/fpsjp.net/wp-content/plugins/wpdiscuz/themes/default/class.WpdiscuzWalker.php(154): get_avatar('nrl3x86@xswxsyw...', 64, '', '\xE3\x82\x93', Array) #5 /var/www/vhosts/fpsjp.net/wp-includes/class-wp-walker.php(144): WpdiscuzWalker->start_el('
Optional data:
{"form":{"commentFormView":"collapsed","enableDropAnimation":1,"richEditor":"desktop","boldButton":0,"italicButton":0,"underlineButton":0,"strikeButton":0,"olButton":0,"ulButton":0,"blockquoteButton":0,"codeblockButton":0,"linkButton":0,"sourcecodeButton":0,"spoilerButton":0,"commenterNameMinLength":1,"commenterNameMaxLength":20,"storeCommenterData":-1},"recaptcha":{"siteKey":"","secretKey":"","theme":"light","lang":"","requestMethod":"auto","showForGuests":0,"showForUsers":0,"isShowOnSubscribeForm":0},"login":{"showLoggedInUsername":1,"showLoginLinkForGuests":1,"showActivityTab":1,"showSubscriptionsTab":1,"showFollowsTab":1,"enableProfileURLs":1,"websiteAsProfileUrl":1,"isUserByEmail":1},"social":{"socialLoginAgreementCheckbox":0,"socialLoginInSecondaryForm":1,"displayIconOnAvatar":0,"enableFbLogin":1,"enableFbShare":1,"fbAppID":"567797503879009","fbAppSecret":"892bc56d328c7bc1c45c2af16f650c64","fbUseOAuth2":1,"enableTwitterLogin":1,"enableTwitterShare":1,"twitterAppID":"RFCLXJNjBqJc6pk31iAXmGmZk","twitterAppSecret":"vmQ40bl43ud2vsnNyJc2fsg75Qrzipep6Hixhf3kIb6TgC1Ocu","enableGoogleLogin":1,"googleClientID":"745945874283-gc9koj9nolpi2kr96v30rkfs8qqv7tnl.apps.googleusercontent.com","googleClientSecret":"xUz_i4O0SHWCzyduJ-tpczY0","enableDisqusLogin":1,"disqusPublicKey":"ZfE3VODkmGdfIZJaOQkLz6dhBVh8UHZa6liuaBAlMqfLCNDRlamEKJfUFa8CdvdA","disqusSecretKey":"Jbf746V21BgDIur42am2jluqelkuUQIXGXHJfqohYw1m6fzGvNUqB1LI5JsvNbOX","enableWordpressLogin":0,"wordpressClientID":"","wordpressClientSecret":"","enableInstagramLogin":1,"instagramAppID":"","instagramAppSecret":"","enableLinkedinLogin":0,"linkedinClientID":"","linkedinClientSecret":"","enableWhatsappShare":0,"enableYandexLogin":0,"yandexID":"","yandexPassword":"","enableMailruLogin":0,"mailruClientID":"","mailruClientSecret":"","enableWeiboLogin":0,"weiboKey":"","weiboSecret":"","enableWechatLogin":0,"wechatAppID":"","wechatSecret":"","enableQQLogin":0,"qqAppID":"","qqSecret":"","enableBaiduLogin":0,"baiduAppID":"","baiduSecret":"","enableVkLogin":0,"enableVkShare":0,"vkAppID":"","vkAppSecret":"","enableOkLogin":0,"enableOkShare":0,"okAppID":"","okAppKey":"","okAppSecret":""},"rating":{"enablePostRatingSchema":0,"displayRatingOnPost":[],"ratingCssOnNoneSingular":0,"ratingHoverColor":"#FFED85","ratingInactiveColor":"#DDDDDD","ratingActiveColor":"#FFD700"},"thread_display":{"firstLoadWithAjax":0,"commentListLoadType":2,"isLoadOnlyParentComments":0,"showReactedFilterButton":1,"showHottestFilterButton":1,"showSortingButtons":1,"mostVotedByDefault":1,"reverseChildren":0,"highlightUnreadComments":1},"thread_layouts":{"showCommentLink":1,"showCommentDate":1,"showVotingButtons":1,"votingButtonsIcon":"fa-thumbs-up|fa-thumbs-down","votingButtonsStyle":0,"enableDislikeButton":1,"isGuestCanVote":1,"highlightVotingButtons":1,"showAvatars":1,"defaultAvatarUrlForUser":"https:\/\/fpsjp.net\/wp-content\/uploads\/2020\/06\/EAA_icon_avatar.jpg","defaultAvatarUrlForGuest":"https:\/\/fpsjp.net\/wp-content\/uploads\/2020\/06\/EAA_icon_avatar.jpg","changeAvatarsEverywhere":1},"thread_styles":{"theme":"wpd-default","primaryColor":"rgba(225, 225, 225, 0.92)","newLoadedCommentBGColor":"#FFFAD6","primaryButtonColor":"#FFFFFF","primaryButtonBG":"#555555","bubbleColors":"#FF5455","inlineFeedbackColors":"#FF5455","commentTextSize":"14px","enableFontAwesome":1,"customCss":".comments-area{width:auto;}"},"subscription":{"enableUserMentioning":1,"sendMailToMentionedUsers":1,"isNotifyOnCommentApprove":1,"enableMemberConfirm":1,"enableGuestsConfirm":1,"subscriptionType":1,"showReplyCheckbox":1,"isReplyDefaultChecked":0,"usePostmaticForCommentNotification":0,"isFollowActive":1,"disableFollowConfirmForUsers":1},"labels":{"blogRoleLabels":{"administrator":"1","editor":"1","author":0,"contributor":0,"subscriber":0,"bbp_keymaster":0,"bbp_moderator":0,"bbp_participant":0,"bbp_spectator":0,"bbp_blocked":0,"post_author":0,"guest":0,"hiroshi":0,"executive":"1","subadmin":0},"blogRoles":{"administrator":"#ff451f","editor":"#d36000","author":"#327324","contributor":"#a240cd","subscriber":"#31839e","bbp_keymaster":"rgb(136, 136, 136)","bbp_moderator":"rgb(136, 136, 136)","bbp_participant":"rgb(136, 136, 136)","bbp_spectator":"rgb(136, 136, 136)","bbp_blocked":"rgb(136, 136, 136)","post_author":"#07B290","guest":"#898989","hiroshi":"#31839e","executive":"#31839e","subadmin":"#31839e"}},"moderation":{"commentEditableTime":"900","enableEditingWhenHaveReplies":1,"displayEditingInfo":1,"enableStickButton":1,"enableCloseButton":1,"restrictCommentingPerUser":"disable","commentRestrictionType":"both","userCommentsLimit":1},"content":{"commentTextMinLength":1,"commentTextMaxLength":"","enableImageConversion":1,"enableShortcodes":0,"commentReadMoreLimit":100,"wmuIsEnabled":1,"wmuIsGuestAllowed":1,"wmuIsLightbox":1,"wmuMimeTypes":{"jpg|jpeg|jpe":"image\/jpeg","gif":"image\/gif","png":"image\/png","ico":"image\/x-icon"},"wmuMaxFileSize":"2","wmuIsShowFilesDashboard":1,"wmuSingleImageWidth":"auto","wmuSingleImageHeight":200,"wmuImageSizes":["thumbnail","medium"]},"live":{"enableBubble":1,"bubbleLiveUpdate":1,"bubbleLocation":"content_left","bubbleShowNewCommentMessage":1,"bubbleHintTimeout":5,"bubbleHintHideTimeout":8,"commentListUpdateType":0,"liveUpdateGuests":1,"commentListUpdateTimer":600},"inline":{"showInlineFilterButton":1,"inlineFeedbackAttractionType":"blink"},"general":{"isEnableOnHome":1,"isNativeAjaxEnabled":1,"loadComboVersion":1,"loadMinVersion":1,"commentLinkFilter":1,"redirectPage":0,"simpleCommentDate":0,"dateDiffFormat":"[number] [time_unit] [adjective]","isUsePoMo":0,"showPluginPoweredByLink":0,"isGravatarCacheEnabled":0,"gravatarCacheMethod":"cronjob","gravatarCacheTimeout":10}}
Hi @eaa,
Please provide your WordPress and Server PHP versions.
Also, a list of all active plugins you use. And please let us know, do you use WP Editor plugin? If you use this plugin, you should follow to this support topic and fix it asap: https://wordpress.org/support/topic/if-your-plugin-is-going-haywire-click-here-for-the-fix-jan-2020/
Hi @tomson ,
Thanks for your reply.
We don't use the WP Editor.
- WordPress 5.3.3
- PHP 7.2.31
Plugin:
AdRotate Professional
Akismet Anti-Spam
AmazonJS
AMIMOTO Plugin Dashboard
Apester Interactive Content
C3 Cloudfront Cache Controller
Classic Editor
DigiPress Ex - Blocks
DigiPress Ex - Shortcodes
Duplicate Post
Google Tag Manager for Wordpress
Google XML Sitemaps
Imsanity
Internal Links Manager
Japanese Proofreading Preview
Jetpack by WordPress.com
Nginx Cache Controller
Nginx Mobile Theme
OneSignal Push Notifications
Public Post Preview
Redis Object Cache
Search Regex
Simple GA Ranking
SmartFormat
User Role Editor
VaultPress
WP Multibyte Patch
WP-Optimize - Clean, Compress, Cache
wpDiscuz
WPアソシエイトポストR2
I know. I want to reduce the number of plugins.But it's a big site in Japan and it's hard to reduce it....
We are verifying this on our test site as well, but we are still unable to determine the cause of the problem.
Thank you for your cooperation.