Warning: htmlentities() expects parameter 1 to be string, array given in /var/www-prod/cranehunter/core.php on line 101

Notice: Undefined variable: modelID in /var/www-prod/cranehunter/script/by-mfg.php on line 63

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "" LINE 1: ...i=crm_iof1.cmi LIMIT 1) AS mcap FROM crm_iof1 WHERE (cmi='') ^' in /var/www-prod/cranehunter/db_pdo.php:18 Stack trace: #0 /var/www-prod/cranehunter/db_pdo.php(18): PDO->query('SELECT dcp,dpc,...') #1 /var/www-prod/cranehunter/db_pdo.php(48): db_query('SELECT dcp,dpc,...') #2 /var/www-prod/cranehunter/script/search.php(146): get_query_size('SELECT dcp,dpc,...') #3 /var/www-prod/cranehunter/script/by-mfg.php(66): include('/var/www-prod/c...') #4 /var/www-prod/cranehunter/index.php(77): include('/var/www-prod/c...') #5 {main} thrown in /var/www-prod/cranehunter/db_pdo.php on line 18