I'm trying to set up a commerce install on a site. I previously installed the rc1, but had it disabled. In order to uninstall it i had to manually delete tables from the database, as reported in this comment:
http://drupal.org/node/858722#comment-4720200

Once they were deleted i installed the commerce module from scratch and configured it, but i'm getting this error when i remove an item from the cart:

Call to a member function value() on a non-object in /var/www/virtual/site.tld/htdocs/sites/all/modules/commerce_file/includes/commerce_file.entities.inc on line 900

Comments

rszrama’s picture

Project: Commerce Core » Commerce File
Version: 7.x-1.0 » 7.x-1.x-dev
Component: Cart » Code
Category: support » bug

Hmm, you shouldn't have had to manually delete any tables. We've had the uninstallation process fixed for a while, documented here. As for your particular error, it's a problem with the Commerce File module, so there's not much I can do for you. It could just be a simple bug in that module; hopefully it isn't anything from the reinstallation.

dmirtillo’s picture

Assigned: Unassigned » dmirtillo
Status: Active » Closed (works as designed)

Thanks for replying and sorry for posting it in the wrong issue queue.

I had to remove the tables manually since i was getting white pages during the uninstall procedure, not even with the updated module files/db. I can't reproduce it now and i think it was due to a bad installation of the module in the first place.

Turns out there were some leftover fields from the previous installation, manually removing those and updating the module to the -dev version, seems to have solved the issue.

I'm closing this ticket!

rszrama’s picture

Ok, great! Glad it's working. : )