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.
By nimbupani on
Hi
I am trying to upgrade my theme from Drupal 5 to Drupal 6. Everything seems okay except the $links in node.tpl.php and comments.tpl.php are displaying "array" instead of the regular normal links. This seems to be specific to my theme. No such issue occurs while using Garland theme. I tried to compare my theme to the garland's theme, nothing seems amiss. Is there anything very obvious I am missing?
Please help! Thanks.
Comments
Resolved!
I fixed it by adding this: http://api.drupal.org/api/function/theme_links/6 as phptemplate_links. Though not sure why I got the error in the first place.