Support

Account

Home › Forums › Front-end Issues › Frontend acf_form(): ReferenceError: wp is not defined in input.min.js › Reply To: Frontend acf_form(): ReferenceError: wp is not defined in input.min.js

  • I activated SCRIPT_DEBUG and found the code that is throwing the error (line 10123 in acf-input.js):

    
    // bail early if no media views
    if( !wp || !acf.isset(wp, 'media', 'view') ) {
      return;
    }