Magento – Bitte warten bei Anlage oder Bearbeitung eines Kunden im Backend

PictureWe had the problem in one shop, that it was not possible to create a new customer on the Magento backend. Likewise, it was not possible, the data of a customer account via the backend to change.

When you click on Save only the clock was “Please wait” displayed and turned and turned – infinitely. The page can not be reloaded and neither a new account created yet an existing stored with changed data.

The system.log commented,:

2016-11-04T12:23:13+00:00 ERR (3): Warning: include(Mage/Eav/Model/Attribute/Data/.php) [<a href=’function.include’>function.include</a>]: failed to open stream: No such file or directory in /public_html/lib/Varien/Autoload.php on line 93
2016-11-04T12:23:13+00:00 ERR (3): Warning: include() [<a href=’function.include’>function.include</a>]: Failed opening ‘Mage/Eav/Model/Attribute/Data/.php’ for inclusion (include_path=/public_html/app/code/local:/home/bfpos/public_html/app/code/community:/home/bfpos/public_html/app/code/core:/home/bfpos/public_html/lib:.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php’) in /home/bfpos/public_html/lib/Varien/Autoload.php on line 93

Wenn man nun Firebug laufen ließ während man den neuen Kunden bzw. Änderungen speichern wollte (Firebug starten, dann unten auf Netzwerk klicken, “All” leave and then “Stairs” click, bevor man auf Speichern klickt. Anschließend wird der aktuelle Befehl angezeigt. For us it was “POST ?isAjax=true”. Now click this line and you can work on “Answer” or “HTML” click, um nähere Infos zu bekommen.

For us it was “Fatal error: Call to a member function setAttribute() on a non-object in /public_html/app/code/core/Mage/Eav/Model/Attribute/Data.php on line 80”

Dies spricht dafür, dass es ein Problem mit einem (Kunden-)Attribut gibt.

Thus, we are open in the database table eav_attribute, where the title of the column “frontend_input” clicked, so dass hiernach sortiert wird.

Nun ging es darum zu schauen, welches Attribut (hier Kundenattribut) das Problem hervorrufen könnte. Und somit schauten wir nach NULL oder gar nichts in dieser Spalte bei einem Kundenattribut. For us it was the attribute “autologin_token”, in which “NULL” stood in this column. We did this on “text” changed and saved.

Anschließend wird das Attribut auch im Kundenkonto (nur im Backend) displayed. Nach Löschen des Caches konnte nun sowohl ein neues Kundenkonto angelegt werden als auch ein bestehendes verändert werden.

Used in Magento versions 1.4 – 1.9 Comments? Additions? Notes? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *