0

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

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.

  • Neat. What was the Drupal theme? – JohnFF Mar 8 '17 at 19:56
  • It was a theme based off the "Mothership" theme, which had this option. – user3827 Mar 9 '17 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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