The community member pointed out that the documentation for the getKindeSeverSesion() function should be getKindeServerSession(), and this error is present in multiple places. Another community member acknowledged the issue and stated that the team will update the documentation. The community member also mentioned that the documentation is open-source, and users are welcome to submit pull requests to correct or improve it.
Thanks for raising this @Taner I will get the team to update. For future reference our docs are OSS, so you are welcome to make a PR to correct or improve them. https://github.com/kinde-oss/documentation