Hi guys,
I'm loving the module. It's such a great interface and much better than exposing Rules to end users.
I'm having a slight issue though in that the UI keeps throwing errors like:
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: parsererror
ResponseText:
Notice: Undefined index: account in /sites/all/modules/inline_conditions/modules/commerce_order.inline_conditions.inc on line 197
Warning: array_flip(): Can only flip STRING and INTEGER values! in /includes/entity.inc on line 178
Notice: Undefined index: target_id in l/sites/all/modules/inline_entity_form/inline_entity_form.module on line 440
Warning: array_flip(): Can only flip STRING and INTEGER values! in /sites/all/modules/entity/includes/entity.controller.inc on line 219
If I ignore the error and keep clicking around, it sorts itself out, but it's obviously not idea.
Any ideas?
Phil
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2013-07-26 at 12.54.57.png | 444.87 KB | amillionmonkeys |
Comments
Comment #1
jkuma CreditAttribution: jkuma commentedHi amillionmonkeys,
May you forward us more details about your Drupal instance, the discounts you have created (what are the conditions, the discount type and the offer type).
Thanks in advance,
goldo
Comment #2
jkuma CreditAttribution: jkuma commentedI've moved your issue to Inline conditions because it's not discount related.
Comment #3
jkuma CreditAttribution: jkuma commentedFrom my perspective, you have an issue with the user condition.
Did you get the last version of inline_conditions ? Did you try to enter more than one username in the textfield ? What did you do to get that error ?
Comment #4
jkuma CreditAttribution: jkuma commentedComment #5
amillionmonkeys CreditAttribution: amillionmonkeys commentedSorry for the delay in reply, I've just become a dad for the second time!
To answer your questions, yep I've the latest version of inline_conditions. I've deleted all discounts and click add discount. Order disocunts seems to work fine, but when selecting Product discounts radio button, I immediately get the error message.
Screen grab attached in case any of this info is of use.
Comment #6
jkuma CreditAttribution: jkuma commentedCongrats for your second child, I'm glad to hear it !
Ok, from my perspective, you need to install the last version of commerce_discount, because it's quite obvious when looking to your discount UI, you didn't have the last version. Also, I recommend you to get the last version of inline_entity_form module.
Comment #7
amillionmonkeys CreditAttribution: amillionmonkeys commentedAll done. But still the error. I'm using the Commerce Discount (7.x-1.0-alpha3+0-dev) and the stable release of inline entity forms (7.x-1.3) should I need the dev version instead?
Comment #8
jkuma CreditAttribution: jkuma commentedDid you run the following commands:
Comment #9
amillionmonkeys CreditAttribution: amillionmonkeys commentedAll done, errors still showing. I don't know if this is relevant at all, but I have two product types and am using Commerce Registration. I mention this because I've noticed that the products of the product type with registration enabled are not included in "Apply to" autocomplete box.
Comment #10
jkuma CreditAttribution: jkuma commentedHi amillionmonkeys,
I think your commerce_discount installation is broken. I can't reproduce the issue that's why I'm closing this post. Please, feel free to create a new issue if after a clean install the issue persist on your environment.