Request does not match any route.

  • 1KViews
  • Last Post 06 December 2017
0
votes
Gregory Short posted this 28 November 2017

We are testing this as we have 20 Magento sites that we would like to do backups on top of our current snapshot backups.

We have a third party extension installed and we are getting the following errors on several of the fields:
Request does not match any route.

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/***/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/***/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97 Stack trace: #0 /var/www/***/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection)) #1 /var/www/***/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor-&gt;_ in <b>/var/www/***/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php</b> on line <b>97</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/805807835069"}]}}

Is there documentation to get around an error like this?  The "request" error is on the Product table so I really need to get this figured out before I lay down money for the service.

Order By: Standard | Newest | Votes
0
votes
Mariia Zaharova posted this 29 November 2017

We will investigate this issue and contact you as soon as possible.

0
votes
Gregory Short posted this 01 December 2017

Any update on this?

0
votes
Mariia Zaharova posted this 04 December 2017

We are investigating this issue. We will contact you as soon as any news are available.

0
votes
Mariia Zaharova posted this 05 December 2017

Please specify the following details:

1) With what Magento version this error occurs - 1 or 2?

2) Whether Test Connection succeeds?

3) Open Query Tool, select corresponding Magento connection and run these queries (one by one):

select * from Products
select * from InventoryStockItems
select * from SalesOrderCreditMemoItems
select * from SalesOrderCreditMemos
select * from Categories

What is the result? Do you get any errors with these queries?

 

Looking forward to your reply.

0
votes
Gregory Short posted this 05 December 2017

1) This is Magento 2

2) Yes I am able to connect but receive 9 errors, below are the errors from last nights backup.

   InventoryStockItems - Request does not match any route

   Products - Request does not match any route

   SalesOrderCreditMemoComments - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor-&gt;_ in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php</b> on line <b>97</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/1297691641276"}]}}

   SalesOrderCreditMemoItems - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor-&gt;_ in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php</b> on line <b>97</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/1423225915247"}]}}

   SalesOrderCreditMemos - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor-&gt;_ in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php</b> on line <b>97</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/493062326038"}]}}

   SalesOrderInvoiceComments - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\InvoiceInterface, instance of Magento\Sales\Model\ResourceModel\Order\Invoice\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php:64 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\InvoiceRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Invoice\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/InvoiceRepository/Interceptor.php(39): Magento\Sales\Model\Order\InvoiceRepository\Interceptor-&gt;___callPlugins('getList', Ar in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php</b> on line <b>64</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/297954841511"}]}}

   SalesOrderInvoiceItems - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\InvoiceInterface, instance of Magento\Sales\Model\ResourceModel\Order\Invoice\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php:64 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\InvoiceRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Invoice\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/InvoiceRepository/Interceptor.php(39): Magento\Sales\Model\Order\InvoiceRepository\Interceptor-&gt;___callPlugins('getList', Ar in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php</b> on line <b>64</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/1374827162928"}]}}

   SalesOrderInvoices - 

<br /> <b>Fatal error</b>: Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\InvoiceInterface, instance of Magento\Sales\Model\ResourceModel\Order\Invoice\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php:64 Stack trace: #0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\InvoiceRepositoryPlugin-&gt;afterGetList(Object(Magento\Sales\Model\Order\InvoiceRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Invoice\Collection)) #1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/InvoiceRepository/Interceptor.php(39): Magento\Sales\Model\Order\InvoiceRepository\Interceptor-&gt;___callPlugins('getList', Ar in <b>/var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/InvoiceRepositoryPlugin.php</b> on line <b>64</b><br /> {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/1494311592615"}]}}

   SalesOrderItems - Server Internal error. See details in report api/1498848980734

3)
select * from Products - Error: Request does not match any route
select * from InventoryStockItems - Error: Request does not match any route
select * from SalesOrderCreditMemoItems - 

Fatal error:  Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97

Stack trace:

#0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin->afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection))

#1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor->_ in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php on line 97

 

{"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/840945391804"}]}}


select * from SalesOrderCreditMemos

Fatal error:  Uncaught TypeError: Argument 2 passed to Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin::afterGetList() must implement interface Magento\Sales\Api\Data\CreditmemoInterface, instance of Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection given, called in /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php:97

Stack trace:

#0 /var/www/**********/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Aheadworks\Giftcard\Plugin\Model\Order\CreditmemoRepositoryPlugin->afterGetList(Object(Magento\Sales\Model\Order\CreditmemoRepository\Interceptor), Object(Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection))

#1 /var/www/**********/public_html/var/generation/Magento/Sales/Model/Order/CreditmemoRepository/Interceptor.php(39): Magento\Sales\Model\Order\CreditmemoRepository\Interceptor->_ in /var/www/**********/public_html/app/code/Aheadworks/Giftcard/Plugin/Model/Order/CreditmemoRepositoryPlugin.php on line 97

 

{"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/884807715455"}]}}

 


select * from Categories - Worked correctly and returned Categories.

0
votes
Close