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.

".textareaCount is not a function" since upgrade to 1.6.7

  1. jonasddot
    Member

    Hi there!
    I use GF with the character counter in some fields.
    But since i upgraded to 1.6.7 my form completely disappeared until i deactivated all counters.
    The error message is: jQuery("#field ID").textareaCount is not a function
    http://www.diasporafriends.de/ewh/veranstaltung-anmelden/

    I read that you changed something with the .textareaCount in this new version, so maybe you can help??

    Thank you very much!

    Posted 6 years ago on Thursday September 20, 2012 | Permalink
  2. Yes, I see that error:

    Timestamp: 9/20/2012 7:26:24 AM
    Error: TypeError: jQuery("#input_1_6").textareaCount is not a function
    Source File: http://www.diasporafriends.de/ewh/veranstaltung-anmelden/
    Line: 90

    And the form does not load.

    You are loading jQuery twice in your page. Screenshot http://i.minus.com/ibcn9XtUixq12i.png

    I think if you rely on the WordPress enqueued jQuery (the first one) and remove the one from googleapis, you will be fine. The one from Google is being loaded after all the other scripts which depend on jQuery, which is not going to work.

    Fix those problems and if you still have trouble, let us know.

    Posted 6 years ago on Thursday September 20, 2012 | Permalink
  3. jonasddot
    Member

    Yes, this fixed it!
    Thanks a lot!

    Posted 6 years ago on Thursday September 20, 2012 | Permalink
  4. Thank you for the update.

    Posted 6 years ago on Saturday September 22, 2012 | Permalink

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