Strange, this is not a code error,
writing the instruction below is exactly the same think that the folowing instruction
<?php
$type
= node_get_types('type', $node);
$node_type = $type->type;
?>But it's written in only one line... what version of PHP do you use ? I have PHP5, maybe this shortcut is not compatible with previous version of PHP...
I correct this shortcut to correct this error, download the 1.2.1 version



