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 ''10' OFFSET '0'' at line 6 in C:\xampp\htdocs\all\5\functions.php:797 Stack trace: #0 C:\xampp\htdocs\all\5\functions.php(797): PDOStatement->execute(Array) #1 C:\xampp\htdocs\all\5\protocols.php(27): getProtocolsWithPaginationAndSearch(1, 10, '', '', '', '') #2 {main} thrown in C:\xampp\htdocs\all\5\functions.php on line 797