I am trying to put a Symfony 2 application into production mode. Everything works fine, except for the fact that a compressed single javascript file causes errors and makes the site unable to render correctly. I found this through the debug console in the browser:
Uncaught TypeError: undefined is not a function Uncaught TypeError: Object [object Object] has no method 'treeview'
The first error relates to jQuery plugins. A tree designation refers to a jQuery plugin that displays a tree as a directory structure.
On the other hand, all this works fine in dev mode, because it does not perform compression, and it just includes each file one at a time. Can someone help me with this? Thanks in advance.
source share