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.

Uncaught TypeError: Object [object Object]

  1. WolfIngelheim
    Member

    Hi,

    I have created a form with a product. The price is based on the calculation on different fields (standard) fields. The calculation and result works fine in the preview mode of the form. But as soon I insert the form into a wordpress page, the price and total price is not being updated.

    However the PayPal check-out shows the correct price values. Below you see the Error Message I receive from Chrome. Tested with latest version of FF, Chrome and IE.

    Uncaught TypeError: Object [object Object] has no method 'prop' gravityforms.js:832
    replaceFieldTags gravityforms.js:832
    runCalc gravityforms.js:715
    init gravityforms.js:700
    GFCalc gravityforms.js:879
    (anonymous function) http://www.wolf-manufaktur.de/:120
    d.event.handle jquery-1.5.1.min.js:16
    k.handle.m jquery-1.5.1.min.js:16
    d.event.trigger jquery-1.5.1.min.js:16
    (anonymous function) jquery-1.5.1.min.js:16
    d.extend.each jquery-1.5.1.min.js:16
    d.fn.d.each jquery-1.5.1.min.js:16
    d.fn.extend.trigger jquery-1.5.1.min.js:16
    (anonymous function) http://www.wolf-manufaktur.de/:120
    f.resolveWith jquery-1.5.1.min.js:16
    d.extend.ready jquery-1.5.1.min.js:16
    c.addEventListener.A jquery-1.5.1.min.js:16

    You can see the form on this page http://www.wolf-manufaktur.de/letterpress-visitenkarte-mit-farbschnitt/

    Posted 10 years ago on Monday June 24, 2013 | Permalink
  2. Richard Vav
    Administrator

    I haven't looked at your form because it is password protected but I suspect the reason for this problem is that jQuery is being included multiple times, the first occurrence is correct it is using the WordPress bundled version

    <script type='text/javascript' src='http://www.wolf-manufaktur.de/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>

    the second is an old copy from your theme which should be removed

    <script type="text/javascript" src="http://www.wolf-manufaktur.de/wp-content/themes/manufaktur/js/jquery-1.5.1.min.js"></script>

    the jQuery cycle plugin is also being loaded twice, once in the header by the nextgen gallery plugin

    <script type='text/javascript' src='http://www.wolf-manufaktur.de/wp-content/plugins/nextgen-gallery/js/jquery.cycle.all.min.js?ver=2.9995'></script>

    and again down in the footer by your theme

    <script type="text/javascript" src="http://www.wolf-manufaktur.de/wp-content/themes/manufaktur/js/jquery.cycle.all.min.js"></script>

    Regards,
    Richard

    Posted 10 years ago on Monday June 24, 2013 | Permalink
  3. WolfIngelheim
    Member

    Hi Richard,

    thanks for the hint. I solved it by removing all jQuery files and leave the latest version and one script of the theme script.js did not get the $ selector. Replaced the selector with jQuery() and it works.

    Cheers,

    Posted 10 years ago on Tuesday June 25, 2013 | Permalink
  4. Richard Vav
    Administrator

    You're welcome, I am glad you were able to resolve your issue.

    Posted 10 years ago on Tuesday June 25, 2013 | Permalink

This topic has been resolved and has been closed to new replies.