Notice: Undefined variable: idp in /srv/www/paginesi/web_terni6/fasit/categoria-prodotto.php on line 24 Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message 'exception 'PDOException' with message '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 'order by ordine , nome' at line 1' in /srv/www/paginesi/web_terni6/fasit/backend/lib/php-activerecord/lib/Connection.php:322 Stack trace: #0 /srv/www/paginesi/web_terni6/fasit/backend/lib/php-activerecord/lib/Connection.php(322): PDOStatement->execute(NULL) #1 /srv/www/paginesi/web_terni6/fasit/backend/lib/php-activerecord/lib/Table.php(218): ActiveRecord\Connection->query('select * from p...', NULL) #2 /srv/www/paginesi/web_terni6/fasit/backend/lib/php-activerecord/lib/Model.php(1620): ActiveRecord\Table->find_by_sql('select * from p...', NULL, true) #3 /srv/www/paginesi/web_terni6/fasit/categoria-prodotto.php(24): ActiveRecord\Model::find_by_sql('select * from p...') #4 {main}' in /srv/www/paginesi/web_terni6/fasit in /srv/www/paginesi/web_terni6/fasit/backend/lib/php-activerecord/lib/Connection.php on line 325