PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Previously working gravity form not showing up after 3.5 update

  1. A couple of gravity forms that were previously working will no longer show on the page they are inserted. The code has not been changed. I have disabled all other plugins and they still will not show up.

    Chrome shows an error with Gravity forms

    http://www.delakc.com/create-a-class/

    Uncaught TypeError: Object #<Object> has no method 'first' conditional_logic.js:219
    gf_do_action conditional_logic.js:219
    gf_do_field_action conditional_logic.js:189
    gf_apply_field_rule conditional_logic.js:39
    gf_apply_rules conditional_logic.js:7
    (anonymous function) http://www.delakc.com:255
    o.fn.extend.ready jquery-1.3.2.min.js:19
    (anonymous function) http://www.delakc.com:255
    o.event.handle jquery-1.3.2.min.js:19
    J jquery-1.3.2.min.js:19
    o.event.trigger jquery-1.3.2.min.js:19
    (anonymous function) jquery-1.3.2.min.js:19
    o.extend.each jquery-1.3.2.min.js:12
    o.fn.o.each jquery-1.3.2.min.js:12
    o.fn.extend.trigger jquery-1.3.2.min.js:19
    (anonymous function) http://www.delakc.com:255
    (anonymous function) jquery-1.3.2.min.js:19
    o.extend.each jquery-1.3.2.min.js:12
    o.extend.ready jquery-1.3.2.min.js:19
    (anonymous function)
    Posted 7 years ago on Thursday January 17, 2013 | Permalink
  2. Right, I see the JavaScript error:

    Timestamp: 1/17/2013 11:34:06 AM
    Error: TypeError: jQuery(...).children(...).first is not a function
    Source File: http://www.delakc.com/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.6.11
    Line: 219

    You are including and extremely old jQuery 1.3.2:

    <script type='text/javascript' src='http://www.delakc.com/wp-content/themes/rttheme11/js/jquery-1.3.2.min.js?ver=3.5'></script>

    rather than letting WordPress do its job and enqueue the proper 1.8.3 version which is required. Please remove this call to jQuery (it's being added by your theme) and let WordPress enqueue jQuery 1.8.3 and then see if you form displays properly.

    Posted 7 years ago on Thursday January 17, 2013 | Permalink
  3. We're having this problem with a lot of our websites. Do you suppose some older themes are calling that old jQuery, and we need to replace that on every website?

    Posted 7 years ago on Thursday January 17, 2013 | Permalink
  4. David Peralty
    Administrator

    Check the header and footer of your sites for JavaScript calls and use Google Chrome or Firefox to inspect the pages and see if there are JS errors. It is fairly likely that the error would be similar on other sites.

    Posted 7 years ago on Thursday January 17, 2013 | Permalink
  5. Hi, I have tried to find the code mentioned above on my site http://www.moorlandguides.co.uk, but am unable to find it. Am I able to downgrade to the previous version of Gravity forms as my site is at present inoperable for my users due to this issue?
    Many thanks
    Steve

    Posted 7 years ago on Sunday January 20, 2013 | Permalink
  6. @steve53990 How do I get to a form on your site?

    Posted 7 years ago on Monday January 21, 2013 | Permalink