# Blog Tutorial : Auth

**URL:** <https://discourse.cakephp.org/t/blog-tutorial-auth/2073>\
**Category:** Need Help\
**Created:** [February 14, 2017, 4:56pm UTC](https://discourse.cakephp.org/t/blog-tutorial-auth/2073 "2017-02-14T16:56:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonygfr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@anthonygfr](https://discourse.cakephp.org/u/anthonygfr)\
**Post date:** [February 14, 2017, 4:56pm UTC](https://discourse.cakephp.org/t/blog-tutorial-auth/2073/1 "2017-02-14T16:56:10Z")

</div>

Hello !

I have installed CakePhp 3.2.7, everything works !

I’m performing the Blog Tutorial on CakePhp Website and i have an issue.

In the “Authentication and Authorization” section ([https://book.cakephp.org/3.0/en/tutorials-and-examples/blog-auth-example/auth.html](https://book.cakephp.org/3.0/en/tutorials-and-examples/blog-auth-example/auth.html)), if i go to the URL : “/users/add” and I want to add an user, i get this error :

“Method getData does not exist”  
“BadMethodCallException”

I made the tutorial twice, and the same error…  
Do you have a solution ?

Thank you.

A.

---

<div class="post-metadata">

**Author:** ![Graziel](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@Graziel](https://discourse.cakephp.org/u/Graziel)\
**Post date:** [February 15, 2017, 4:01am UTC](https://discourse.cakephp.org/t/blog-tutorial-auth/2073/2 "2017-02-15T04:01:48Z")

</div>

`->getData` is cake 3.4.0 way and currently the tutorial has been updated to use it without informing users that this method is unavailable for cake \<3.4, you should use `->data` instead, iirc there is also `->getParam` that should have note `->param` for cake \<3.4

---

<div class="post-metadata">

**Author:** ![anthonygfr](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@anthonygfr](https://discourse.cakephp.org/u/anthonygfr)\
**Post date:** [February 15, 2017, 7:17am UTC](https://discourse.cakephp.org/t/blog-tutorial-auth/2073/3 "2017-02-15T07:17:25Z")

</div>

Thank you for this useful information.  
So, I will upgrade to version 3.4.0.

I hope that will not be the same for each new version.

😀
