Support » Plugin: Advanced Custom Fields: Font Awesome Field » Select2 does not render: Cannot read property ‘init’ of undefined

  • Resolved conci

    (@conci)


    Appears on the console:
    Uncaught TypeError: Cannot read property ‘init’ of undefined
    at select2_init (input-v5.js?ver=2.1.2:23)
    at HTMLSelectElement.<anonymous> (input-v5.js?ver=2.1.2:69)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.4:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.4:2)
    at input-v5.js?ver=2.1.2:68
    at c (acf-input.min.js?ver=5.2.6:1)
    at Object.t (acf-input.min.js?ver=5.2.6:1)
    at Object.do_action (acf-input.min.js?ver=5.2.6:1)
    at HTMLTableRowElement.<anonymous> (acf-input.min.js?ver=5.2.6:1)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.4:2)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Hi Conci,

    It looks like you are using a very out of date version of ACF Pro ( 5.2.6 ). The latest version is 5.6.9. I believe this problem will resolve itself once you update.

    Let me know if you continue to see issues after updating.

    Thanks,

    Matt Keys

    Thread Starter conci

    (@conci)

    Hey,

    The version was 5.2.6. I updated the ACF and the problem was resolved.
    Thank you Matt!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Select2 does not render: Cannot read property ‘init’ of undefined’ is closed to new replies.