Closed (fixed)
Project:
ImageField Tokens
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2009 at 13:39 UTC
Updated:
3 May 2009 at 23:00 UTC
I got a warning
warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in [...]\drupal6\includes\module.inc on line 473.
If I edit a node with an Imagefield and ImageField_tokens enabled: in my node the ImageField is empty and no edit is done in that field.
I try to exclude the function "imagefield_tokens_filefield_paths_process_file" (putting a return in the first line) and the warning disappears.
Any idea?
Comments
Comment #1
thepanz commentedFurther more: I edited the function's code and comment out the token_replace() for 'field' argument, and it's working without errors (yes, I know... 'field' tokens won't be used)
Regards
Comment #2
decipheredSounds like this issue: #311526: Recursion error in filefield_paths.
Get the latest FileField Paths dev build and you should be fine.
Issue is minor as it only shows a warning, doesn't break any functionality.
Cheers,
Deciphered.
Comment #3
thepanz commentedI'm using latest -dev release of both modules (HEAD for the first, and DRUPAL-6--1 for the second one).
I'll do further investigations..
Regards
Comment #4
decipheredHi thePanz,
While I haven't reproduced this issue, I recant my previous comment, that particular fix would not have fixed this issue directly, something still needs to be changed in ImageField Tokens for that previous fix to fix this issue.
A fix will be committed shortly.
Cheers,
Deciphered.
Comment #5
decipheredFixed and committed to HEAD and DRUPAL-5.
You will need to update FileField Paths to the latest dev build as well.
Both FileField Paths and ImageField Tokens development builds should be available in the next few hours.
Cheers,
Deciphered.