I am in the process of setting up a Drupal 5.1 site using Uniform server. Site is otherwise functional without errors or warnings.
Note: I do not have Category module installed.

I have a standard Category vocabulary called Category with six terms and their corresponding translations in French & Spanish. The vocabulary Category does not have a node Type selected even though it seems to be a required entry. I de-selected this because I did not otherwise know how to hide the standard drop-down selection list from also appearing alonsgside the corresponding radio box on the node post form. (whether or not a node type is checked, the error/warning is the same)

So to the node form - I have a field called Category with a CT radio box widget which has the options:Required & "Save in cck table" checked. "Specify terms to show" - the vocabulary is "category" and no terms are selected.

Errors shown on both the content configure page (appears 18x - I suppose 3 languages x 6 terms) and the content post page (appears 6x - I assume filtered to current language)
"warning: htmlspecialchars() expects parameter 1 to be string, array given in W:\www\drupal-5.1\includes\bootstrap.inc on line 588"

3rd party/non-core modules installed at this time (latest available 5.x/dev):
CCK, ImageCache, Internationalization i18n, Tagadelic, Captcha. TextImage, Comment RSS, Favorite nodes, PathAuto, Legal, Upload preview

Comments

bobdalob’s picture

Resolved in a roundabout way (literally)
Tried selecting 'both' on the configure field (instead of 'Save in CCK' OR 'save as tag').
Lost the multi-line warnings however acquired a one-time warning:
warning: Illegal offset type in W:\www\drupal-5.1\modules\content_taxonomy\content_taxonomy_options.module on line 145
Pending understanding of these warnings, I would have left it there but for the fact I think I just want the setting 'save as tag'. I reverted to this setting and all now seems okay.

leoklein’s picture

Did selected 'Both' write the term to the Taxonomy? Whether I select 'both' or 'tag', still nothing is saved as a Taxonomy Term -- with the Content not selected for the Category.

Naturally when I have the Content selected for the Category the normal Taxonomy widget shows up.

chrisroditis’s picture

Same issue here, any solution?

bobdalob’s picture

dublin drupaller’s picture

Title: warning: htmlspecialchars() expects parameter 1 to be string, array given in W:\www\drupal-5.1\includes\bootstrap.inc on line » warning: htmlspecialchars() expects parameter 1 to be string, array given in bootstrap.inc on line

just changing the post title so it doesn't break the drupal.org layout.
Dub

mh86’s picture

Hi!

I cannot reproduce this problem. Maybe there was some error in a previous dev snapshot. Does this problem still exists?

Thanks
Matthias

magnus’s picture

Status: Active » Closed (cannot reproduce)

Cleanup of old issues. According to maintainer: "active development is only done for the 6.x branch! 5.x is not supported any more".
Open a new issue if this still exist.