Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

PHP Notice: Trying to access array offset on value of type null in class.WpdiscuzCore.php

3 Posts
2 Users
0 Reactions
3,625 Views
(@drlightman)
Active Member
Joined: 6 years ago
Posts: 13
Topic starter  

[11-May-2020 12:47:27 UTC] PHP Notice: Trying to access array offset on value of type null in \plugins\wpdiscuz\class.WpdiscuzCore.php on line 942
[11-May-2020 12:47:27 UTC] PHP Notice: Trying to access array offset on value of type null in \plugins\wpdiscuz\class.WpdiscuzCore.php on line 975

Looks like both refer to $this->commentsArgs not being set at the time of being used.

if ($this->commentsArgs['caller'] === 'wpdiscuz-') {

if ($this->commentsArgs['caller'] === 'wpdiscuz' && ($this->commentsArgs['comment__in'] || isset($this->commentsArgs['sticky']))) {


   
Quote
Elvina
(@elvina)
Support
Joined: 6 years ago
Posts: 1403
 

Hi @drlightman,

Please don't worry about this. This is already fixed in the next version update. 

In case if you want to fix it as soon as possible, please send the admin login details to info[at]gvectors.com email address, the developers fix it for you.



   
ReplyQuote
(@drlightman)
Active Member
Joined: 6 years ago
Posts: 13
Topic starter  

I already fixed myself, I was only reporting for you project. Thanks.



   
ReplyQuote
Share:
Scroll to top