I\'m designing a web application that can be customized based on which retail location the end user is coming from. For example, if a user is coming from a store called Farm
I got the same error before but I don't know if this solution of mine works on your problem you need to remove the "\0" try replace it:
$cleaned = strval(str_replace("\0", "", $buttons_first));
it worked on my case.