Closed (fixed)
Project:
User Relationship Limits
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 22:33 UTC
Updated:
29 Jul 2011 at 23:41 UTC
Using the June 24 Dev...
[code]Notice: Undefined variable: rtid in user_relationship_limits_submit() (line 259 of /sites/all/modules/user_relationship_limits/user_relationship_limits.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'rtid' cannot be null: UPDATE {user_relationship_limits} SET rtid=:db_update_placeholder_0, role_limit=:db_update_placeholder_1 WHERE ( (rid = :db_condition_placeholder_0) ); Array ( [:db_update_placeholder_0] => [:db_update_placeholder_1] => 1 [:db_condition_placeholder_0] => 4 ) in user_relationship_limits_submit() (line 262 of /sites/all/modules/user_relationship_limits/user_relationship_limits.module)[/code]
Comments
Comment #1
melandren commentedWhoops... so used to bbcode...
Comment #2
mrf commentedI was able to narrow this down to a bug with one of UR's api functions. I need to do some more research to what exactly is going wrong there, but its returning the wrong values when I pull in the relationships.
Will update this thread once I know more or come up with a workaround.
Comment #3
mrf commentedAfter a little more investigating it looks like I had no reason to use that API function anyway.
Fixed in the latest dev.