1

I just started my project which I haven't touched in a while. I got the most recent develop version of it using git and I up'ed my docker. Once I opened my website I saw, that something is off. Console is saying that "Drupal is not defined" and if I visit pages-> --any page-- -> content, the layout is off. enter image description here

In the console here it says ReferenceError: jQuery is not defined.

What I already tried to do:

  • Rebuild my project
  • Resave configuration of jQuery update
  • Clearing cache (lol)
  • Checking if JS is enabled on my browser

Can someone help me out please?

2
  • give this a shot : drupal.org/node/111596 Mar 29, 2017 at 9:25
  • 1
    @MassoudiMalek Thank you, but I tried this solution before posting here, sadly nothing helped. :/
    – Viktor
    Mar 30, 2017 at 6:37

1 Answer 1

0

For someone who might experience this, for me Minify module was causing this, I think I lacked some configuration to use minified JS, so my localhost couldn't load JS, after disabling Minify module, everything was fine. Not the best solution, but for fast results its okay.

P.S. DON'T FORGET TO ENABLE IT IF YOU TWEAK SOME JS CODE AND EXPORT IT AS FEATURE.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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