Unable to list (runway) orders #1041
-
Not sure if this is a configuration issue or something else. I get an error when I click on Orders (/cp/runway/orders).
I tried to debug this. In
The value of So it seems the display() function is causing the error in order overview in CP. I am using database orders and I am using eloquent users. The eloquent users are visible on the customers page on /cp/users. I have no clue why this error occurs. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Can you provide the contents of the blueprint's YAML file? |
Beta Was this translation helpful? Give feedback.
-
This pointed me in the right direction I guess ;-) The error is gone. Thanks! Title and customer are empty but that's another issue I have not looked into yet. |
Beta Was this translation helpful? Give feedback.
-
Seems I have one last issue (hopefully) after the upgrade from 5 to 6. The user is no longer connected to the order in the CP. There is however an order in the database and it does have a customer_id that is the correct id. |
Beta Was this translation helpful? Give feedback.
-
Yeah did that already. I am using an eloquent user. And in my orders.yaml i use it like follows:
Or is it mandatory to user CustomerModel.php? I did not modify that but maybe I should use it? My simple-commerce.php uses the UserCustomerRepository.
|
Beta Was this translation helpful? Give feedback.
-
Yeah! That did the trick! :-) Thanks! Have a good weekend. |
Beta Was this translation helpful? Give feedback.
-
Well, I think the upgrade is almost complete. However, in the front-end I can no longer see the orders.
I also noticed that the orders column remains empty when placing an order. |
Beta Was this translation helpful? Give feedback.
Can you provide the contents of the blueprint's YAML file?