Hi,

Thanks for contributing this module. I work with a number of non-profits who will find it very useful. However, it's not working for me on the first site I have tried it out on. No matter what state I set the orders to, the thermometer is not updating to show the donations received. I have tried Pending, Completed, and Checkout: Complete to no avail. I am also seeing a number of php errors in the log related to this module. Here they are:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in commerce_contributions_rules_update_sell_price() (line 563 of /sites/all/modules/commerce_contributions/commerce_contributions.module).

Notice: Trying to get property of non-object in commerce_contributions_rules_update_sell_price() (line 563 of /sites/all/modules/commerce_contributions/commerce_contributions.module).

Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalCommerceEntityController->buildQuery() (line 44 of /sites/all/modules/commerce/includes/commerce.controller.inc).

Any help getting this working would be greatly appreciated. Please let me know if I can provide any other information to help. The module is currently installed on a fairly clean site. I had tried to get it working on an older site (with many more modules) but could not get it work there at all so I placed it on a simpler installation that only does commerce.

Thanks! Jen

Comments

jenniferannwalsh’s picture

Here's another php error that I'm getting:
Notice: Undefined property: stdClass::$nid in commerce_contributions_field_formatter_view() (line 331 of /sites/all/modules/commerce_contributions/commerce_contributions.module).

jenniferannwalsh’s picture

Another error that is showing up in the log. Any suggestions greatly appreciated. Unfortunately, I've had to use a Flash widget that I update manually to track donations in the meantime.

Notice: Trying to get property of non-object in commerce_contributions_view_contributions() (line 166 of /sites/all/modules/commerce_contributions/commerce_contributions.module).

compujohnny’s picture

Status: Active » Fixed

These issues should be fixed in the new updates

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.