Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use 'Add rule group' and 'Conditional logic' for anything with this plugin enabled #54

Open
wittywolk opened this issue Jul 3, 2023 · 2 comments

Comments

@wittywolk
Copy link

I like the plugin, it's useful for me, but when I have this plugin enabled I can't use the 'Add rule group' or 'Conditional logic' functionality of ACF; I have to disable the plugin, add rule groups / conditional logic, then enable it again. Doesn't make a difference if the Field Group is using Star Rating or not.

@SourceCodeSpain
Copy link

I am also receiving the same problem. Did you fix this?

jQuery.Deferred exception: Cannot read properties of undefined (reading '0') TypeError: Cannot read properties of undefined (reading '0')
 at initialiseField (http://esmedia.local/wp-content/plugins/acf-star-rating-field-1.0.3/js/input.js?ver=6.4.2:10:38)
    at HTMLDivElement.<anonymous> (http://esmedia.local/wp-content/plugins/acf-star-rating-field-1.0.3/js/input.js?ver=6.4.2:71:4)
    at Function.each (http://esmedia.local/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils&ver=6.4.2:7:3129)
    at e.<computed>.each (http://esmedia.local/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils&ver=6.4.2:7:1594)
    at http://esmedia.local/wp-content/plugins/acf-star-rating-field-1.0.3/js/input.js?ver=6.4.2:70:11
    at http://esmedia.local/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.2.2:1:2258
    at o (http://esmedia.local/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.2.2:1:1417)
    at Object.doAction (http://esmedia.local/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.2.2:1:587)
    at n.doAction (http://esmedia.local/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.2.2:1:19482)
    at HTMLDocument.<anonymous> (http://esmedia.local/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.2.2:1:28866) undefined

@hortonsart
Copy link

I'm experiencing the same issue. Does @kevinruscoe or anybody else have a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants