سؤال

When updating a company in the Magento Admin, I am seeing this error:

No company admin website ID is specified in request.

When that error occurs, I am redirected to the New Company form. Has anyone ever experienced this issue?

هل كانت مفيدة؟

المحلول

I finally had the time to return to this task and debug it properly using xDebug, and found the issue:

A preference for the Save Controller had been created by a previous developer which was missing CustomerInterface::WEBSITE_ID from the $allFormFields array in the extractData() method. 🤦🏽‍♂️

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top