When clearing the Drupal Cache it automatically enable/ checks the Compressed the cache pages options and breaks many drupal functionality.

when i inspect i found that JQuery is not Defined at drupal.js at line 5 [jQuery.noconflict() ]. i find this error on all the pages of drupal. and also jquery.js is not loading.

I am not sure what have caused this error.

  • Welcome to Drupal Answers. Please try to provide more information, because your question is hard to answer right now. At the very least, tell us which Drupal version you're using. Also, tell us what you changed since the last time it did work. – marcvangend Mar 1 '18 at 22:04
  • I am using Version 7.39. I have added a feature and enabled it after doing so when i clear the cache. Many drupal functionalities are not showing up like [drag and drop UI, Text ediotors]. As i mentioned when i inspect i find JQuery is not Defined at drupal.js at line 5 [jQuery.noconflict() ]. i find this error on all the pages of drupal. I can provide any info regarding it. – Reddy Bhanu Prakash Bavani Mar 1 '18 at 23:20
  • Is the site available to look at somewhere? Are there any other error messages in the Console? I've definitely had problems where my custom JS is not happy with Compressed JS and breaks things. Also on Drupal 7 -- I've never had cache clear auto-enabling the compressed options. That seems strange. – Adrained Mar 2 '18 at 0:10
  • @Adrained The site is not available to look. But in console i get the error "Uncaught Reference Error : JQuery is not Defined at drupal.js". Yes it seems strange like cache auto-enabling the compressed options. – Reddy Bhanu Prakash Bavani Mar 2 '18 at 0:55
  • Try using the AdvAgg module; it usually works better than core for aggregation drupal.org/project/advagg – mikeytown2 Mar 2 '18 at 4:32

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.