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

Registration of new user does not work - Iteration 2 #5

Closed
jpowell321 opened this issue Oct 8, 2017 · 1 comment
Closed

Registration of new user does not work - Iteration 2 #5

jpowell321 opened this issue Oct 8, 2017 · 1 comment

Comments

@jpowell321
Copy link

Defect Report 01 submitted.

Dump:

Notice: Undefined variable: conn in C:\Users\April\Documents\IT810\VolunTrackKU\src\voluntrack\DBManager.php on line 55

Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\Users\April\Documents\IT810\VolunTrackKU\src\voluntrack\DBManager.php:72 Stack trace: #0 C:\Users\April\Documents\IT810\VolunTrackKU\src\voluntrack\register.php(14): voluntrack\DBManager->register_user('Jim', 'Tompson', 'r', 'jimto@email.com', '$2y$10$FV24anA5...') #1 {main} thrown in C:\Users\April\Documents\IT810\VolunTrackKU\src\voluntrack\DBManager.php on line 72

@stansakl
Copy link
Owner

Should be fixed in the latest code. Problem was attempting to use self instead of $this.

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