[2025-08-03T12:04:24.310] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:04:24.312] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:04:24.317] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:04:24.334] [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"
}
[2025-08-03T12:04:24.441] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:04:29.331] [ERROR] /api/specialProducts - Failed to fetch specialProducts in HomePage {
  error: '\n' +
    'Invalid `prisma.orderItems.groupBy()` invocation:\n' +
    '\n' +
    '\n' +
    "Can't reach database server at `103.159.36.34:5432`\n" +
    '\n' +
    'Please make sure your database server is running at `103.159.36.34:5432`.'
}
[2025-08-03T12:08:25.738] [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"
}
[2025-08-03T12:08:25.738] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:08:25.738] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:08:25.740] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:08:25.800] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:08:30.748] [ERROR] /api/categories - Failed to fetch MAIN Categories {
  error: '\n' +
    'Invalid `prisma.categories.findMany()` invocation:\n' +
    '\n' +
    '\n' +
    "Can't reach database server at `103.159.36.34:5432`\n" +
    '\n' +
    'Please make sure your database server is running at `103.159.36.34:5432`.'
}
[2025-08-03T12:08:30.763] [ERROR] /api/inventory - Failed to fetch Products in Inventory {
  error: '\n' +
    'Invalid `prisma.product.findMany()` invocation:\n' +
    '\n' +
    '\n' +
    "Can't reach database server at `103.159.36.34:5432`\n" +
    '\n' +
    'Please make sure your database server is running at `103.159.36.34:5432`.'
}
[2025-08-03T12:08:49.467] [ERROR] /api/specialProducts - Failed to fetch specialProducts in HomePage {
  error: '\n' +
    'Invalid `prisma.productVariant.findMany()` invocation:\n' +
    '\n' +
    '\n' +
    'Server has closed the connection.'
}
[2025-08-03T12:10:08.826] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:10:08.827] [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"
}
[2025-08-03T12:10:08.829] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:10:08.826] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:10:08.881] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:17:00.071] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:17:00.074] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:17:00.076] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:17:00.092] [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"
}
[2025-08-03T12:17:00.101] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:20:54.518] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-03T12:23:27.007] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-03T12:26:06.020] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-03T12:43:41.867] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:43:41.888] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:43:41.891] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:43:41.895] [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"
}
[2025-08-03T12:43:42.111] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:48:37.701] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at c (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\7264.js:1:42211)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\227.js:1:1467)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\227.js:30:20515)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1413)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:48:37.707] [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"
}
[2025-08-03T12:48:37.722] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:48:37.970] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:48:37.977] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:50:53.174] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:50:53.176] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-03T12:50:53.181] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:50:53.183] [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"
}
[2025-08-03T12:50:53.191] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-03T12:54:37.662] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-03T15:39:37.239] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-03T15:44:00.387] [ERROR] /api/checkout - Failed to place an order {
  error: '\n' +
    'Invalid `prisma.orders.create()` invocation:\n' +
    '\n' +
    '{\n' +
    '  data: {\n' +
    '    order_status: "PROCESSING",\n' +
    '    order_total_amount: -33655,\n' +
    '    address: {\n' +
    '      connect: {\n' +
    '        uuid: "e9e8c30c-941e-4c5c-88f0-8f4df67287c1"\n' +
    '      }\n' +
    '    },\n' +
    '    delivery_cost: 0,\n' +
    '    profile: {\n' +
    '      connect: {\n' +
    '        uuid: "e96ad6eb-b5dc-4d92-9f45-b0ef9e74a93b"\n' +
    '      }\n' +
    '    },\n' +
    '    shipment_details: {\n' +
    '      create: {\n' +
    '        name: "Shamir Roy",\n' +
    '        email: "shamirroy94@gmail.com",\n' +
    '        phone: "01980040729",\n' +
    '        receiver_name: "Rashed Ur Rahman",\n' +
    '        shipment_status: "PENDING",\n' +
    '        delivery_cost_id: 3\n' +
    '      }\n' +
    '    },\n' +
    '    payment: {\n' +
    '      create: {\n' +
    '        payment_status: "PENDING",\n' +
    '        payment_method: "Cash On Delivery",\n' +
    '                        ~~~~~~~~~~~~~~~~~~\n' +
    '        amount: -33655,\n' +
    '        profile: {\n' +
    '          connect: {\n' +
    '            uuid: "e96ad6eb-b5dc-4d92-9f45-b0ef9e74a93b"\n' +
    '          }\n' +
    '        }\n' +
    '      }\n' +
    '    },\n' +
    '    order_items: {\n' +
    '      create: [\n' +
    '        {\n' +
    '          quantity: 1,\n' +
    '          variant: {\n' +
    '            connect: {\n' +
    '              uuid: "3d0f0903-65c0-4a45-90d1-eb8c19632e7b"\n' +
    '            }\n' +
    '          },\n' +
    '          price: 44\n' +
    '        },\n' +
    '        {\n' +
    '          quantity: 1,\n' +
    '          variant: {\n' +
    '            connect: {\n' +
    '              uuid: "e8c1ce0f-27ac-4a7b-aa9e-e326248410b0"\n' +
    '            }\n' +
    '          },\n' +
    '          price: 94\n' +
    '        }\n' +
    '      ]\n' +
    '    }\n' +
    '  }\n' +
    '}\n' +
    '\n' +
    'Invalid value for argument `payment_method`. Expected PaymentMethod.'
}
[2025-08-03T23:33:46.305] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '93c6c918-f34b-4ada-9abf-e3b286fb658a',
  email: 'shamirroy49@gmail.com'
}
[2025-08-04T01:53:36.451] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T01:53:36.451] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T01:53:36.458] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T01:53:36.463] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T01:53:36.575] [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"
}
[2025-08-04T01:57:43.628] [INFO] api/auth/auth-options - Sign in successful {
  uuid: '4958532c-fd15-4bd1-b02a-8eba7a157360',
  email: 'shamirroy94@gmail.com'
}
[2025-08-04T01:59:01.576] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T01:59:01.577] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T01:59:01.593] [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"
}
[2025-08-04T01:59:01.599] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T01:59:01.818] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:15:27.724] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:15:27.736] [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"
}
[2025-08-04T13:15:27.827] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:15:27.828] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:15:28.054] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T13:34:19.251] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:34:19.252] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T13:34:19.254] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:34:19.253] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:34:19.257] [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"
}
[2025-08-04T13:52:48.968] [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"
}
[2025-08-04T13:52:48.970] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:52:48.983] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:52:49.047] [ERROR] /api/search - Failed to search an item {
  error: "Dynamic server usage: Route /api/search couldn't be rendered statically because it used `request.url`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T13:52:49.048] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T14:25:39.472] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T14:25:39.470] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T14:25:39.473] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T14:25:39.476] [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"
}
[2025-08-04T15:30:33.159] [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"
}
[2025-08-04T15:30:33.188] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T15:30:33.190] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T15:30:33.191] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T18:09:09.107] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T18:09:09.112] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T18:09:09.113] [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"
}
[2025-08-04T18:09:09.124] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T18:46:37.466] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T18:46:37.466] [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"
}
[2025-08-04T18:46:37.469] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T18:46:37.474] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T23:33:51.779] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T23:33:51.779] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
[2025-08-04T23:33:51.785] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-04T23:33:51.787] [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"
}
[2025-08-07T15:22:26.233] [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"
}
[2025-08-07T15:22:26.234] [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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-07T15:22:26.233] [ERROR] /api/admin/orders - Error fetching orders {
  error: "Dynamic server usage: Route /api/admin/orders couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error"
}
[2025-08-07T15:22:26.235] [ERROR] api/orders - Error occurred when fetching orders {
  errorMsg: "Dynamic server usage: Route /api/orders couldn't be rendered statically because it used `headers`. 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 `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error\n" +
    '    at l (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\9380.js:1:61233)\n' +
    '    at u (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:122570)\n' +
    '    at s (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\chunks\\1083.js:25:20511)\n' +
    '    at m (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\.next\\server\\app\\api\\orders\\route.js:1:1414)\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\compiled\\next-server\\app-route.runtime.prod.js:6:38417\n' +
    '    at C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\next\\dist\\server\\lib\\trace\\tracer.js:140:36\n' +
    '    at NoopContextManager.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\context\\NoopContextManager.js:25:19)\n' +
    '    at ContextAPI.with (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\api\\context.js:60:46)\n' +
    '    at NoopTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\NoopTracer.js:65:31)\n' +
    '    at ProxyTracer.startActiveSpan (C:\\Users\\shami\\OneDrive\\Desktop\\nextjs\\NNN\\barrack_ecom\\node_modules\\@opentelemetry\\api\\build\\src\\trace\\ProxyTracer.js:36:24)',
  errorMeta: null
}
