1

Please try the following code: use Magento\Framework\App\Action\Context; use Magento\Framework\App\CacheInterface; use Psr\Log\LoggerInterface; class Search extends \Magento\Framework\App\Action\Action { protected $cache; protected $logger; public function __construct( Context $context, CacheInterface $cache, ...


Only top voted, non community-wiki answers of a minimum length are eligible