Timeline for Magento 2 - Got Error in Adminhtml Controller
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 13, 2016 at 7:23 | comment | added | Priya Ponnusamy | full code updated. | |
Jul 13, 2016 at 7:09 | comment | added | Priya Ponnusamy | Ok i will update now | |
Jul 13, 2016 at 7:08 | comment | added | Manashvi Birla | post the full code of your controller along with the constructor | |
Jul 13, 2016 at 7:05 | comment | added | Priya Ponnusamy | yes i did...there i get below arror Recoverable Error: Argument 1 passed to [NameSpace][ModuleName]\Controller\Adminhtml[ModuleName]\Index::__construct() must be an instance of [NameSpace][ModuleName]\Controller\Adminhtml[ModuleName]\Context, instance of Magento\Backend\App\Action\Context given, called in C:\wamp\www\magento-2.0.7\var\generation[NameSpace][ModuleName]\Controller\Adminhtml[ModuleName]\Index\Interceptor.php on line 14 and defined in C:\wamp\www\magento-2.0.7\app\code[NameSpace][ModuleName]\Controller\Adminhtml[ModuleName]\Index.php on line | |
Jul 13, 2016 at 6:46 | comment | added | Manashvi Birla | turn on the developer mode to know the error | |
Jul 13, 2016 at 6:42 | comment | added | Priya Ponnusamy | using execute() is working but it didnot show my admin it displays "There has been an error processing your request" | |
Jul 13, 2016 at 6:38 | history | edited | Manashvi Birla | CC BY-SA 3.0 |
added 1 character in body
|
Jul 13, 2016 at 6:32 | history | answered | Manashvi Birla | CC BY-SA 3.0 |