Fixing unset parameters in $modx->messageQuit call