Hello,

phptemplate generates warnings when _phptemplate_variables function is defined in template.php
This will fix it:

Line 42 in phptemplate.engine change to:
$vars = array_merge($vars, (array)_phptemplate_variables($hook, $vars));

Thanks to chx (http://drupal.org/user/9446)

best regards,
Jan