AI Assistant
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
3,771 Views
(@drlightman)
Active Member
Joined: 7 years ago
Posts: 13
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
  [#5939]

[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: 7 years ago
Posts: 1403
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 @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: 7 years ago
Posts: 13
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
 

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



   
ReplyQuote
Share:
Scroll to top