I'm getting a pathauto error on minute creation - but it only happens with minute creation which is why I'm raising it as an issue here rather than in pathauto.

Catchable fatal error: Object of class stdClass could not be converted to string in D:\xnetpub\whpdd\modules\pathauto\pathauto_node.inc on line 170

I don't know if it helps, but there's a report at http://drupal.org/node/98393 that it is a PHP 5.2 issue?

Comments

starbow’s picture

I think this should be reported over at pathauto. I had the same issue with some cck types. This is definately a PHP 5.2. They have tightened there error reporting. Here is a fix - it is probably over kill, but it works (replace line 170)

if (!is_object($firsttermid) || method_exists($firsttermid, '__toString')) {
       $firsttermid_str = (string)$value;
    } else {
       $firsttermid_str = 'Object';
    }
    $placeholders[t('[catalias]')] = drupal_get_path_alias('taxonomy/term/'.$firsttermid_str);

//    $placeholders[t('[catalias]')] = drupal_get_path_alias('taxonomy/term/'.$firsttermid);
pukku’s picture

Status: Active » Closed (fixed)

This seems to be a problem with PathAuto. If you can show that it has to do with Minutes, and are able to help me debug, please let me know. Until then, I'm closing this.