bagisto / bagisto

Free and open source laravel eCommerce platform
https://bagisto.com
Open Software License 3.0
15.27k stars 2.2k forks source link

500 Internal Server error in console as Transaction Datagrid Not working. #9544

Closed ashishkumar-webkul closed 8 months ago

ashishkumar-webkul commented 8 months ago

Terms

Bagisto Version(s) affected

v2.1.1

Issue Description

When we check the transaction section in the Admin end, there we can see that the transaction data grid is not working. Getting 500 Internal Server Error in console.

Preconditions

  1. Admin should be logged in.
  2. Data should be present in Transaction section.

Steps to reproduce

  1. Go to Admin -> Sales -> Transactions.
  2. Open Console -> Check the error in console.

Expected Result

There should be no exceptional error in console.

Please fix the issue here -> https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Admin/src/DataGrids/Sales/OrderTransactionsDataGrid.php#L106

Actual Result

Currenty we can see that error is appearing.

Video

https://github.com/bagisto/bagisto/assets/92721837/b313eabd-4e2a-4075-bdb2-ab8c7c9a6b72

Screenshots

No response

Additional context

No response

ashishkumar-webkul commented 8 months ago

Checked and found that the issue has been fixed and PR has been merged. Hence I am closng the issue. Please check the the Video for the reference.

Video

https://github.com/bagisto/bagisto/assets/92721837/efa700c2-02cc-4fd6-92b4-f21728dd7fc3