cancel
Showing results for 
Search instead for 
Did you mean: 

Plugin not working for Magento\Framework\App\Http afterLaunch

Plugin not working for Magento\Framework\App\Http afterLaunch

Plugin not working for Magento\Framework\App\Http afterLaunch

2 REPLIES 2

Re: Plugin not working for Magento\Framework\App\Http afterLaunch

Hi @selva7890,

 

Can you share your plugin code?

Also, which version of Magento are you using?

Re: Plugin not working for Magento\Framework\App\Http afterLaunch

You have to use observer instead of Plugin for Launch method,

 

use event,

controller_front_send_response_before

 

Check all the events from List of all events. 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial