Hi i am reworking on my password security on the register page so far it is okay apart from the fact that im getting this error:
Fatal error: Call to a member function create() on a non-object
` $bcrypt = new Bcrypt;
try {
$email1->create(array(
` 'username' => Input::get('username'),`
'password1' => $bcrypt->hash(Input::get('password')),
'firstname' => Input::get('name'),
'surname' => Input::get('surname'),
'pnumber' => Input::get('pnumber'),
'email1' => Input::get('email'),
'ipaddress' => Input::get('ipaddress'),
'signup_date' => date('Y-m-d H:i:s'),
'group' => 1
));`
the error is on the line
'username' => Input::get('username'),
does anyone have an idea of what it could be?