Warning: Missing argument 4 for PTRW\Model\Objects::getObjects(), called in /home/aglotroter/www/src/Controller/Routes.php on line 53 and defined in /home/aglotroter/www/src/Model/Objects.php on line 43

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' 50' at line 1 in /home/aglotroter/www/src/Model/Objects.php:46 Stack trace: #0 /home/aglotroter/www/src/Model/Objects.php(46): PDO->query('SELECT * FROM (...') #1 /home/aglotroter/www/src/Controller/Routes.php(53): PTRW\Model\Objects->getObjects(0, 0, 0) #2 /home/aglotroter/www/index.php(16): PTRW\Controller\Routes->makeroute() #3 {main} thrown in /home/aglotroter/www/src/Model/Objects.php on line 46