msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.

This error appears when the map variable of Openlayers has a different SRS than the wanted layer. When the SRS of the source for the layer cannot be changed, you can use:

Here is a full example of a layer: