Fatal error: Uncaught mysqli_sql_exception: 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 '' S'
ORDER BY countref.paese' at line 9 in /var/www/html/Reproduction/FishMaturitySummary.php:110
Stack trace:
#0 /var/www/html/Reproduction/FishMaturitySummary.php(110): mysqli->query()
#1 /var/www/html/Reproduction/FishMaturitySummary.php(128): getMaturityDetail()
#2 {main}
thrown in /var/www/html/Reproduction/FishMaturitySummary.php on line 110