0

I think the issue is that Civi is (1) not enquing the versions of jQuery that come with WordPress and (2) the code is not written for noconflict mode.

?page=CiviCRM&q=civicrm/ajax/l10n-js/en_US&r=NJqDM:8 Uncaught TypeError: Cannot read property '_defaults' of undefined
at ?page=CiviCRM&q=civicrm/ajax/l10n-js/en_US&r=NJqDM:8
at ?page=CiviCRM&q=civicrm/ajax/l10n-js/en_US&r=NJqDM:103

?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:32 Uncaught ReferenceError: cj is not defined at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:32 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:192 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:192 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:208 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:208 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:259 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:259 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:400 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:400 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:403 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:403 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:563 Uncaught ReferenceError: cj is not defined at skipPaymentMethod (?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:563) at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:577 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:618 Uncaught TypeError: CRM.$ is not a function at ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:618 ?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2:621 Uncaught ReferenceError: cj is not defined

2

1 Answer 1

1

You need to cross check each and every path configured in Administer -> System Settings -> Resource URLs. Set them as per your site configurations.

  • CiviCRM Resource URL : is the URL path to your civicrm directory - Eg http://example.org/wp-content/plugins/civicrm/civicrm
  • Image Upload URL: is the URL path where your image will be stored. Eg http://example.org/wp-content/plugins/files/civicrm/persist/contribute
  • Extension Resource URL: is the URL path of the extensions used in your site.

Navigate to Administer -> System Settings -> Directories and set the path as per your needs.

  • Image Directory: should be the same path as above(Image Upload URL) without the URL part. Eg /var/www/site-name/wp-content/plugins/files/civicrm/persist/contribute
  • Extensions Directory: same path as set for extensions in the resource URL(without the URL part). Eg /var/www/site-name/path/to/extensions/

Similarly, set all the paths and check if it fixes your site display.

3

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.