1

After updating CiviCRM to the latest 4.6, I have been experiencing various Javascript errors. For example, on a contribution page:

enter image description here

(notice the CRM.$ function is defined after the page is loaded)

I've tried to clear the various caches but have been unable to resolve the issue.

Any ideas as to what the issue could be?

1 Answer 1

3

Figured it out after some troubleshooting. On the Drupal theme being used, the minified JS (including jQuery) was being put at the end of the page and not present when Civi JS is executed.

3
  • Neat. What was the Drupal theme?
    – JohnFF
    Commented Mar 8, 2017 at 19:56
  • It was a theme based off the "Mothership" theme, which had this option.
    – user3827
    Commented Mar 9, 2017 at 20:49
  • Hi, I am also having the same issue , how did you fix this please? @user3827
    – Tapash
    Commented Mar 3, 2020 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.