I have face this problem often in my drupal site. The drupal.js
file is loading before jquery.js
, so i get the "uncaught jQuery is not defined" error.
I have been using memcached also in my site.
But I can fix the error by the following steps
- Restart memcached
- Restart Apache
- Cache clear
- Run the cron
After doing the steps the jQuery is loading properly.
Now, i want to know the reason why the drupal.js
loading before jquery.js
?
FYI : This is happening, When I enable/disable any modules/features through UI