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
363 Views
Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 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: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 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: 2
 evo2
(@evo2)
New Member
Joined: 3 years ago

Another error while updating the plugin, look :

wp discus

 

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

 

Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 years ago

When can a fix be expected?

Posts: 3
(@andrewlazarev)
Active Member
Joined: 2 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: 2 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: 4 years ago

Estimable Member
Posts: 115

@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: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

This issue is fixed. 

Share: