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

cjones - July 20, 2009 - 13:57

And I've just had the same problem after upgrading to 6.x-2.x-dev

#2

egouleau - August 3, 2009 - 11:51

it seems it's the l() function in the node-comment.tpl.php which is not correct for drupal 6 (bad arguments)

#3

mkassets - August 10, 2009 - 10:36

Ran into the same problem. Attaching the fix.

AttachmentSize
node-comment.tpl_.php.txt 1.11 KB
 
 

Drupal is a registered trademark of Dries Buytaert.