All the code he has done up to the end of the login video has worked perfectly without any deviation from his results.
The first error I get is from the login.php file after entering a correct username, password and hitting the submit button.
(  = input fields )
Warning: Illegal offset type in C:\xampp5.6.8\htdocs\ooplr2\classes\Session.php on line 8
And from the index.php where he did the temporary check to show that you were actually logged in by displaying the id I got
Warning: Illegal offset type in C:\xampp5.6.8\htdocs\ooplr2\classes\Session.php on line 12
I did some searching on google and all I got was that it was an "string abuse that was not given an error in php 5.3.x and earlier versions".
Is there something wrong in the code he did or did I do something wrong, I check, rechecked, rechecked the rechecked and rechecked all the rechecks on the Session class code, and can't find anything wrong with it. ?_?