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.
Current code in node.module
function node_help($path, $arg) {
...
case 'node/%/edit':
$node = node_load($arg[1]);
$type = node_type_load($node->type);
return (!empty($type->help) ? '<p>' . filter_xss_admin($type->help) . '</p>' : '');
Throws notice and because usage of arg()
Notice: Trying to get property of non-object in node_help() (line 135 of core/modules/node/node.module).
Comments
Comment #1
andypostTagging
Comment #2
Crell CreditAttribution: Crell commentedWhy is this WSCCI-tagged, exactly?
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedDuplicate of #1894628: node_help() does not support language path prefixes (even though a bit more generic).
Also, it will be solved once #1831846: Help block is broken with language path prefixes (even more generic) is solved.