Fatal error

Uncaught exception: 'PDOException'

Message: 'SQLSTATE[42000]: Syntax error or access violation: 1065 Query was empty'

Stack trace:

#0 /var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/App/Models/Ricercaofferte.php(119): PDO->query('')
#1 /var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/App/Controllers/Offerte.php(191): App\Models\ricercaofferte::getOffers(Array, Array, NULL)
#2 [internal function]: App\Controllers\Offerte->ricercaAction()
#3 /var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/Core/Controller.php(84): call_user_func_array(Array, Array)
#4 /var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/Core/Router.php(164): Core\Controller->__call('ricerca', Array)
#5 /var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/public/index.php(35): Core\Router->dispatch('Offerte/ricerca')
#6 {main}

Thrown in '/var/www/vhosts/test.risparmiatu.com/renew.risparmiatu.com/App/Models/Ricercaofferte.php' on line 119