Generated when the value of the CoefficientDomain option is Polynomials[var] and var is used in the indicated expression in a position that is not part of a polynomial coefficient.
Off[message] switches off the message; On[message] switches it on. For example: Off[GroebnerBasis::pdvar2].
Examples
Basic Examples(1)
An error occurs in this example because the expressions listed in the first argument are not polynomials in the specified variable with coefficients in the specified domain.
Wolfram Language code: GroebnerBasis[{y + y ^ x, 1 - x y}, y, CoefficientDomain -> Polynomials[x]]