I get this error from cron.php run

PHP 5.2.1
PostgreSQL database 8.1.9

Comments

z.stolar’s picture

try adding this:

<?php
if(!function_exists('pathauto_get_placeholders')){
  module_invoke('pathauto', 'menu', FALSE);
}
$placeholders = pathauto_get_placeholders('node', $node);
?>

Does it solve the problem?

greggles’s picture

Status: Active » Closed (duplicate)

Already been fixed in the dev release: http://drupal.org/node/168383

z.stolar’s picture

Title: Fatal error: Call to undefined function pathauto_get_placeholders() in /u1/www/www.cincitdi.com/modules/pathauto/pathauto.modul » Fatal error: Call to undefined function pathauto_get_placeholders()

mmm... it's quite confusing since the dev version is very old...
I guess we'll see it in a 5.x-2.0 version (or beta-3)... will we?

greggles’s picture

The dev version is from Sep 9th while that issue was fixed on August 26th, so I think it's OK.

It is weird that the -dev tarball hasn't been regenerated recently, but I'm not exactly sure why.

tom friedhof’s picture

Priority: Normal » Critical

Pathauto needs another "Official Release". Beta2 is not working because of pathauto_get_placeholders not being recognized. The dev version got fixed, but the code didn't get CVS tagged after that critical bug was fixed.

greggles’s picture

@tomf - I've now created a new release because I somewhat agree with the substance of your message, but I have to say that I really don't appreciate your tone.

I didn't tag the code on purpose. It's not a mistake, it's on purpose. There's still a showstopper bug in 5.x-2.0-beta3 that will continue to bite people (the punctuation bug) so over the next few days you "need" to keep an eye on the issue queue and whenever somebody tries out 5.x-2.0-beta3, ignores the warning on the new release page, and complains about the punctuation problem you "need" to mark it as a duplicate of the original punctuation overhaul issue.

Thanks.