When trying to view an order I get these errors:
The website encountered an unexpected error. Please try again later.
Type php
Date Wednesday, February 17, 2016 - 19:36
User Chris Fiedler
Location https://chrisfiedler.com/admin/store/orders/21
Referrer https://chrisfiedler.com/admin/store/orders/view?order_id=&order_status=All
Message Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("user") to generate a URL for route "entity.uc_order.display". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 177 of /home/user/public_html/core/lib/Drupal/Core/Routing/UrlGenerator.php).
Severity Error
The next error, I think it's an anonymous order (its blank where the name link would be in the orders list)
Fatal error: Call to a member function getPlugin() on null in /home/user/public_html/modules/ubercart/payment/uc_payment/src/Plugin/PaymentMethodManager.php on line 50
Type php
Date Wednesday, February 17, 2016 - 19:19
User Chris Fiedler
Location https://chrisfiedler.com/admin/store/orders/16
Referrer https://chrisfiedler.com/admin/store/orders/view?order_id=&order_status=All
Message Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 232 of /home/user/public_html/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Severity Warning
on another account i can view the order with the name associated with it but not the anonymous order, that one just gets a server error page. (i think it's an anonymous order) its blank where the name link would be in the view orders list.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2670800.patch | 573 bytes | longwave |
|
Comments
Comment #2
longwaveSlightly confused where route "entity.uc_order.display" comes from as we don't have a route with this name, but the attached patch may help (you will need to rebuild caches after applying it).
The second one appears related to #2655848: Deleting a payment method is bad., have you deleted a payment method that was previously used?
Comment #3
sushichris CreditAttribution: sushichris commentedAh yes I have previously deleted a payment, (which has caused other errors that were fixed). The patch provided fixed my issue for this issue as well. Thanks! As for where the "entity.uc_order.display" comes from... maybe from deleting the payment method?
Comment #5
longwaveCommitted #2, thanks for the report and testing the patch.
Comment #7
stellarvisions CreditAttribution: stellarvisions commentedI found this most helpful
https://www.drupal.org/node/2396677