Hot butter will cause the mixture to curdle.Mix cream cheese, cocoa, erythritol and vanilla extract with a hand mixer on low speed to prevent the cocoa from coating the kitchen.Slowly add the butter whilst the mixer is on low speed and mix for 3 minutes.Add the chopped macadamia nuts and combine.Pour the mix into the lined tin and refrigerate for 1 hour before cutting into 24 squares and enjoying.