How do you fix this?

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.

A. Clean the page cache
B. Deploy static content
C. Clean the <magento_root>/generated/ folder
D. Clean the config cache

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x