ReferenceError: Mautic is not defined

Issue might be solved here

Basically you need to be sure to update your Mautic using the correct zip file. Try running an update using the correct zip folder and see if that solves the mousetrap issue.