Home › Forums › Bugs › Erroret ne OOP This topic has 1 reply, 1 voice, and was last updated 8 months ago by samiolelezi. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 24, 2025 at 1:42 pm #1412 samioleleziParticipant Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘database_oop.users’ doesn’t exist in C:\xampp\htdocs\OOP\classes\db.class.php:145 Stack trace: #0 C:\xampp\htdocs\OOP\classes\db.class.php(145): PDOStatement->execute(Array) #1 C:\xampp\htdocs\OOP\classes\user.class.php(71): DB->query(‘show columns fr…’) #2 C:\xampp\htdocs\OOP\index.php(16): User->__call(‘get_by_id’, Array) #3 {main} thrown in C:\xampp\htdocs\OOP\classes\db.class.php on line 145 May 26, 2025 at 10:39 am #1413 samioleleziParticipant you need to see the $values because all the problems is given there ive tried like this in the function run so the code executed without errors $stm = self::$con->prepare($this->query); // Prepare the SQL query // Use passed-in values or saved instance values $use_values = !empty($values) ? $values : $this->values; Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In