Error: getStaticPaths is required for dynamic SSG pages and is missing for “xxx”. NextJS

If you are creating a dynamic page eg: product/[slug].tsx then even if you don’t want to create any page on build time you need to create a getStaticPaths method to set the fallback property and let NextJS know what to do when the page you are trying to get doesn’t exist. export const getStaticPaths: GetStaticPaths<{ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)