Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
2,939 Views
(@drlightman)
Active Member
Joined: 5 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: 5 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: 5 years ago
Posts: 13
Topic starter  

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


   
ReplyQuote
Share:
Scroll to top