We derive an exact solution belonging to the Kundt class of spacetimes both with and without a cosmological constant that are minimally coupled to a free massless scalar field. We show the algebraic type of these solutions and give interpretation of the results.
Subsequently, we look for solutions additionally containing an electromagnetic field satisfying nonlinear field equations.