Question

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?

Was it helpful?

Solution

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. 🤦🏽‍♂️

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top