The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Share:
Notifications
Clear all

[Solved] New update error

8 Posts
4 Users
2 Reactions
951 Views
Posts: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 years ago

Error again when updating the plugin. It happens a little bit too often which is why I usually hesitate to update.

Warning: Undefined array key "is_rate_editable" in /home/**/public_html/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 1303


7 Replies
Asti
Posts: 8107
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

The issue will be fixed in the next version of the wpDiscuz plugin. Please wait for the next update. It'll come soon.Ā 


Posts: 4
 evo2
(@evo2)
Active Member
Joined: 4 years ago

Another error while updating the plugin, look :

wp discus

Ā 

Do you think it is better to disable the automatic update?
Thanks.

Ā 


Posts: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 years ago

When can a fix be expected?


Posts: 3
(@andrewlazarev)
Active Member
Joined: 11 months ago

Try this:Ā 

$this->wpdiscuzOptionsJs["is_rate_editable"] = isset($this->form->getGeneralOptions()["is_rate_editable"]) ? $this->form->getGeneralOptions()["is_rate_editable"] : false;


Posts: 3
(@andrewlazarev)
Active Member
Joined: 11 months ago

This code checks if the key "is_rate_editable" exists in the array returned by the getGeneralOptions() method. If the key exists, its value will be assigned; if not, a default value (e.g., false) will be used.


1 Reply
(@danniee)
Joined: 5 years ago

Estimable Member
Posts: 124

@andrewlazarev thank you buddy, appreciate it. Don't want to play around too much though. I will try and wait for the update. If it doesn't come I might try your code šŸ™‚


Asti
Posts: 8107
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

This issue is fixed.Ā 


Share: