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 was getting an error along the lines of "recoverable fatal error: Object of class stdClass could not be converted to string" indicating that line 2 of page.tpl.php was the culprit.
Sure enough, $language is listed in the header.
It should be $language -> $language. I changed it and it works great. (I don't know how to submit a patch!)
Comments
Comment #1
ScoutBaker CreditAttribution: ScoutBaker commentedCheck out the information on patching.
Comment #2
c31ck CreditAttribution: c31ck commentedUnable to reproduce in 6.x-1.1. In page.tpl.php $language->language is used correctly.