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

scaffold doesn't work properly with phalcon dev-tools 4.0.1 #1429

Closed
ahmetbibi opened this issue Feb 7, 2020 · 1 comment · Fixed by #1436
Closed

scaffold doesn't work properly with phalcon dev-tools 4.0.1 #1429

ahmetbibi opened this issue Feb 7, 2020 · 1 comment · Fixed by #1436
Assignees

Comments

@ahmetbibi
Copy link

When I tried to create a scaffold and execute it I got these errors.

Fatal error: Uncaught Error: Call to undefined method Phalcon\Paginator\Adapter\Model::getPaginate() in /shared/httpd/tennis-club/tennisClub/app/controllers/MemberController.php:47 Stack trace: #0 [internal function]: MemberController->searchAction() #1 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(MemberController), 'searchAction', Array) #2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #3 /shared/httpd/tennis-club/tennisClub/public/index.php(43): Phalcon\Mvc\Application->handle('/member/search') #4 {main} thrown in /shared/httpd/tennis-club/tennisClub/app/controllers/MemberController.php on line 47

I tried them on Ubuntu 18.04, Windows and Devilbox. When I canceled the pagination in Controller Class and in the view page it started to work but still didn't edit or update to the database.

@Jeckerson Jeckerson self-assigned this Feb 8, 2020
@jenovateurs jenovateurs assigned jenovateurs and unassigned Jeckerson Mar 28, 2020
jenovateurs added a commit to les-enovateurs/phalcon-devtools that referenced this issue Mar 28, 2020
@Jeckerson Jeckerson linked a pull request Mar 28, 2020 that will close this issue
3 tasks
@jenovateurs
Copy link
Contributor

jenovateurs commented Mar 29, 2020

Fixed in #1436

@Jeckerson Jeckerson mentioned this issue Apr 10, 2020
@niden niden moved this to Released in Phalcon v5 Aug 25, 2022
@niden niden added this to Phalcon v5 Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants