Maybe this is just because I am developing this locally but I get this error in my log whenver I try to add a term to my Ubercart catalog. When I enter my term information and click submit to add the term, I get a white screen of death. So I looked in my PHP log and this is the entry that was created because of this:

[08-Sep-2010 23:55:55] PHP Fatal error: Call to undefined function _pathauto_include() in /Applications/MAMP/htdocs/kofootball_drupal/sites/all/modules/ubercart/uc_catalog/uc_catalog.module on line 525

maybe this is because of Ubercart and I am putting this in the wrong location but any help would certainly be appriciated.

Thank you.

Comments

dave reid’s picture

Title: Path auto may cause Ubercart to throw a WSOD » Undefined function _pathauto_include()
Project: Pathauto » Ubercart
Version: 6.x-1.4 » 6.x-2.x-dev

This is definitely a bug in Ubercart which should not be calling a module's private function.

The proper way to do this is to use module_load_include('inc', 'pathauto);

tr’s picture

Status: Active » Closed (duplicate)