Argument #3 ($offset) must be contained in argument #1 ($haystack)

In my Tests the value got always changed correctly and the change was visible after reload