Whenever I check the Random Loans box I get an error like the following:

Fatal error: Cannot use object of type stdClass as array in /home/www/example.com/htdocs/sites/all/modules/kiva/kiva.module on line 134

It looks like if I change line 90 to:
$loans[] = $json->loans[$key];

from:
$loans = $json->loans[$key];

it will build the array and the error message goes away.

Comments

crookednumber’s picture

Assigned: Unassigned » crookednumber

Thx. I'm getting the error as well.

crookednumber’s picture

Status: Active » Fixed

Fixed in DRUPAL-6--1. You were right, quickcel.

http://drupal.org/cvs?commit=189660

Status: Fixed » Closed (fixed)

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