Fatal error: Unsupported operand types in [...]/includes/common.inc on line 1542
cjones - July 20, 2009 - 13:54
| Project: | Node comments |
| Version: | 6.x-1.2-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Description
After installing node comment and posting a test comment, I cannot view the comment. Instead, I get the following:
Fatal error: Unsupported operand types in [...]/includes/common.inc on line 1542

#1
And I've just had the same problem after upgrading to 6.x-2.x-dev
#2
it seems it's the l() function in the node-comment.tpl.php which is not correct for drupal 6 (bad arguments)
#3
Ran into the same problem. Attaching the fix.