esdev Posted November 19, 2009 Share Posted November 19, 2009 I recently updated to PrestaShop 1.2.5 on a shop in production. Seemed to go fine.I only had 1 admin account that was created at install. I decided to add a Manager profile for my client to use. I did this and added an 'employee' and assigned it to the Manager profile.Suddenly, I have not only a new employee, but also a new customer w/ the same name/email as the new employee.I get the following error when going to Customers in the BO: Fatal error: Call to a member function nbProducts() on a non-object in /home/xxx/public_html/shop/classes/uspsRate.php on line 67 This error also appears when viewing the BO>Customers>Carts page. A previous test customer's cart shows up, but the other customer (created by a bug in PS when created the new employee?) gives the above error.I believe this issue was caused by a fluke of some kind in PrestaShop when I created the new employee. Because it's not really supposed to be customer, there was no cart; thus no products added to the cart. This is why the error shows up (if I'm understanding the error correctly).I have added another employee and no more new customers showing up, so I think it was just a fluke.Now, how do I fix this error. It's preventing and new carts from displaying.I went into phpMyAdmin and tried deleting out the customer. It no longer shows the customer in the Customers page and there's no Fatal error message. However, I still get the error in the Customers>Carts page.Any suggestions? Link to comment Share on other sites More sharing options...
Yafay Posted November 23, 2012 Share Posted November 23, 2012 Hi esdev, The same as your issue here, I get this message after check out: Fatal error: Call to a member function nbProducts() on a non-object in /home/wwwroot/modules/westernunion/westernunion.php on line 167 Link to comment Share on other sites More sharing options...
Xcorpion306 Posted November 26, 2012 Share Posted November 26, 2012 Same problem here with the bankwire module.....ANY HELP please ..... Link to comment Share on other sites More sharing options...
Recommended Posts