I am now getting the following error:

warning: Invalid argument supplied for foreach() in /home/.juliette/f4jmkkf4/date.intrepidstreet.com/sites/all/modules/tokenize/tokenize.module on line 94.

I have gotten the error a few times in different places. The one I just got was when bringing up a blog content type. To the best of my knowledge, this module is not being evoked for this content type.

Comments

brucealdridge’s picture

i also get this error, on line 81 & 94

-bruce

rsantiag’s picture

I´ve put foreach inside of a If ($fields != NULL) and all works fine.

Regards.
Ricardo

fsucliff’s picture

This worked for me, thanks...

doc2@drupalfr.org’s picture

After applying both issue remedies from http://drupal.org/node/234600 I still get the error message, now on line 85, within the famous "If ($fields != NULL)".

Couldn't figure out how it worked despite of this...

Amyoung67’s picture

Priority: Normal » Critical

I am not a programmer, and trying to understand where/how to input fix described in post #2 above? Unfortunately the statement "I've put foreach inside of a If ($fields !=NULL)" doesn't help me much, since I am not sure where to input this code and it sounds like it needs to be enclosed in brackets of some kind? I'm sure it's simple, and want to learn, but not currently within my experience.

Can you please post the exact text of line 94 and or lines 93/95 to make the fix?

Thanks!

greggles’s picture

Status: Active » Closed (fixed)

I believe that this has been fixed in the CVS HEAD version of the code, but obviously not in the 5.x-1.0 release. I would like to create a 5.x-1.x-dev release so that people can more easily use that code, but I don't feel it's appropriate to do that until my #272988: status of module (and offer to co-maintain) request for co-maintainership has been answered (or 2 weeks pass). Until then you'll have to check it out of CVS (docs on doing so).