Home Forums Front-end Issues ACF Form / Roots Sage


ACF Form / Roots Sage

  • Hi,

    Receiving these errors when trying to create a front end form for outside users to create custom post types (events, news, job). We’re using Advanced Custom Fields with Roots Sage theme and I believe there are some Javascript loading clashes. It won’t load certain fields like datepickers, etc. We are calling acf_form_head() before get_header() and following the code for ACF v4 in the tutorial.

    Uncaught ReferenceError: acf is not defined(anonymous function) @ (index):264
    timepicker.js?ver=2.0.9:102 Uncaught TypeError: $(…).live is not a function(anonymous function) @ timepicker.js?ver=2.0.9:102(anonymous function) @ timepicker.js?ver=2.0.9:153
    input.min.js?ver=4.4.3:1 Uncaught TypeError: Cannot read property ‘post_id’ of null(anonymous function) @ input.min.js?ver=4.4.3:1m.Callbacks.j @ jquery.min.js:2m.Callbacks.k.fireWith @ jquery.min.js:2m.extend.ready @ jquery.min.js:2J @ jquery.min.js:2
    input.min.js?ver=4.4.3:1 Uncaught TypeError: Cannot read property ‘date_picker’ of null


  • Hi @colejohnsonline

    It seems acf is not being loaded.
    This is most likely caused by a plugin conflict, kindly try deactivating all the other plugins and see if the problem persists.

    Hope to hear from you soon.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF Form / Roots Sage’ is closed to new replies.