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.
Click on Page Wizards | Node template:
Fatal error: Call to undefined function node_get_types() in /var/aegir/platforms/ff-0.4/sites/all/modules/panels/plugins/page_wizards/node_override.inc on line 75
Comment | File | Size | Author |
---|---|---|---|
#4 | 967734-4.patch | 1.15 KB | Jamie Holly |
#3 | panels-undefined-function-node-get-types967734-3.patch | 550 bytes | das-peter |
Comments
Comment #1
anavarreWeird behavior for me too. When I click on Page Wizards > Node template, I just get a blank page and nothing happens. I guess an error would be more helpful...
Config : Drupal 7.0-beta3 + ctools, Views and Panels (latest versions from November, 20th)
Comment #2
das-peter CreditAttribution: das-peter commentedI guess line 75 of
/panels/plugins/page_wizards/node_override.inc
should use$types = node_type_get_types();
sincenode_get_types()
is gone as of D7.Comment #3
das-peter CreditAttribution: das-peter commentedPatch attached.
Comment #4
Jamie Holly CreditAttribution: Jamie Holly commentedAttaching a new patch that uses node_type_get_names() instead of node_type_get_types().
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedIntoxination's patch ignores that we do not offer this for node types that already have a page attached, so using das-peter's patch.