There seems to be a conflict with the Link module, which produces the following error message:

mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/database.mysql.inc on line 321.

This happens if I use a token from a Link CCK field in the NAT replacement pattern. I tried:

[field_name-title]
[field_name-url]
[field_link_s_r-view]

On node creation the node title is saved correctly with the value from the token, as is the Link field, but it generates the error above.

When the node is updated the node Title is updated correctly, but the Link field is not updated, same error message is reported.

Have disabled NAT module and error goes away and Link field works correctly.

Note that the site this is happening on is multi-lingual, so that may also be throwing a gremlin into the mix!

Comments

gaurav.kapoor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)