Bugs of OOP

Home Forums Bugs Bugs of OOP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1416
    samiolelezi
    Participant

    Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\xampp\htdocs\OOP\classes\db.class.php:48 Stack trace: #0 C:\xampp\htdocs\OOP\classes\db.class.php(48): PDOStatement->execute(Array) #1 C:\xampp\htdocs\OOP\classes\db.class.php(74): DB->run() #2 C:\xampp\htdocs\OOP\classes\user.class.php(124): DB->all() #3 C:\xampp\htdocs\OOP\index.php(18): User->get_all() #4 {main} thrown in C:\xampp\htdocs\OOP\classes\db.class.php on line 48

    #1417
    samiolelezi
    Participant

    to fix this error you need to go in index php and put this line in comments to get the code worked and have the output of users

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.