errors after node update: preg_replace unknown modifier '*', illegal offset type
Eep² - July 16, 2007 - 10:13
| Project: | Pathauto |
| Version: | 5.x-1.2 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
After installing Pathauto, I updated a node and, on submission, got a whole bunch of these errors:
# warning: preg_replace() [function.preg-replace]: Unknown modifier '*' in /usr/local/host/apache/vhosts/domain.com/httpdocs/drupal/modules/pathauto/pathauto.module on line 263.
# warning: Illegal offset type in /usr/local/host/apache/vhosts/domain.com/httpdocs/drupal/modules/taxonomy/taxonomy.module on line 1150.
# warning: Illegal offset type in /usr/local/host/apache/vhosts/domain.com/httpdocs/drupal/modules/taxonomy/taxonomy.module on line 1151.
# warning: Illegal offset type in /usr/local/host/apache/vhosts/domain.com/httpdocs/drupal/modules/taxonomy/taxonomy.module on line 1154.
#1
it seems you have two separate errors:
1) "unknown modifier" which is often caused by bad filters http://drupal.org/node/76434
2) the taxonomy offset bug which is probably solved by this issue: http://drupal.org/node/123001
What do you think?
#2
I think the "unknown modifier" error is because I commented out the "strings to remove" entry (
/* a,an,as,at,before,but,by,for,from,is,in,into,like,of,off,on,onto,per,since,than,the,this,that,to,up,via,with */). I guess it doesn't like standard comment syntax... I removed the comment (all of the strings) and the error went away.I disabled index aliases and the other error went away.
Thanks.