I have merge recently css and js from magento backend. after this backend menu not work i got following error.

Uncaught TypeError: Cannot read property 'length' of undefined

I dont know what is problem with this.

  • You have to check manually which JS causes conflict..First disable custom modules and enable one by one. – Ram Pratap Singh Gour Dec 26 '16 at 5:38

make sure you have load prototype.js before jquery-your-version.js . you will find this in your main.xml

<block type="adminhtml/page" name="root" output="toHtml" template="page.phtml">
           <block type="adminhtml/page_head" name="head" as="head" template="page/head.phtml">
                <action method="setTitle" translate="title"><title>Magento Admin</title></action>
                <action method="addJs"><script>prototype/prototype.js</script></action>
                <action method="addItem"><type>js</type><name>js/jquery.js</name><params/><if/><condition>can_load_ext_js</condition></action>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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