I have a Reorder class in my extension, it was extends abstract Reorder at Magento\Sales\Controller\AbstractController\Reorder

In abstract it have execute method, but when I call it on Reorder class by

class Reorder extends \Magento\Sales\Controller\AbstractController\Reorder
    public function execute()

It return 404 page without any error. I tried


at beginning of execute method of abstract but it doesn't return anything and still return 404 page.

Anyone can help me. Thanks.

  • please share your code? – Amit Bera Dec 23 '16 at 8:51
  • Did you configure routes.xml? – Phoenix128_RiccardoT Dec 23 '16 at 9:00
  • @AmitBera Check my edit – Henry Bui Dec 23 '16 at 9:03
  • @RiccardoT of course, it run when I var_dump before parent::execute(); – Henry Bui Dec 23 '16 at 9:04

do you have an order id defined in your request?

The execute method calls the load function on the OrderLoader Object which redirects you to noroute if no order id is specified


  • I don't, but I had var_dump and die() before it call loader. It still return 404 – Henry Bui Dec 23 '16 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.