Error thrown

Non-static method Tpcmem_Log::getInstance() cannot be called statically