PETSc error while working with mixed form

To set initial conditions to a Mixed space you have to use the FunctionAssigner, Ref Usage of FunctionAssigner - #2 by dokken