If anyone will ever have this error: When using c++ and singleton the use of operator new is not possible.
I found the solution in this post: forum.arduino.cc/index.php
#include <stdlib.h> // for malloc and free
void* operator new(size_t size) { return malloc(size); }
void operator delete(void* ptr) { if (ptr) free(ptr); }