Support » Plugin: Yasr - Yet Another Stars Rating » undefined index ‘enable_ip’

  • I am getting the following errors in my backend when activating the plugin:

    Notice: Undefined index: enable_ip in /var/www/vhosts/bibleget.io/httpdocs/wp-content/plugins/yet-another-stars-rating/includes/yasr-includes-init.php on line 116

    Warning: Illegal string offset 'show_average' in /var/www/vhosts/bibleget.io/httpdocs/wp-content/plugins/yet-another-stars-rating/admin/settings/multiset/yasr-settings-functions-multiset.php on line 43

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dudo

    (@dudo)

    Hi!

    This is so strange, because that values are set when plugin is installed, as you can see here and here

    However, to make them disappear, just save YASR settings again:

    1) go to Yet Another Stars Rating: Settings -> General Settings and click on “Save All Settings”
    2) go to Yet Another Stars Rating: Settings -> Multi Sets and click on “Save”

    Best,
    Dario

    Ok I re-saved each settings page and the php errors went away. However I am still seeing a javascript error:

    yasr-admin.js?ver=2.3.8:1 Uncaught TypeError: Cannot read property 'search' of undefined
        at HTMLDocument.<anonymous> (yasr-admin.js?ver=2.3.8:1)
        at HTMLDocument.dispatch (jquery.js:3)
        at HTMLDocument.r.handle (jquery.js:3)
        at Object.trigger (jquery.js:3)
        at Object.a.event.trigger (jquery-migrate.min.js:2)
        at x (jquery.js:4)
        at XMLHttpRequest.c (jquery.js:4)
    (anonymous) @ yasr-admin.js?ver=2.3.8:1
    dispatch @ jquery.js:3
    r.handle @ jquery.js:3
    trigger @ jquery.js:3
    a.event.trigger @ jquery-migrate.min.js:2
    x @ jquery.js:4
    c @ jquery.js:4
    XMLHttpRequest.send (async)
    send @ jquery.js:4
    ajax @ jquery.js:4
    n.<computed> @ jquery.js:4
    (anonymous) @ jetpack-jitm.min.js:2
    each @ jquery.js:2
    each @ jquery.js:2
    e @ jetpack-jitm.min.js:2
    (anonymous) @ jetpack-jitm.min.js:2
    i @ jquery.js:2
    fireWith @ jquery.js:2
    ready @ jquery.js:2
    J @ jquery.js:2

    I believe this error is blocking script functionality on the settings page, if I click for example on “Add Element” under the Multi-Set section nothing happens.

    Plugin Author dudo

    (@dudo)

    This seems like the same issue of this one https://wordpress.org/support/topic/stil-error-in-panel-wordpress/ , an error the seems appear totally random. it should go away when you refresh the page

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.