Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
devel themer JS doesn't work on my D6 website,these are errors:
Uncaught TypeError: Cannot read property 'type' of undefined devel_themer.js?r:193
thmrRebuildPopup devel_themer.js?r:193
themerDoIt devel_themer.js?r:87
themerEvent devel_themer.js?r:126
Any idea to fix it ?
thanks
Comment | File | Size | Author |
---|---|---|---|
#5 | devel_themer--doesnt-work-on-d6--2442587-5-6.x.patch | 543 bytes | pzerimars |
Comments
Comment #1
cjamesrun CreditAttribution: cjamesrun commentedI am also stuck on this issue. I have made sure that simplehtml is not the 2.x version ... and everything looks the way it should. It doesn't work in the admin or in the theme.
Comment #2
aiphesi must check the simplehtml version..will tell you
Comment #3
henryhu CreditAttribution: henryhu commentedI encounter the same issue:
Uncaught TypeError: Cannot read property 'type' of undefined
The 6.x-1.x-dev seems not to require simplehtmldom module.
Comment #4
gippy CreditAttribution: gippy commentedI have the same issue. Returns the same error reported in #1.
D6, simplehtmldom-6.x-1.12, simplehtmldom_1_5.zip uncompressed to sites/all/libraries/simplehtmldom/simple_html_dom.php, devel_themer: version = "6.x-1.12"
Question: simplehtmldom-6.x-1.12 has an earlier version (1.11) of simple_html_dom.php embedded in the module. Do we still need to download the library when using simplehtmldom-6.x-1.12? I tried replacing it with the download but nothing changed.
Comment #5
pzerimars CreditAttribution: pzerimars as a volunteer commentedAttached is the patch necessary to fix this issue. It is a result of devel_themer not executing as a result of a non-altered theme registry. The registry was never altered because the function did not accept the parameter by reference.
Enjoy!
Comment #6
pzerimars CreditAttribution: pzerimars as a volunteer commentedComment #7
gippy CreditAttribution: gippy commentedThank you, Pzerimars. it works for me.