Fix undefined payload method

Twig error thrown in admin dashboard