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.
I think you need to check to see if the page_type_op variable isset before using it to create class names. On non-node pages the preceding logic skips setting this variable.
Comment | File | Size | Author |
---|---|---|---|
#1 | page_type_op_und.patch | 792 bytes | dpolant |
Comments
Comment #1
dpolant CreditAttribution: dpolant commentedbtw here is a patch that seems to fix the error while maintaining desired functionality
Comment #2
danielhonrade CreditAttribution: danielhonrade commentedcommitted, thanks