Problem after refresh a page
Unanswered
vallec_ posted this in #help-forum
vallec_OP
Hello guys!
I have an app written in Next 14. When I try to refresh specific pages of the app I get this error in the screenshot. You can try reproducing the bug in these steps:
1. Go to - https://cupffee.me/en/cart
2 - Click on checkout button
3 - Refresh the page
Checkout page: https://pastebin.com/96ETzrj2
ShippingAndBilling Component: https://pastebin.com/1jFGYnw2
OrderSummary Component: https://pastebin.com/kZDt9iVD
I have an app written in Next 14. When I try to refresh specific pages of the app I get this error in the screenshot. You can try reproducing the bug in these steps:
1. Go to - https://cupffee.me/en/cart
2 - Click on checkout button
3 - Refresh the page
Checkout page: https://pastebin.com/96ETzrj2
ShippingAndBilling Component: https://pastebin.com/1jFGYnw2
OrderSummary Component: https://pastebin.com/kZDt9iVD
8 Replies
vallec_OP
up up
vallec_OP
Hello guys, any ideas to fix this bug?
@vallec_ Hello guys!
I have an app written in Next 14. When I try to refresh specific pages of the app I get this error in the screenshot. You can try reproducing the bug in these steps:
1. Go to - https://cupffee.me/en/cart
2 - Click on checkout button
3 - Refresh the page
Checkout page: https://pastebin.com/96ETzrj2
ShippingAndBilling Component: https://pastebin.com/1jFGYnw2
OrderSummary Component: https://pastebin.com/kZDt9iVD
that's weird... but this code is too big for me to parse through it. could you make a minimal reproduction repository?
vallec_OP
I have tried and it seemed to worked but just about 4-5 hours I didnt touch anything and it got the same bug again. No change files, no commits, nothing…
And one more thing. When I run the app on localhost it runs everything smoothly. The bug occurs only on production
vallec_OP
@joulev I have found this thread related to the same problem but it's not working in my case. https://stackoverflow.com/questions/76401198/next-js-13-how-to-fix-json-caching-issue-on-website-after-session
well this doesn't make it any easier to guess where the problem is...