array_walk ($this->something, [$this, 'function_name'], $part_something);
Parse error: syntax error, unexpected '[' in /.../...php on line 67
This works on my local test environment, but not on the server.
Try with:
array_walk ($this->something, array($this, 'function_name'), $part_something);
Look at this https://www.php.net/manual/en/function.array-walk.php