Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createToken Method Missing #1

Closed
tiago-gomes opened this issue Jul 14, 2016 · 2 comments
Closed

createToken Method Missing #1

tiago-gomes opened this issue Jul 14, 2016 · 2 comments

Comments

@tiago-gomes
Copy link

Hi crabstudio.

I just found a missing method, can you commit the method?
Thanks

2016-07-15 05:15:44 Error: [BadMethodCallException] Unknown method "createToken"
Request URL: /crabapp/admin/lost-password
Referer URL: http://127.0.0.1/crabapp/admin/lost-password
Client IP: 127.0.0.1
Stack Trace:
#0 /var/www/html/crabapp/src/Controller/Admin/UsersController.php(324): Cake\ORM\Table->__call('createToken', Array)
#1 /var/www/html/crabapp/src/Controller/Admin/UsersController.php(324): App\Model\Table\UsersTable->createToken('geone85@gmail.c...', true, '24 hours')
#2 [internal function]: App\Controller\Admin\UsersController->lostPassword()
#3 /var/www/html/crabapp/vendor/cakephp/cakephp/src/Controller/Controller.php(429): call_user_func_array(Array, Array)
#4 /var/www/html/crabapp/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
#5 /var/www/html/crabapp/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(App\Controller\Admin\UsersController))
#6 /var/www/html/crabapp/webroot/index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#7 {main}

@anhtuank7c
Copy link

anhtuank7c commented Jul 15, 2016

Ensure that you get the latest package version 3.2.8: (remove downloaded composer package if exist)

composer self-update
composer create-project --prefer-dist crabstudio/app demo

The createToken method located here

@tiago-gomes tiago-gomes changed the title createTokem Method Missing createToken Method Missing Jul 15, 2016
@anhtuank7c
Copy link

anhtuank7c commented Jul 16, 2016

@tiago-gomes Can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants