ERROR in query
'select name, avg(cast(weight_lb as float)) as wt, price_conventional, price_kosher, C.original_rowid as cut_rowid from beef_cuts C left join beef_cut_inventory I on cast(I.cut_name_rowid as integer)=C.original_rowid where I.current_record_p is true and C.current_record_p is true and weight_lb!='' and kosher_p='F' and display_p='T' and species='beef' group by name, price_conventional, price_kosher, cut_rowid order by name',
, file /var/www.www.lcf/private_html/wp-download.beef-cut-inventory.php, line 104

pg error:
Array ( [0] => 22P02 [1] => 7 [2] => ERROR: invalid input syntax for integer: "" )

Price List and Inventory of Beef Cuts
If you do not see the cuts you want, give us a call at 325-330-2170. Many online sites have names that are not standard, such as "minute steak". We can help you find equivalent cuts in our inventory.
Our next processing date is in mid-Oct 2021 and we expect full inventory by early Nov 2021.
Cut Name Price/lb Average Package Weight of inside-Texas inventory Packages On Hand (inside Texas) Packages On Hand (rest of USA)