When I go to "Add Relationship type" I get this warning;

warning: Missing argument 1 for user_related_content_relationship_type_form() in /hsphere/local/home/mkupka/beta.dealocal.co.uk/sites/default/modules/user_related_content/user_related_content.module on line 423.

I wen't ahead and created the relationship anyway and I got:

* warning: Missing argument 1 for user_related_content_relationship_type_form() in /hsphere/local/home/mkupka/beta.dealocal.co.uk/sites/default/modules/user_related_content/user_related_content.module on line 423.
* user warning: Duplicate entry '1-0' for key 1 query: INSERT INTO user_related_content_relationship_type_content_types (rtid, content_type) VALUES (1, '0') in /hsphere/local/home/mkupka/beta.dealocal.co.uk/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '1-0' for key 1 query: INSERT INTO user_related_content_relationship_type_content_types (rtid, content_type) VALUES (1, '0') in /hsphere/local/home/mkupka/beta.dealocal.co.uk/includes/database.mysql.inc on line 172.

But it disappeared after refreshing the page ... (the first warning is still there in the "Add Relationship type")

Any suggestions?

Comments

ejort’s picture

Thanks for the report, I just noticed the same issue with creating new relationship types myself. I'll put the fix into CVS and release a new version in a few days.

manoloka’s picture

Thanks

Please let me know when new release is uploaded :=)

yukichan’s picture

I received the same message:

warning: Missing argument 1 for user_related_content_relationship_type_form() in .../sites/all/modules/user_related_content/user_related_content.module on line 423.

dleeward’s picture

Is this module being maintained?