$oNNV = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[(text(),'Noch nicht veröffentlicht')]")
the comma in text(),'Noch' is the problem , use ' = ' as u did in _WD_WaitElement
You clearly didn't read what he said:
You kept the comma in your script.
Change it to:
$oNNV = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[(text()='Noch nicht veröffentlicht')]")
And it's not a big deal that you don't know how to code in other programming languages. That's not the issue, but you asking me to code a program in a different programming language just to prove it to you that I'm not lying about my issue is ridiculous.