Warning: Missing argument 1 for CrudKit\Pages\BasicLoginPage::preprocess(), called in C:\xampp\htdocs\kit\vendor\skyronic\crudkit\src\CrudKit\CrudKitApp.php on line 51 and defined in C:\xampp\htdocs\kit\vendor\skyronic\crudkit\src\CrudKit\Pages\BasicLoginPage.php on line 67 #71

Open
ispcpr opened this Issue Aug 23, 2016 · 5 comments

Projects

None yet

6 participants

@ispcpr
ispcpr commented Aug 23, 2016 edited

Warning: Missing argument 1 for CrudKit\Pages\BasicLoginPage::preprocess(), called in C:\xampp\htdocs\kit\vendor\skyronic\crudkit\src\CrudKit\CrudKitApp.php on line 51 and defined in C:\xampp\htdocs\kit\vendor\skyronic\crudkit\src\CrudKit\Pages\BasicLoginPage.php on line 67

@rstuckart

In /vendor/skyronic/crudkit/src/CrudKit/CrudKitApp.php, public function useLogin calls $login->preprocess (); I changed it to $login->preprocess ($this); and there are no errors.

@nzjs
nzjs commented Oct 15, 2016

Had the same issue, resolved with the fix by @rstuckart

@sidgitind

@rstuckart solution works

@Byter-Bit
Byter-Bit commented Jan 11, 2017 edited

Again, rstuckart's solution works; line 52 in CrudKitApp.php. Many thanks rstuckart.

@marco-gagliardi

tried the solution, no more errors, but logging in with provided credentials apparently does nothing.. (I see the login form, and no error/wrong credentials message is shown)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment