سلام استاد.تو منوی دسته بندی ها،categoryها میاد اما وقتی روی یکی کلید می کنم خطای سریالایزینگ میده.
Server Error
Error: Error serializing `.category` returned from `getStaticProps` in "/category/[slug]".
Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value.
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
isSerializable
سلام همون طور که خطا گفته یکی از دسته بندی ها مقدار undefined داره . احتمالا باید دیتابیس رو بررسی کنی.