The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
High volume of PHP ...
 
Notifications
Clear all

[Solved] High volume of PHP warnings from class.WpdiscuzCore.php on line 891

3 Posts
2 Users
1 Reactions
389 Views
(@lillywp)
Posts: 2
New Member
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
 
[#11122]

Hello! We are observing a high volume of PHP warnings from wpDiscuz on a website that we support. Examples below:

 

PHP Warning: Undefined array key 38 in /srv/htdocs/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 891

PHP Warning: Undefined array key 11 in /srv/htdocs/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 891

PHP Warning: Undefined array key 122 in /srv/htdocs/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 891

 

The errors seem to be present on all posts that have comments. The more comments, the more warnings appear in the log. We did try using the Fix DB tables option as recommended in similar threads, to no avail.

We suspect this may be a problem with the way the plugin gets to the last comment on the list:

$commentListArgs["lastCommentIdInList"] = $commentList[$count - 1]->comment_ID;

 

It's assuming the total `$count` of comments `-1` will provide the ID of the last comment, but if a comment was deleted, the numbers will not match. Let us know if you observe the same.

Related, we noticed that `lastCommentIdInList` is used by the plugin to `setExtraCache()`. While we are not observing any significant performance issues on these pages, we question if performance may be impacted as a result of this.

Thanks, and let me know if we can provide any further details here.

Website URL

 
Posted : 05/12/2025 11:28 pm
Asti
 Asti
(@asti)
Posts: 8257
Illustrious Member Support
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
 

Please update the wpDiscuz to the lates version and check again.


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 06/12/2025 10:14 pm
(@lillywp)
Posts: 2
New Member
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
 

We have updated from 7.6.38 to 7.6.39 and that seems to have resolved it. We are no longer seeing the PHP warning messages in the logs. Thank you!


 
Posted : 08/12/2025 8:31 pm
Asti reacted