This message is generated when the input to DSolve appears to involve more than one variable.
The DSolve function in current versions of the Wolfram Language is not designed to solve general partial differential equations. Partial differential equations can be solved numerically using NDSolve.
Off[message] switches off the message; On[message] switches it on. For example: Off[DSolve::pde].