Unable to set response.
هذا المحتوى غير متوفر بلغتك بعد.
ResponseSentError: The response has already been sent to the browser and cannot be altered.
What went wrong?
Section titled What went wrong?Making changes to the response, such as setting headers, cookies, and the status code cannot be done outside of page components.
Error Reference