I'm getting the following errors when previewing a node:
* warning: Invalid argument supplied for foreach() in /home/mysite/public_html/dev/sites/all/modules/cck/content.module on line 1113.
* warning: Invalid argument supplied for foreach() in /home/mysite/public_html/dev/sites/all/modules/cck/content.module on line 1153.
* warning: Invalid argument supplied for foreach() in /home/mysite/public_html/dev/sites/all/modules/cck/content.module on line 1153.
* warning: Invalid argument supplied for foreach() in /home/mysite/public_html/dev/sites/all/modules/cck/includes/content.token.inc on line 18.
This is happening with my current site running D6.3, tried it with CCK 6.x-2.0-beta, 6.x-2.0-rc4 and 6.x-2.x-dev but its still returning those errors. I tried doing a fresh install of CCK and re-recreated my fields thinking that this might go away. I also installed two new D6.3 sites with same modules as the current (different database) but the ERRORS STILL PERSIST.
Errors persist on any node type with a link field (versions 6.x-2.2, 6.x-2.3 and 6.x-2.3.1). If I leave the link field blank or disable it the preview problem seems to go away.
Please don't move this to Link issue as I already have one posted there that does not seem to get any attention. I saw similar issues here regarding this but it involves Drupal 4 and 5, also a preview problem but with some other fields. All they gotta do is upgrade to latest CCK and content.module to solve their problem. Although my problem only persist when a link field is present I think this still has something to do with CCk itself.
If you want to take an actual look to whats happening on my site please go to xxxxx login as testuser and 123456 as the pw. Create a 'Test Content with Link' then preview that so you can see the error and check whats going on.
This one is such a show-stopper and I'm trying to figure this one out for 5 days now. PLEASE HELP.
Comments
Comment #1
karens commentedThis is a link module issue. We cannot fix it in CCK. You already have an issue posted on the link module issue queue. Posting another one here won't do any good because we can't do anything about it.
Comment #2
halloffame commentedJust please leave this issue open so that more people will have the opportunity to look at it. Thank you.
Comment #3
dopry commented@evilgenius: no leave this issue closed as it is not a CCK issue and a CCK maintainer already closed it. When you have an issue queue with over 500 issues in it you can decide what should stay opened or be closed. Until then leave this issue closed and wait on the issue with link.module to be resolved.
Comment #4
dopry commented@evilgenius: no leave this issue closed as it is not a CCK issue and a CCK maintainer already closed it. When you have an issue queue with over 500 issues in it you can decide what should stay opened or be closed. Until then leave this issue closed and wait on the issue with link.module to be resolved.
Comment #4.0
halloffame commentedRemove ref to the site..