check the code order.
make sure that the code that creates the $price_query variable is before the code that uses it.
If it is not being included, I would suspect that it is not being created before the $WADbSearch1->whereClause .= $price_query line.