Class Vendor\Mymodule\Controller\Adminhtml\Allimports\Save\Interceptor does not exist
I have a custom form and when I save data this error message, how to fix it, except usage di: compile. Thank you.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
There might be a chance that you have created a function name and earlier you were not passing any argument in that function. After some changes, you passed one argument to the same function. In this case, an error will come.
So just rename that function name and again run all commands i.e. di:compile. setup:upgrade , s:s:d -f, cache:flush. It will work.
Kudos if this solution work