pathauto generates warning and node path not updated

jscoble - February 21, 2008 - 21:53
Project:Pathauto
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Whenever I submit content to my test D6 site, I get this series of error, and yes, I realize it's the same error 4 times.

* warning: mb_ereg_replace() expects parameter 3 to be string, array given in /var/www/pathtositeroot/sites/all/modules/pathauto/pathauto.inc on line 165.
* warning: mb_ereg_replace() expects parameter 3 to be string, array given in /var/www/pathtositeroot/sites/all/modules/pathauto/pathauto.inc on line 165.
* warning: mb_ereg_replace() expects parameter 3 to be string, array given in /var/www/pathtositeroot/sites/all/modules/pathauto/pathauto.inc on line 165.
* warning: mb_ereg_replace() expects parameter 3 to be string, array given in /var/www/pathtositeroot/sites/all/modules/pathauto/pathauto.inc on line 165.

The node is saved successfully but the path is the same as it would be without the pathauto module installed.

This happens with various content types, this one was for a blog entry. If you need additional information and/or testing on a different install, I can do that, just let me know.

#1

greggles - February 21, 2008 - 22:04
Status:active» postponed (maintainer needs more info)

Are you using freetagging? Does this error still happen if you disable all the taxonomies for the node?

I think this is related to taxonomies and a duplicate of http://drupal.org/node/222637 but I'm not sure.

#2

jscoble - February 21, 2008 - 22:12
Status:postponed (maintainer needs more info)» active

This may have its roots somewhere else. I added a term to taxonomy and received these errors:

warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in /var/www/pathtositeroot/includes/module.inc on line 473.
warning: mb_ereg_replace() expects parameter 3 to be string, array given in /var/www/pathtositeroot/sites/all/modules/pathauto/pathauto.inc on line 165.

#3

jscoble - February 21, 2008 - 22:20

Yes, I'm using freetagging. The problem does not exist if I disable freetagging for that content type.

BTW, I had noticed the more terms I had in freetagging, the more times that error occurred.

Sorry about the duplicate issue, I must have missed that somehow when reviewing the issue queue. I will monitor that issue from here on out.

Thanks.

#4

greggles - February 21, 2008 - 22:35
Status:active» duplicate

Yeah, I'd say it's a duplicate of that issue then.

#5

nrauni - March 29, 2008 - 04:26

i give this erro too..

when i go to save a new node, my pathauto not created a new alias, but the node is save correct.

 
 

Drupal is a registered trademark of Dries Buytaert.