Active
Project:
UC Recurring Payments and Subscriptions
Version:
7.x-2.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2013 at 01:03 UTC
Updated:
3 Feb 2013 at 01:03 UTC
Hello,
Just ran into a simple error:
Warning: in_array() expects parameter 2 to be array, null given in drupal_write_record() (line 7037 of /includes/common.inc).
This error occured on the Subscription Manager page after creating a new subscription without setting the Assigned role for promotion.
I believe this error is due to the assigned role needing to be an array, but since nothing is selected it is null.
Either this field should be required, or an empty array needs to be created if no assigned role is selected.
Cheers,
jordan