Invalid argument supplied for foreach()

If there is more than one notification of a type (eg error), an exception is triggered