I'm getting the following errors when uploading files and using the filepath functionality:

warning: preg_match() expects parameter 2 to be string, array given in /home/mynlada/public_html/includes/bootstrap.inc on line 761.

warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in /home/mynlada/public_html/includes/module.inc on line 473.

I have the file path set to LIB2009/[term]/[title]

When I turn the filepath module off, the error goes away, but of course it doesn't store them in the directories the way they need to be.

Comments

dagmar’s picture

Project: FileField » File (Field) Paths
Version: 6.x-3.0-alpha7 » 6.x-1.x-dev
Status: Active » Closed (duplicate)

Its a Filefield paths bug.

See #311526: Recursion error in filefield_paths