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.
This is the exact same bug as #1200478: Changing the comment path to the node path triggers a PHP fatal error in l() due to wrongly structured options. Seems you copy-pasted some bugguy bits of core.
Comments
Comment #1
pounardOuppps sorry it seems you already commited this fix. I must have forgotten to update my own dev version. Sorry for the noise!
Comment #2
troky CreditAttribution: troky commentedYes, already committed. Duplicate of #1921238: Class attribute should be an array