Remove out message `<success>` tag in function acoUpdate in class AclExtras. As when $this->Flash->render() in view it shows the message with tag like below `<success>Aco Update Complete</success>` Same for `<error>Plugin {0} not found or not activated.</error>` Please do not use any tag in the message