Got the following error:
Fatal error: Cannot use object of type stdClass as array in /var/www/html/clue/sites/all/modules/ecommerce/contrib/ec_recurring/ec_recurring.module on line 910

I can find no correlation in the actual module so am looking for a solution.

Comments

grsingleton’s picture

More info on the problem. When proceeding past the fatla error the report reads:

Drupal database update

* user warning: Unknown column 'ec_recurring' in 'field list' query: UPDATE ec_product SET price_interval = 0, price_unit = 'D', price_cycle = 0, ec_recurring = 1 WHERE ptype = 'file' in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '132' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 132, 132) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '133' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 133, 133) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '287' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 287, 287) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '288' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 288, 288) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '289' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (7, 289, 289) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '290' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 290, 290) in /var/www/html/clue/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '291' for key 1 query: INSERT INTO ec_recurring_product (sid, nid, vid) VALUES (1, 291, 291) in /var/www/html/clue/includes/database.mysql.inc on line 172.

The update process was aborted prematurely while running update #1 in file.module. All other errors have been logged. You may need to check the watchdog database table manually.

mark matuschka’s picture

Version: 5.x-3.0 » 5.x-3.1

Hi, did you manage to solve this issue? I have same problem with e-commerce version 5.x-3.1 (except line number is 911 now).

Am upgrading existing existing 4.7 installation with recurring payments.

brmassa’s picture

Status: Active » Closed (fixed)

Guys,

its fixed.

regards,

massa