You added a new constructor argument to an existing action controller class. When you reload the page you get a PHP error that the wrong argument is passed to the class. How do you fix this?
A) Clean the page cache
B) Deploy static content
C) Clean the <magento_root>/generated/ folder Clean the <magento_root>/generated/ folder
D) Clean the config cache
Correct Answer:
Verified
Q17: How many shipping addresses may be selected
Q18: A module you are working on needs
Q19: \Magento\Sales\Model\Api\OrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and
Q20: You are setting up a brand new
Q21: You have been given the task of
Q23: A custom module must make changes to
Q24: Your module adds a new controller class
Q25: Which entity in Magento supports scoped attributes?
A)
Q26: You are creating a new page layout
Q27: You have loaded an instance of Magento\Catalog\Model\Product
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents