• Resolved BeeTeam368

    (@beeteam368)


    I noticed this error in the latest version:

    Notice: Undefined index: number_of_votes in \wp-content\plugins\yet-another-stars-rating\lib\yasr-functions.php on line 394

    Notice: Undefined index: sum_votes in \wp-content\plugins\yet-another-stars-rating\lib\yasr-functions.php on line 394

    Notice: Undefined index: number_of_votes in \wp-content\plugins\yet-another-stars-rating\lib\yasr-shortcode-classes.php on line 201

    Any advice?

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter BeeTeam368

    (@beeteam368)

    And also do not display the exact average score. Although, that post was voted ..

    View post on imgur.com

    Best Regards!

    Plugin Contributor dudo

    (@dudo)

    Hello!

    Sorry for this.

    I’ve changed how data is obtained form the database, and seems that in your case the old transient has not been deleted during the update.

    Can you please try to:

    Download this file https://gist.github.com/Dudo1985/9c434b7d55c156fe884f04cc6e63d274, upload it with FTP in this directory wp-content/plugins/yet-another-stars-rating/lib , overwriting the existing one

    Let me know!

    Thread Starter BeeTeam368

    (@beeteam368)

    Thank Dudo,

    It seems that it has been resolved. Can you release a new version with this update?

    Basically, I’m an author from ThemeForest. And we recommend our customers use this plugin of yours.

    I received several reports from customers about this issue and after updating to the latest version. I see that I also have that error.

    I see that your country is experiencing some serious problems caused by covid-19 virus.

    Wish you good health and good luck.

    Thanks!

    Plugin Contributor dudo

    (@dudo)

    I’ve simply disabled transient in that file, and I’m not sure that is the good way to go.

    For sure I will decrease the expire date of the transient, now is 1 week, to 1 day (so that error will disappear after 1 day)

    I will test performance with and without transient.

    Basically, I’m an author from ThemeForest. And we recommend our customers use this plugin of yours.

    Thank you so much!

    I see that your country is experiencing some serious problems caused by covid-19 virus.

    Wish you good health and good luck.

    Yep, all Italy is in lockdown now.
    I can only go out for work and go to the grocery store.
    But I’m fine ??

    Have a nice weekend!

    Plugin Contributor dudo

    (@dudo)

    Ok, from version 2.2.3 all transient will be removed.

    Best,
    Dario

    Thread Starter BeeTeam368

    (@beeteam368)

    Thank you very much!

    Have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notice: Undefined index: number_of_votes’ is closed to new replies.