[2026-07-12T22:28:44.614] [ERROR] api/customers - Error fetching customers:  Dynamic server usage: Route /api/admin/customers couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
[2026-07-12T22:28:44.616] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
[2026-07-12T22:28:44.612] [ERROR] /api/users - An error occured while fetching all users {
  error: "Dynamic server usage: Route /api/admin/users couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:28:44.634] [ERROR] /api/admin/dashboard - Failed to fetch dashboard data {
  error: "Dynamic server usage: Route /api/admin/dashboard couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:28:44.613] [ERROR] /api/admin/payments - Failed to fetch payments data {
  error: "Dynamic server usage: Route /api/admin/payments couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:28:44.656] [ERROR] /api/user/payment - Error occurred when fetching paginated reviews {
  errorMsg: "Dynamic server usage: Route /api/user/review couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T22:28:44.654] [ERROR] /api/user/coupons - An error occurred with fetching coupons for an users {
  error: "Dynamic server usage: Route /api/user/coupons couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:28:44.663] [ERROR] /api/user/payment - Error occurred when fetching paginated payments {
  errorMsg: "Dynamic server usage: Route /api/user/payment couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T22:57:11.537] [ERROR] /api/admin/payments - Failed to fetch payments data {
  error: "Dynamic server usage: Route /api/admin/payments couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:57:11.541] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:14:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:51:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:54:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:27:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
[2026-07-12T22:57:11.543] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:57:11.546] [ERROR] /api/admin/dashboard - Failed to fetch dashboard data {
  error: "Dynamic server usage: Route /api/admin/dashboard couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:57:11.561] [ERROR] /api/user/payment - Error occurred when fetching paginated payments {
  errorMsg: "Dynamic server usage: Route /api/user/payment couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T22:57:11.556] [ERROR] api/customers - Error fetching customers:  Dynamic server usage: Route /api/admin/customers couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
[2026-07-12T22:57:11.564] [ERROR] /api/user/coupons - An error occurred with fetching coupons for an users {
  error: "Dynamic server usage: Route /api/user/coupons couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T22:57:11.567] [ERROR] /api/user/payment - Error occurred when fetching paginated reviews {
  errorMsg: "Dynamic server usage: Route /api/user/review couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T22:57:11.573] [ERROR] /api/users - An error occured while fetching all users {
  error: "Dynamic server usage: Route /api/admin/users couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:11:34.418] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:14:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:51:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:54:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:27:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
[2026-07-12T23:11:34.422] [ERROR] api/customers - Error fetching customers:  Dynamic server usage: Route /api/admin/customers couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
[2026-07-12T23:11:34.422] [ERROR] /api/admin/dashboard - Failed to fetch dashboard data {
  error: "Dynamic server usage: Route /api/admin/dashboard couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:11:34.431] [ERROR] /api/admin/payments - Failed to fetch payments data {
  error: "Dynamic server usage: Route /api/admin/payments couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:11:34.436] [ERROR] /api/user/payment - Error occurred when fetching paginated reviews {
  errorMsg: "Dynamic server usage: Route /api/user/review couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T23:11:34.435] [ERROR] /api/user/payment - Error occurred when fetching paginated payments {
  errorMsg: "Dynamic server usage: Route /api/user/payment couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T23:11:34.435] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:11:34.436] [ERROR] /api/users - An error occured while fetching all users {
  error: "Dynamic server usage: Route /api/admin/users couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:11:34.444] [ERROR] /api/user/coupons - An error occurred with fetching coupons for an users {
  error: "Dynamic server usage: Route /api/user/coupons couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.877] [ERROR] /api/admin/payments - Failed to fetch payments data {
  error: "Dynamic server usage: Route /api/admin/payments couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.878] [ERROR] /api/users - An error occured while fetching all users {
  error: "Dynamic server usage: Route /api/admin/users couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.883] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.896] [ERROR] /api/admin/dashboard - Failed to fetch dashboard data {
  error: "Dynamic server usage: Route /api/admin/dashboard couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.894] [ERROR] api/customers - Error fetching customers:  Dynamic server usage: Route /api/admin/customers couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
[2026-07-12T23:13:51.897] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:14:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:51:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:54:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:27:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
[2026-07-12T23:13:51.911] [ERROR] /api/user/coupons - An error occurred with fetching coupons for an users {
  error: "Dynamic server usage: Route /api/user/coupons couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:13:51.913] [ERROR] /api/user/payment - Error occurred when fetching paginated reviews {
  errorMsg: "Dynamic server usage: Route /api/user/review couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T23:13:51.917] [ERROR] /api/user/payment - Error occurred when fetching paginated payments {
  errorMsg: "Dynamic server usage: Route /api/user/payment couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T23:55:45.746] [ERROR] /api/admin/dashboard - Failed to fetch dashboard data {
  error: "Dynamic server usage: Route /api/admin/dashboard couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:55:45.750] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:14:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:51:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:54:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:27:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
[2026-07-12T23:55:45.758] [ERROR] /api/users - An error occured while fetching all users {
  error: "Dynamic server usage: Route /api/admin/users couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:55:45.762] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:55:45.765] [ERROR] api/customers - Error fetching customers:  Dynamic server usage: Route /api/admin/customers couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
[2026-07-12T23:55:45.764] [ERROR] /api/admin/payments - Failed to fetch payments data {
  error: "Dynamic server usage: Route /api/admin/payments couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:55:45.774] [ERROR] /api/user/coupons - An error occurred with fetching coupons for an users {
  error: "Dynamic server usage: Route /api/user/coupons couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2026-07-12T23:55:45.776] [ERROR] /api/user/payment - Error occurred when fetching paginated payments {
  errorMsg: "Dynamic server usage: Route /api/user/payment couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-12T23:55:45.960] [ERROR] /api/user/payment - Error occurred when fetching paginated reviews {
  errorMsg: "Dynamic server usage: Route /api/user/review couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorData: undefined
}
[2026-07-13T00:20:16.324] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
  errorStack: "Error: Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at V (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:21778)\n' +
    '    at Object.get (D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:29465)\n' +
    '    at m (D:\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1410)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:14:19)\n' +
    '    at ContextAPI.with (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:51:46)\n' +
    '    at NoopTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:54:31)\n' +
    '    at ProxyTracer.startActiveSpan (D:\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:27:24)\n' +
    '    at D:\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:122:103',
  errorMeta: null
}
