Next.js Discord

Discord Forum

Problem after refresh a page

Unanswered
vallec_ posted this in #help-forum
Open in Discord
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

8 Replies

up up
Hello guys, any ideas to fix this bug?
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
@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...