0

I am getting this - "Error: CRM.url called before initialization" when I select the country from 'country field' included in the profile.

Steps to replicate:

  • Created a profile including address fields street, pincode, country, states, city
  • created a contribution page.
  • added profile for that contribution page.
  • Opened "contribution link" for live mode.
  • Try to change the country name state/province field keep spinning.

enter image description here

What will be the issue?

reference file:civicrm/js/crm.ajax.js

  • Make sure js files are loaded before the page load. Try changing the theme to default and confirm if you still see the issue – jitendra - fuzion Jun 5 '19 at 11:20
  • Yes, @jitendra-fuzion... I have just checked this possibility. Basically, this error title is mentioned in the file - civicrm/js/crm.ajax.js. The common.js and crm.ajax.js is loaded inside <head> tag. I have just checked this by doing view source. – 1990rk4 Jun 5 '19 at 11:37

Your Answer

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

Browse other questions tagged or ask your own question.