@gidomanders Could be a legit autoloader type issue, where in PHP is trying to load a json_encode override for the current namespace, as opposed to trying the root namespace for a built-in function. I’ve started to use Fully-Qualified roots on functions (ie. \json_encode) or (use function json_encode) to get around this.