Skip to main content

This generally crops up when you add another parameter to the constructor because Magento caches it in var/generation. As Marius suggests you need to clear var/generationYou need to clear var/generation which forces Magento to regenerate the interceptor.

This generally crops up when you add another parameter to the constructor because Magento caches it in var/generation. As Marius suggests you need to clear var/generation which forces Magento to regenerate the interceptor.

This generally crops up when you add another parameter to the constructor because Magento caches it in var/generation. You need to clear var/generation which forces Magento to regenerate the interceptor.

Source Link
Smartie
  • 3.3k
  • 1
  • 13
  • 29

This generally crops up when you add another parameter to the constructor because Magento caches it in var/generation. As Marius suggests you need to clear var/generation which forces Magento to regenerate the interceptor.