braginteractive / MDLWP

Material Design Lite WordPress Theme
http://mdlwp.com
GNU General Public License v2.0
331 stars 83 forks source link

Theme broken: Invalid argument provided to upgrade MDL element #34

Closed adandris closed 8 years ago

adandris commented 8 years ago

The latest version of the MDLWP theme is broken (at least in Wordpress 4.4.5 and 4.6.1). It produces the following JS error in all browsers and thus fails to load the MDL scripts:

mdlComponentHandler.js:189 Uncaught Error: Invalid argument provided to upgrade MDL element. at n (http://storage.googleapis.com/code.getmdl.io/1.1.3/material.min.js?ver=1.1.1:8:2088) at i (http://storage.googleapis.com/code.getmdl.io/1.1.3/material.min.js?ver=1.1.1:8:2008) at Object.r [as upgradeAllRegistered] (http://storage.googleapis.com/code.getmdl.io/1.1.3/material.min.js?ver=1.1.1:8:3824) at http://storage.googleapis.com/code.getmdl.io/1.1.3/material.min.js?ver=1.1.1:8:5310n @ mdlComponentHandler.js:189i @ mdlComponentHandler.js:174r @ mdlComponentHandler.js:343(anonymous function) @ mdlComponentHandler.js:482

adandris commented 8 years ago

The theme was broken due to incompatibility with the "Featured Content Gallery" plugin. Disabling it fixed the issue.