pathauto generates warning and node path not updated
| Project: | Pathauto |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
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
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
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
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
Yeah, I'd say it's a duplicate of that issue then.
#5
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.