0

When trying to delete customer accounts I'm getting a blank white screen this is the full error:

PHP Fatal error: Call to a member function getId() on string in /app/code/core/Mage/Core/Model/Resource/Db/Abstract.php on line 507

Any help is greatly appreciated.

Magento 1.9

1 Answer 1

0

Does seem like it's loading the customer, so it can't load the ID for the customer.

Custom extension for frontend delete (GDPR) or is this just default admin delete from the grid or delete from inside the customer account view within the admin?

4
  • From the manage customers screen whether i check off a single customer or multiple the same thing happens. Thanks for the help.
    – msta777
    Jul 15, 2021 at 17:24
  • Version of Magento 1?
    – elfling
    Jul 15, 2021 at 17:30
  • version 1.9.3.9
    – msta777
    Jul 15, 2021 at 21:45
  • Are you able to delete directly from the customer page? What does your request show in the browser in the network tab when you press submit. Does it show a customer_id?
    – elfling
    Jul 19, 2021 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.